Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!usc!apple!agate!ucbvax!ccfiris.aedc!c60244 From: c60244@ccfiris.aedc (Kenny McDonald) Newsgroups: comp.sys.sgi Subject: using lpr on iris Message-ID: <9101311352.AA19342@ccfiris.aedc> Date: 31 Jan 91 13:52:01 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 53 This is in reply to: -------------------------------------------------------------------------------- Can someone send me a printcap entry to drive an apple laserwriter, under the bsd style lpr system? I don't seem to be able to get any output from the box under lpr. Thanks in advance... -------------------------------------------------------------------------------- What you will have to do on the iris (since there are no BSD lpr filters) is pipe the lpr to lp by the following: In /etc/printcap: # # Copyright (c) 1983 Regents of the University of California. # All rights reserved. # # Redistribution and use in source and binary forms are permitted # provided that this notice is preserved and that due credit is given # to the University of California at Berkeley. The name of the University # may not be used to endorse or promote products derived from this # software without specific prior written permission. This software # is provided ``as is'' without express or implied warranty. # # @(#)etc.printcap 5.2 (Berkeley) 5/5/88 # postscript| a local LN03R Laser Printer:\ :lp=/dev/ttyd2:\ :sd=/usr/spool/postscript:\ :if=/usr/local/bin/lpr2lp.sh:\ :lf=/usr/adm/lpd-errs: In /usr/local/bin/lpr2lp.sh: #!/bin/sh /usr/bin/lp -dpostscript This works here, but obviously you will not get the use of the lpr options! vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv | Kenneth M. McDonald * Arnold Engineering Development Center | | MS 100 * Arnold AFS, TN 37389-9998 * (615) 454-3413 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ OO AA OO O O A A O O O O AAAA O O O O A A O O OO A A OO _______________ / vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvRETURN ADDRESS:vvvvvvvvvvvvvvvvvvvvvvvvvvvv | @aedc-vax.af.mil:c60244@ccfiris.aedc | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^