--- After this, I had to create a file /usr/spool/lpd55 chown daemon.daemon lpd55 This is all I have to get this to work. It prints out beautifully! See original question below ============================================================= 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 Systems Manager F H Faulding & Co LimitedReceived on Thu May 01 1997 - 02:07:47 NZST
This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT