[Ubuntu Wiki] Update of "DebuggingPrintingProblems" by till-kamppeter

Ubuntu Wiki noreply at ubuntu.com
Tue Apr 9 09:59:39 UTC 2013


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ubuntu Wiki" for change notification.

The "DebuggingPrintingProblems" page has been changed by till-kamppeter:
http://wiki.ubuntu.com/DebuggingPrintingProblems?action=diff&rev1=81&rev2=82

  
  = Sending a file to the printer unfiltered =
  
- If you print a file from an application or to 
+ If you print a file from an application or via the "lp" or "lpr" commands, the data usually goes through several filters to convert it into a format which the printer understands and to apply page management options, like 2 pages per sheet, only page 1, 3, and 9, ... to it. For debugging it can be useful to bypass all these filters and let the data go directly to the printer, without any changes or conversions.
+ 
+ Do not send arbitrary files unfiltered to the printer now hoping that will solve any problems. Please use this mainly if you are asked for doing so in bug reports or after asking a support question.
+ 
+ In most cases you will have to print the data obtained from the section "Getting the data which would go to the printer" this way, often after editing it.
+ 
+  1. Independent how your printer is connected, you can print unfiltered by using the "lp" or "lpr" commands with the "-oraw" argument: <<BR>> {{{$ lp -d <printer> -oraw <file>}}} <<BR>> {{{$ lpr -P <printer> -oraw <file>}}} <<BR>> Replace <printer> by the name of your print queue and <file> by the name of the file you want to print. This does not work around bugs in CUPS backends (the modules which CUPS uses to communicate with printer hardware), see the next steps for such cases.
+  2. If the printer id connected via USB or parallel port, you can send the job directly to the printer's device file: <<BR>> {{{$ sudo -s}}} <<BR>> {{{# cat file > /dev/lp0}}} <<BR>> {{{# cat file > /dev/usb/lp0}}} <<BR>> {{{# cat file > /dev/usb/lp1}}} <<BR>> {{{# exit}}} <<BR>> The numbers in the device file names can vary.
+  3. If the printer is connected via the network (both ethernet or WLAN), you can use  
  
  = PostScript (PDF) printer chokes on the PostScript (PDF) coming from Ubuntu =
  



More information about the Ubuntu-bugsquad mailing list