tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: George <george () lycos ! com>
To: tru64-unix-managers
Subject: Printing text and postscript from the same print queue.
Date: Mon, 25 Nov 1996 15:56:04 +0000	[thread overview]
Message-ID: <96076341621765.tru64-unix-managers.marc@archive.invalid> (raw)

(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

                 reply	other threads:[~1996-11-25 15:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox