home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / 17893 < prev    next >
Encoding:
Internet Message Format  |  1992-12-12  |  2.4 KB

  1. Path: sparky!uunet!gatech!news.ans.net!cmcl2!adm!news
  2. From: rcmart@rw7.urc.tue.nl (Mart Mennen)
  3. Newsgroups: comp.sys.sgi
  4. Subject: BSD lpr spooling problems
  5. Message-ID: <34576@adm.brl.mil>
  6. Date: 12 Dec 92 11:06:26 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 61
  9.  
  10.  
  11. We have connected a QMS 815MR laserprinter to the builtin parallel port
  12. (/dev/plp) of a Indigo workstation, running IRIX 4.0.5F.
  13. Local printing via the SYSV lp spooling mechanism works fine for all
  14. kind of files: postscript or plain text.
  15. There are also a number of BSD-Unix based workstations, which also want to
  16. make use of this printer. So we installed the BSD lpr spooling software
  17. and setup a /etc/printcap file. Despite numerous customisations to the
  18. QMS 815 MR printcap entry, nothing got printed!
  19. We reported this to our SGI customer support people. They stated there
  20. was a problem in the BSD printspooler to local printers, attached to the
  21. parallel port.
  22. They sent us a workaround in which BSD printjobs are forwarded to the
  23. SYSV lp spooler.
  24.  
  25. The printcap entry is now setup as follows:
  26.  
  27. #
  28. # Copyright (c) 1983 Regents of the University of California.
  29. # All rights reserved.
  30. #
  31. # Redistribution and use in source and binary forms are permitted
  32. # provided that this notice is preserved and that due credit is given
  33. # to the University of California at Berkeley. The name of the University
  34. # may not be used to endorse or promote products derived from this
  35. # software without specific prior written permission. This software
  36. # is provided ``as is'' without express or implied warranty.
  37. #
  38. #    @(#)etc.printcap    5.2 (Berkeley) 5/5/88
  39. #
  40. # [ remainder of entries deleted]
  41. #
  42. # printcap entry for QMS 815MR laserprinter
  43. ps|postscript|lp|IOP QMS PS815MR laserprinter:\
  44.                :lp=/dev/null:\
  45.                :sd=/usr/spool/bsdlp:\
  46.                :of=/usr/spool/bsdlp/lp_filter:\
  47.                :lf=/usr/adm/lpd-errs:sh:
  48.  
  49.  
  50. The ouput filter /usr/spool/bsdlp/lp_filter is just a call to lp:
  51.  
  52. #!/bin/sh
  53. #
  54. #    bsdlpd to sysv lp forward filter
  55. #
  56. #
  57. /usr/bin/lp -dQMS815MR
  58.  
  59.  
  60. Now we are getting BSD printjobs printed, but sending Postscript files is
  61. still causing problems. These files are NOT interpretated as Postscript:
  62. they are printed as normal text files!?
  63.  
  64. Does anyone know how we can solve this?
  65.  
  66. --
  67. Mart Mennen, Eindhoven University of Technology
  68. Computing Centre 1.99,  +31 40 472164
  69. P.O.Box 513, 5600 MB Eindhoven, The Netherlands
  70. E-Mail: rcmart@urc.tue.nl
  71.