home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sun / admin / 6260 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  1.5 KB

  1. Path: sparky!uunet!racerx!ken
  2. From: ken@racerx.bridge.COM (Ken Hardy)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Re: I hate my /etc/printcap.
  5. Message-ID: <1155@racerx.bridge.COM>
  6. Date: 10 Sep 92 22:44:50 GMT
  7. References: <185o90INNfu@shirley.cs.widener.edu>
  8. Organization: Planet Earth
  9. Lines: 28
  10.  
  11. In article <185o90INNfu@shirley.cs.widener.edu> ware@cs.widener.edu (Mark Ware) writes:
  12. >Ive tried and tried to get my HPLJ3 to print a binary but alas, my printcap
  13. >entry is bogus.
  14. ...
  15. >attached to the sun4 serially(sp?))  Does anyone know what the proper 
  16. >printcap entry would look like.  Ive read the man pages and the admin
  17.  
  18. You've got to make sure that the serial tty interface sends 8 bits out
  19. the port, and make sure it's not doing any lf->cr/lf conversion or tab
  20. expansion; you'll have those lf and tab bytes strewn about your binary
  21. data, and the interface better not be mucking about with it.
  22.  
  23. I believe you need to _not_ set bits 6030 in and fs# entry, or
  24. explicitly set them off with fc#6030.  Easier to understand is '-opost'
  25. in an ms= entry, which does the same thing, and you can actually
  26. comprehend its meaning from looking at it.  Maybe throw in a 'cs8'
  27. as well for good measure.
  28.  
  29. Those are the problem I've encountered with serial HP printers.
  30. Oh, and make sure any if= filter isn't playing with the data.  If you're
  31. depending on the tty interface to do tab expansion and lf conversion for
  32. you, you should try two different printcap entries for the same device,
  33. one for text, and one for binary images.
  34.  
  35. -- 
  36.  
  37. Ken Hardy
  38. ken@bridge.com  (racerx!ken)
  39.