tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* FW: Landscape
@ 1997-04-15  0:24 Blom, Wayne
  0 siblings, 0 replies; only message in thread
From: Blom, Wayne @ 1997-04-15  0:24 UTC (permalink / raw)
  To: tru64-unix-managers


I have a question relating to printing landscape on UNIX.
I tried to add an entry to the /etc/printcap to act as a filter.
--------------------------------------snip-----------------------------  
---------------------
#
# Filter to print landscape-in IS-on IS2
#
lp55|55|pass-through entry:\
        :lp=/dev/null:\
        :mx#0:\
of=/usr/lbin/passtolp2:\
sd=/usr/spool/lpd55:
----------------------------------------snip---------------------------  
-----------------------
This is supposed correspond to this entry below which is also 
contained in the /etc/printcap.
------------------------Snip
2|lp1|hp4mp1|is2|lp2|p-usnj2:\
        :if=/usr/lbin/hplaserof:\
        :lf=/usr/adm/lp2err:\
        :lp=:\
        :of=/usr/lbin/hplaserof:\
        :pl#60:\
        :pw#132:\
        :rm=p-usnj2:\
        :rp=text:\
        :sd=/usr/spool/lpd2:

---------------snip-------------------------------
I also added this file in the /usr/lbin/passtolp2 in the appropriat 
directory.
$ more passtolp2
#!/bin/csh -f
/bin/cat | /usr/lbin/hplaserof -w132 | lpr -Pis2
----------------------snip---------------------------------------------  
---

As far as I know what is supposed to happen is, when I type $lpr -P55 
filename
at the command prompt, I should be able to print landscape to the IS2 
printer in our office.  However, it does not work.  Actually, nothing 
at all comes out of the printer.
Can you advise please?
Wayne Blom
F H Faulding & Co Limited

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

only message in thread, other threads:[~1997-04-15  0:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-15  0:24 FW: Landscape Blom, Wayne

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