home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / misc / 3959 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.6 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!rwthi3!peter
  2. From: peter@rwthi3.informatik.rwth-aachen.de (Peter Heimann)
  3. Newsgroups: comp.sys.sun.misc
  4. Subject: Re: QMS drivers / printcaps.
  5. Message-ID: <peter.714924402@rwthi3>
  6. Date: 27 Aug 92 14:06:42 GMT
  7. References: <1992Aug26.212546.2499@nt.com> <1992Aug26.213502.2705@nt.com>
  8. Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
  9. Organization: Informatik III, RWTH Aachen
  10. Lines: 34
  11. Nntp-Posting-Host: martha
  12.  
  13. In <1992Aug26.213502.2705@nt.com> galpmn01@ngals011.bnr.ca (peter mcnally) writes:
  14.  
  15. > On a similar subject, I connected an Apple Laserwriter to a Sparc
  16. > recently. It works but is very slow. Is the reason the "psif" filter I'm
  17. > using? or the 9600 baud rate been too slow for postscript? If the latter
  18. > be true, then there nothing to be done, as although the laserwriter manual
  19. > says the rs232 can be set faster than 9600 in software, theres no means from
  20. > unix to do so!  
  21. Of course there is a means. Use lpr to send the following postscript file to 
  22. the printer, then change br#9600 to br#38400 in your /etc/printcap, and kill
  23. and restart lpd.
  24.  
  25.     %!
  26.     % changes LaserWriter serial parameters to 
  27.     % 8 data bits, 1 stop bit, 38400 baud, parity space, XON/XOFF
  28.     %
  29.     % necessary switch positions for NTX: 1 up, 2 down, 3-6 up
  30.     
  31.     serverdict begin
  32.     statusdict begin
  33.     0 checkpassword
  34.        {0 exitserver}
  35.        {(Incorrect Server Password!!)= flush}
  36.     ifelse
  37.     statusdict begin 25 sccbatch 
  38.     % if new=old, dont change
  39.     64 eq exch 38400 eq and {stop} if
  40.     25 38400 64 setsccbatch
  41.  
  42. -- Peter Heimann
  43.  
  44. Lehrstuhl fuer Informatik III        peter@rwthi3.informatik.rwth-aachen.de
  45. RWTH Aachen
  46.