* Printer Filter
@ 1996-03-18 21:33 qu
0 siblings, 0 replies; 3+ messages in thread
From: qu @ 1996-03-18 21:33 UTC (permalink / raw)
To: tru64-unix-managers
Hi,
Our DEC 3000/400 running OSF1 3.2 is used as the printer
server of the subnet. The subnet includes various UNIX systems.
All print jobs are sent to a virtual printer on this host. The
virtual printer is actually a filter that converts ascii files into
postscript and passes postscript files unchanged. The output of this
virtual printer goes to a physical printer HP Laser-jet 4 M Plus
on the subnet.
The filter we use is /usr/lbin/ln03rof.
Currently, we do not have any banner page. This results in frequent pile-up
of some unclaimed printout.
I tried to turn the banner page on. It worked fine for ascii
files. But for a postscript file, the filter sees the banner page
first before '%! so it thinks this is an ascii file. The output of
a postscript file turned out to be a banner page plus pages of ascii
characters.
I do not have any documents about the system. I wonder where I should
look into or look for help?
Is there a better filter that can recognize the banner page?
Thanks in advance.
Jane Qu
qu@madrad.radiology.wisc.edu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Printer Filter
@ 1996-03-19 16:58 qu
0 siblings, 0 replies; 3+ messages in thread
From: qu @ 1996-03-19 16:58 UTC (permalink / raw)
To: tru64-unix-managers
Hi,
Our DEC 3000/400 running OSF1 3.2 is used as the printer
server of the subnet. The subnet includes various UNIX systems.
All print jobs are sent to a filter on this host. The filter
converts ascii files into postscript and passes postscript files unchanged.
The output of this virtual printer goes to a physical printer HP
Laser-jet 4 M Plus on the subnet.
The content of the filter file is:
#!/bin/sh
(cat - | /usr/lbin/ln03rof 2> /dev/null) |lpr -Praw
The entries of the filter and the HP Laser-jet in printcap are:
lp|lp0|0|lp0|hplj4:\
:lf=/usr/adm/lperr:\
:ff=NULL:\
:mx#0:\
:of=/usr/lbin/printfilter:\
:sh:\
:sf:\
:lp=/dev/null:\
:rw:\
:sd=/usr/spool/lpd:
raw|hp0|hplj4raw:\
:af=/usr/adm/lpacct:\
:if=/usr/lbin/hplaserpsof:\
:lf=/usr/adm/lperr:\
:mx#0:\
:of=/usr/lbin/hplaserpsof:\
:pl#66:\
:pw#80:\
:rm=hplj4:\
:rp=raw:\
:rw:\
:sd=/usr/spool/raw:\
:xf=/usr/lbin/hplaserpsof:
Currently, we do not have any banner page. This results in frequent pile-up
of some unclaimed printout.
I tried to turn the banner page on. It worked fine for ascii
files. But for a postscript file, the filter sees the banner page
first before '%! so it thinks this is an ascii file. The output of
a postscript file turned out to be a banner page plus pages of ascii
characters.
I do not have any documents about the system. I wonder where I should
look into or look for help?
Is there a better filter that can recognize the banner page?
Thanks in advance.
Jane Qu
qu@madrad.radiology.wisc.edu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Printer Filter
@ 1996-04-26 21:25 qu
0 siblings, 0 replies; 3+ messages in thread
From: qu @ 1996-04-26 21:25 UTC (permalink / raw)
To: tru64-unix-managers
Sorry for the late summary.
Thanks to the following who kindly spent time to respond to my question:
Gernot M. Fuchs
David Gadbois
Zhenya Gurvich
Richard L. Eisenman
joe@resptk.bhp.com
David M. Walters
Johannes Grosen
Wandfluh Roland
Ray Bellis
Robert J. Budden
Rudi Boerner
Andy Ram
The summary is:
Most suggested to get a text to PostScript converter or write your own
script wrap.
My solution is:
Move the printer server to a sun sparc 20 and have JetAdmin(available from
HP web site) installed on that host.
My original question is:
> Hi,
>
> Our DEC 3000/400 running OSF1 3.2 is used as the printer
> server of the subnet. The subnet includes various UNIX systems.
> All print jobs are sent to a filter on this host. The filter
> converts ascii files into postscript and passes postscript files unchanged.
> The output of this virtual printer goes to a physical printer HP
> Laser-jet 4 M Plus on the subnet.
>
> The content of the filter file is:
>
> #!/bin/sh
> (cat - | /usr/lbin/ln03rof 2> /dev/null) |lpr -Praw
>
> The entries of the filter and the HP Laser-jet in printcap are:
>
> lp|lp0|0|lp0|hplj4:\
> :lf=/usr/adm/lperr:\
> :ff=NULL:\
> :mx#0:\
> :of=/usr/lbin/printfilter:\
> :sh:\
> :sf:\
> :lp=/dev/null:\
> :rw:\
> :sd=/usr/spool/lpd:
>
> raw|hp0|hplj4raw:\
> :af=/usr/adm/lpacct:\
> :if=/usr/lbin/hplaserpsof:\
> :lf=/usr/adm/lperr:\
> :mx#0:\
> :of=/usr/lbin/hplaserpsof:\
> :pl#66:\
> :pw#80:\
> :rm=hplj4:\
> :rp=raw:\
> :rw:\
> :sd=/usr/spool/raw:\
> :xf=/usr/lbin/hplaserpsof:
>
>
> Currently, we do not have any banner page. This results in frequent pile-up
> of some unclaimed printout.
>
> I tried to turn the banner page on. It worked fine for ascii
> files. But for a postscript file, the filter sees the banner page
> first before '%! so it thinks this is an ascii file. The output of
> a postscript file turned out to be a banner page plus pages of ascii
> characters.
>
> I do not have any documents about the system. I wonder where I should
> look into or look for help?
>
> Is there a better filter that can recognize the banner page?
>
> Thanks in advance.
>
> Jane Qu
> qu@madrad.radiology.wisc.edu
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-04-26 21:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-19 16:58 Printer Filter qu
-- strict thread matches above, loose matches on Subject: below --
1996-04-26 21:25 qu
1996-03-18 21:33 qu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox