Printing text and postscript from the same print queue.

From: George <george_at_lycos.com>
Date: Mon, 25 Nov 96 10:56:04 -0500

(Note: Please respond directly to me as I am no longer a member of the
mailing list.)
System: AlphaStation 200 4/166
OS: Digital Unix 3.2G
Printer: Digital LN17PS

Can anyone out there give me the magical incantation to allow the printing of
both text and postscript files from the same print queue? I am able to print
text to a text queue and postscript to a postscript queue, but I cannot get
both from the same queue.

My /etc/printcap file is:
# ** |text| entry maintained by Digital Equipment Installation Program **
# server type =DNIC-ENet
# printer interface type =psio
# server physical port number =1
# printer emulation =Text
text|text|Digital Equipment network printer on port 1:\
        :lp=:\
        :rm=text:\
        :rp=TEXT:\
        :mx#0:\
        :pw#0:\
        :lf=/usr/spool/lpd/text/errorlog:\
        :sd=/usr/spool/lpd/text:\
        :dec_n=206.101.97.41:\
        :dec_p=515:
# ** |bass| entry maintained by Digital Equipment Installation Program **
# server type =DNIC-ENet
# printer interface type =psio
# server physical port number =1
# printer emulation =PS
bass|bass|Digital Equipment network printer on port 1:\
        :lp=:\
        :rm=bass:\
        :rp=PASSTHRU:\
        :mx#0:\
        :pw#0:\
        :lf=/usr/spool/lpd/bass/errorlog:\
        :if=/usr/local/bin/textps.csh:\
        :sd=/usr/spool/lpd/bass:\
        :dec_n=206.101.97.41:\
        :dec_p=515:
The script for the input filter is:
#!/bin/csh
# Name: textps.csh
/usr/local/bin/textps $*

textps when called directly will take a text file and put a postscript
wrapper around it which will print just fine. However, when I try to call it
up via the script file that I use as an itput filter, the file is still sent
as text to the printer. Anyone out there know how to make this work?

        Thanks in advance
        George Cebulka
        Senior Systems Administrator
        Lycos, Inc.


------- End of Forwarded Message
Received on Mon Nov 25 1996 - 17:28:59 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT