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