SUmmary: print Word documets from a SUNOS printer server

From: judyh@nikko.com
Date: Mon Jul 22 1996 - 16:41:21 CDT


I got 5 responses within one week.

It seems right that I cannot print out MS stuff in PostScript.

**** From: Kevin.Sheehan@uniq.com.au (Kevin Sheehan {Consulting Poster Child})
With something that understand MSWord documents - and that's pretty
much MicroSoft as I understand it. I'm not sure, but can you print
out MS stuff in PostScript?

*** From: "Plesha, Tom A." <tplesha@seacosd.navy.mil>
Try adding "-l o" to your lpr command on your NT station.

*** From: "John Nield" <nield@cybercom.net>
I recently had a similar problem trying to print to an HP LJ IID
(non-postscript) using PCNFS.

Even if your IIID is postscript, I believe the

:ms=raw,onlcr,ixon:\

setting in the printcap entry should help. As the responses say, you
will want a different printcap entry for printing from the sun and
printing from the PC. (I'm assuming you're printing through the lpd
daemon somehow)

You should be able to send raw output from the NT/Win95/Win3.1
printer driver to the IIID this way.

Also check out the printcap(5) man page entry.

*** Fedor Gnuchev <qwe@ht.eimb.rssi.ru>
Hi, quick-n-dirty solution is like following :

> How can I print Microsoft Word formatted files to that serial printer?
On SunOs create a fake printer like lp-kiss in /etc/printcap
with if entry like
        :lp=/dev/XXXX:sh:sd=/var/spool/lpd/ntprn:lf=/var/log/lpd-errs:\
        :if=/usr/local/libexec/kiss

 change XXXX for your actual printer device.

/usr/local/libexec/kiss :
#!/bin/sh
#
# Simple text input filter for lpd
# Installed in /usr/local/libexec/kiss
#
# Simply copies stdin to stdout. Ignores all filter arguments.
/bin/cat && exit 0
exit 2

*** From: "Yaron Hemi, Trendline LTD." <yaron@trendline.co.il>
This is a bit of a roundabout way, but it's better than nothing. I
occasionally have to print word docs I make at home on my linux-box by
sending them to the NT's printserver which forwards them to the Novell
gateway and then prints them out on an HP4+ (which doesn't speak
Postscript). if it works through all THAT, it'll work thorugh ANYTHING.

What I do is setup Windows for the correct printer type (ie, the HPIIID),
then tell it to print to file, and then just dump the file into the
printer.

Please note this is NOT an admition that I actually use Windows or enjoy
it (:

-Judy

----- Begin Included Message -----

>From sun-managers-relay@ra.mcs.anl.gov Fri Jul 19 14:16:24 1996
>From: judyh@nikko.com
Date: Fri, 19 Jul 1996 11:55:32 -0400
To: sun-managers@ra.mcs.anl.gov
Subject: print Word documets from a SUNOS printer server

I have a HPIIID printer connecting to a SUNOS serial port. And I can print ascii files from a NT station using TCP/IP port.

How can I print Microsoft Word formatted files to that serial printer?

thanks a lot!

-Judy Huang

----- End Included Message -----



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:05 CDT