tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Blom, Wayne" <wayne.blom () faulding ! com ! au>
To: tru64-unix-managers
Subject: FW: Landscape
Date: Tue, 15 Apr 1997 00:24:51 +0000	[thread overview]
Message-ID: <96078611110420.tru64-unix-managers.marc@archive.invalid> (raw)


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

                 reply	other threads:[~1997-04-15  0:24 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