User Tools

Site Tools


doc:howto:p910nd.server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:howto:p910nd.server [2013/01/02 11:39]
th69
doc:howto:p910nd.server [2014/02/24 10:20] (current)
blair.bonnett
Line 29: Line 29:
 printer.c: usblp1: USB Bidirectional printer ​ 3 if 0 alt 0 proto 2 vid 0x04A9 pid 0x1094</​code>​ printer.c: usblp1: USB Bidirectional printer ​ 3 if 0 alt 0 proto 2 vid 0x04A9 pid 0x1094</​code>​
  
-On older versions the device /​dev/​usb/​usblp0 is created. More recent versions create the normal /dev/lp0 device, even for usb printers.+On older versions the device /​dev/​usb/​usblp0 is created. More recent versions create the normal /dev/lp0 device, even for usb printers. (Attitude Adjustment 12.09 actually creates /​dev/​usb/​lp0).
  
 **''​TIP:''​** p910nd is reported as working with some noname USB-to-Parport adapter/​converter as well **''​TIP:''​** p910nd is reported as working with some noname USB-to-Parport adapter/​converter as well
Line 208: Line 208:
  
   * Enter something into the information fields and press continue.   * Enter something into the information fields and press continue.
-  * Select "Internet Printing Protocol (IPP)" and press continue. +  * Select "AppSocket/​HP JetDirect" and press continue. 
-  * Write "​socket:​%%//​%%:"​. Here you have to fill in the appropriate info in the <> fields. Press continue.+  * Write "​socket:​%%//​%%<<​IP>>​:<<​port>>​". Here you have to fill in the appropriate info in the <<>> fields. Press continue.
   * Select the appropriate manufacturer and press continue.   * Select the appropriate manufacturer and press continue.
   * Select the appropriate printer and press continue.   * Select the appropriate printer and press continue.
Line 283: Line 283:
   * Problem : the printer status shows "​Attempting to connect to socket:​%%//​%%:"​ in the client CUPS interface (http:​%%//​%%localhost:​631) and nothing works   * Problem : the printer status shows "​Attempting to connect to socket:​%%//​%%:"​ in the client CUPS interface (http:​%%//​%%localhost:​631) and nothing works
   * Solution : make sure you installed both USB 1.1 and USB 2.0 modules   * Solution : make sure you installed both USB 1.1 and USB 2.0 modules
 +
 +  * Problem : the printer doesn'​t print anything or needs tens of minutes before starting to print
 +  * Solution : make sure that there is enough free disk space on your OpenWRT device such that the printing jobs can be stored temporarily
  
   * Problem: Canon printer stops printing after 80-90% of the page and holds paper   * Problem: Canon printer stops printing after 80-90% of the page and holds paper
   * Solution: turn off bidirectional mode   * Solution: turn off bidirectional mode
 +
   * Problem: Samsung printer scx-4200 series print only error messages under  windows XP /7   * Problem: Samsung printer scx-4200 series print only error messages under  windows XP /7
   * Solution: turn  Enable advanced printing features on the Advanced tab of the printer properties in windows. Solution was find [[https://​sites.google.com/​site/​wl520gu/​|here ]]   * Solution: turn  Enable advanced printing features on the Advanced tab of the printer properties in windows. Solution was find [[https://​sites.google.com/​site/​wl520gu/​|here ]]
 +
  
 ==== Not supported printers ==== ==== Not supported printers ====
Line 296: Line 301:
 Reported printers that are only working properly in unidirectional mode: Reported printers that are only working properly in unidirectional mode:
 - Canon Pixma iP3000 - Canon Pixma iP3000
 +- Canon Pixma iP3500
 - Canon Pixma iP4000 - Canon Pixma iP4000
 - Canon Pixma iP4200 - Canon Pixma iP4200
Line 392: Line 398:
  
 Finally you need to create a script that uploads the firmware to your printer after you've plugged it in. Finally you need to create a script that uploads the firmware to your printer after you've plugged it in.
 +
 +For a quick test, you could just use netcat for loading the firmware manually to the printer (from the client computer, via the router with p910nd established).
 +Enter the following command on the client computer:
 +<​code>​
 +nc -q2 192.168.2.99 9100 < /​usr/​share/​foo2zjs/​firmware/​sihp1020.dl
 +</​code>​
 +(the above IP-address has to be replaced with your router address and the path to your correct firmware file needs to be adapted as well)
 +
 +Another possibility,​ with the network printer already set up with cups as default printer (replace firmware file path according to your situation):
 +<​code>​
 +lp -o raw /​usr/​share/​foo2zjs/​firmware/​sihp1020.dl
 +</​code>​
 +After successfully loading the firmware with one of the above commands printing should work as well (until next power-down of your printer). You can decide to do this always manually one time before sending the first print job after powering up the printer or to configure the mentioned script for automatic firmware upload as following:
  
 Create a new file ''/​etc/​hotplug.d/​usb/​20-hplj1020'':​ Create a new file ''/​etc/​hotplug.d/​usb/​20-hplj1020'':​
doc/howto/p910nd.server.1357123178.txt.bz2 · Last modified: 2013/01/02 11:39 by th69