OT: Linux/CUPS/stair-stepping

Jay R. Ashworth jra at baylink.com
Fri Feb 22 08:18:11 PST 2008


On Fri, Feb 22, 2008 at 11:14:23AM -0500, Kenneth Brody wrote:
> > 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.
> 
> Given that the problem is LF doesn't do CR as well, how much harm to
> "everyone else" would occur if you changed LF-->CR+LF in the printer
> itself?  Programs sending CR+LF already wouldn't be affected, as the
> result would be CR+CR+LF, which has no visible difference.  Only those
> people who want, and depend on, stair-stepping, would be affected by
> the change.  If there are any such people printing to this printer,
> they could tweak their settings.

I hadn't thought of that, but you're right, CR+CR is indeed idempotent.

Nevermind.  :-)

Cheers,
-- jra
-- 
Jay R. Ashworth                   Baylink                      jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com                     '87 e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274

	     Those who cast the vote decide nothing.
	     Those who count the vote decide everything.
	       -- (Joseph Stalin)



More information about the Filepro-list mailing list