Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Adding DVI printer filter to LPSBASE500 setup
@ 1996-07-01  4:00 Gregory Neil Shapiro
  0 siblings, 0 replies; only message in thread
From: Gregory Neil Shapiro @ 1996-07-01  4:00 UTC (permalink / raw)



We are using PrintServer Software for OSF/1 AXP LPSBASE500 to print to our
DEC PrintServer 17 printer.  The software created the following printcap file:

lps17|lps17 (PrintServer lps17):\
        :lp=/dev/null-lps17:\
        :sd=/var/spool/lps17:\
        :of=/usr/opt/LPS/bin/OSF1_V1.3/lpsof:\
        :if=/usr/opt/LPS/bin/OSF1_V1.3/lpsif:\
        :lf=/var/adm/lps17.log:\
        :pl#66:pw#80:mx#0:sb:

We need to add a DVI print filter (df) to the printcap file in order to
convert DVI files to PostScript for the printer.  We have done this in the
past when the printer was connected via an Ultrix host.

We added:

        :df=/usr/local/bin/lps20_TeXdvi:\

lps20_TeXdvi simply sends stdin to dvips which sends PostScript through
stdout.

Unfortunately, lpsof (the output filter) doesn't like this:

lpsof   Jun 28 14:35:21:  Session started for Job 0 (root@wpi.WPI.EDU), lps17 job number is 327
lpsof   Jun 28 14:35:21:  New queue status: lps17: printing Job 0 (file #0) for root@wpi.WPI.EDU to PrintServer "lps17" (lps17)
lpsof   Jun 28 14:35:21:  Starting file #1 in Job 0 for root@wpi.WPI.EDU
lpsof   Jun 28 14:35:21:  New queue status: lps17: printing Job 0 (file #1) for root@wpi.WPI.EDU to PrintServer "lps17" (lps17)
<<
This is dvipsk 5.58f Copyright 1986, 1994 Radical Eye Software
' TeX output 1996.06.28:1132' -> 
<tex.pro>. [1] 
>>
Filter 'd' terminated (sig=-1,err=0)
lpsof   Jun 28 14:35:23:  Failure to open lpsif pid file(/var/spool/lps17/.lpsifpid): Bad file number
lpsof   Jun 28 14:35:25:  CRITICAL FAILURE in contacting lpsif filter
lpsof   Jun 28 14:35:25:  Terminating current print session with lps17
lpsof   Jun 28 14:35:25:  Attempt to signal lpsif filter when pid not set!
lpsof   Jun 28 14:35:25:  Aborting file #1 in Session for root@wpi.WPI.EDU
lpsof   Jun 28 14:35:25:  Attempt to signal lpsif filter when pid not set!
lpsof   Jun 28 14:35:25:  Unexpected PAP error encountered: Connection not open to server
lpsof   Jun 28 14:35:25:  Inconsistency in EndDocument()
lpsof   Jun 28 14:35:25:  INTERNAL ERROR DETECTED...send SIGINT to process 21784 to exit...
lpsof   Jun 28 14:35:25:  New queue status: FAILURE in print filters...please contact the system manager!

As you can see lpsof tries to open an lpsif pid file
(/var/spool/lps17/.lpsifpid).  Since the print job was submitted with "lpr
-d", the df print filter is used, not the if print filter (lpsif). 

What is the proper way to add a DVI print filter?



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-07-01  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-01  4:00 Adding DVI printer filter to LPSBASE500 setup Gregory Neil Shapiro

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