From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078611110420.tru64-unix-managers.marc@archive.invalid> From: "Blom, Wayne" Date: Tue, 15 Apr 1997 00:24:51 +0000 To: tru64-unix-managers Subject: FW: Landscape X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078611110420 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