[cups.general] Sending PCL5 commands

Ambrose Li ambrose.li at gmail.com
Thu Feb 1 10:10:32 PST 2007


On 01/02/07, George Stroh <strohg at owc.edu> wrote:
> I need help duplicating our current mainframe printing system using CUPS. We send a plain text file along with PCL5 formatting commands to a printer. How can we do this with CUPS?

Unlike lpd, CUPS considers such files raw and not plain text. So
normally you would use
"lpr -l" or "lp -o raw"

That means if your files really are plain text interspersed with PCL
commands (by which I mean they use Unix linefeeds), you might need to
add extra PCL commands to turn on auto carriage returns, or change the
app to output DOS-style linefeeds.

-- 
cheers,
-ambrose





More information about the cups mailing list