The printing environment of Ubuntu (and generally all Linux
distributions) is designed to make desktop applications print correctly
on all suitable printers. The applications usually send the data in
PostScript or PDF and the standard printer driver are made to convert
these formats to the printer's native language.

Printer-ready PCL should print with the "-oraw" option. I do not know
why it does not work in your case. The generic text-only printer uses
the /usr/lib/cups/filter/textonly filter as its only filter. This filter
converts LF to CRLF and allows printing of selected pages. Probably your
PCL files have the Unix-style LF-only line breaks whereas correct PCL
files need dossy line breaks (CRLF).

You could try the following: Edit the PPD file of your print queue,
adding the line

*cupsFilter:    "text/plain 0 textonly"

right after the already existing "*cupsFilter:" line and

*OpenUI *SendFF: Boolean
*DefaultSendFF: False
*SendFF True/True:        ""
*SendFF False/False:   ""
*CloseUI: *SendFF

after the last "*CloseUI:" line in the file. Then restart CUPS,
depending on your distribution version with

sudo restart cups

or

sudo /etc/init.d/cups restart

After that your print queue should print from applications normally and
if you send a text file directly to CUPS with "lpr" or "lp" it gets
treated like with the Generic Text-only printer.

Please tell whether this works.


** Changed in: hplip (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/770343

Title:
   HP printer driver does not provide a "textonly" option.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to