OT: Linux/CUPS/stair-stepping

Jim Asman jlasman at telus.net
Thu Feb 21 09:41:27 PST 2008


--------------- Original Message ---------------
At 12:13P Thu Feb 21 2008, Jay R. Ashworth wrote:

> On Thu, Feb 21, 2008 at 11:59:45AM -0500, Kenneth Brody wrote:
> > Quoting Jay R. Ashworth (Thu, 21 Feb 2008 11:45:15 -0500):
> > >I'm trying to print out a diff of some input tables, so I can take it
> > >with me to lunch (how's *that* for tying something to filepro? :-), and
> > >I've just configured the LJ1100 on my Windows server to be printable to
> > >from my laptop, running SuSE 10.2 and CUPS.  I put it in unfiltered
> > >mode, since that's what one usually does when feeding filePro to CUPS
> > >and I'm having the problem I usually do:
> > >
> > >printing straight from the lp command staircases: there are no CRs with
> > >the LFs.  filePro does those itself, if you tell it to, but when
> > >googling through several sets of search results, I find lots of
> > >people asking, and no one answering.
> > >
> > >Does anyone here know what the hot setup is for allowing text files to
> > >lp correctly to a PCL printer, and still letting filePro itself print
> > >properly?
> > 
> > There's probably a PCL command to turn on auto-CR, and I suspect that Jim
> > Asman will post one if it exists.
> > 
> > If you're not including any binary data in your output stream, it may also
> > be possible to use stty to set the "onlcr" bit, which says "convert NL to
> > CR-LF".
> 
> The printer is physically attached to a Windows 2000 server, where I
> don't think I have stty.  :-)
> 
> And while I can possibly modify the printer's internal environment, I
> will likely then be screwing it up for everyone who isn't me. 

Jay,

It sounds as though you are using a "raw" interface. You need to
install a text printer in "cooked" mode which will typically inject
the <esc>&k2G PCL command at the head of the print stream.



Jim 
--
jlasman at telus.net                      Spectra Colour Services Ltd.
Jim Asman                              10221 144a Street            
Phone: (604)584-0977                   Surrey, BC  V3R 3P7   CANADA            
 Cell: (604)619-0977                   www.spectracolorservices.com



More information about the Filepro-list mailing list