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

Ubuntu Wiki noreply at ubuntu.com
Tue Apr 9 11:07:56 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=82&rev2=83

  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.
+  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 (sse also sections "USB Printer" and "Parallel printer" above).
-  3. If the printer is connected via the network (both ethernet or WLAN), you can use  
+  3. If the printer is connected via the network (both ethernet or WLAN), you can use "nc" ("netcat", part of the netcat-openbsd and netcat-traditional packages, install one of them if needed) to send unfiltered data: <<BR>>{{{$ nc -w1 <printer> 9100 < <file>}}}<<BR>> Replace <printer> by the host name or IP address of your printer and <file> by the name of the file you want to send. If the printer refuses the job, check in the printer's web configuration interface whether JetDirect/AppSocket/9100 printing is enabled (see also the section "Network printer" above.
  
  = PostScript (PDF) printer chokes on the PostScript (PDF) coming from Ubuntu =
  



More information about the Ubuntu-bugsquad mailing list