Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!texsun!Athena!MIS1!tim From: tim@.UUCP (Tim Dawson) Newsgroups: comp.unix.programmer Subject: Re: Raw mode on lp - Help! Message-ID: Date: 15 Oct 90 21:08:40 GMT References: <756@demott.COM> Sender: usenet@Athena.UUCP Lines: 28 kdq@demott.COM (Kevin D. Quitt) writes: > I need to dump out a file to the printer, which file contains >characters that have the high bit set (for graphics). I'm running on a >Motorola Delta 3600, SYSV R3V5.1. Why doesn't the following work? ... > lp = open( "/dev/lp147", O_WRONLY, 0600 ); ... Well, I hate to tell you this, but this device has been given a number of "Features" that may make this impossible such as: 1) A maximum page width of something like 128 columns 2) Form Feed after a page 3) As I recall, the driver also will only pass 7 bit characters, and then only those which are eprintable or are recognized controls. I short, they attempted to implement some desireable features in the driver instead of in lp where they belong. There is a workaround for the column width problem, and maybe for the form feed, but the last time I pursued this, running graphic character codes out this device is still very painful if not impossible. -- ================================================================================ Tim Dawson (...!texsun!Athena!MIS1!tim) Motorola Computer Systems, Dallas, TX. "God gave me a brain and I give Him the glory by using it!"