Differences

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

doc:howto:p910nd.server [2012/10/28 20:08]
mitja
doc:howto:p910nd.server [2014/02/24 10:20] (current)
blair.bonnett
Line 28: Line 28:
hub.c: new USB ice 01:02.0-1, assigned address 3 hub.c: new USB ice 01:02.0-1, assigned address 3
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. (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 206: 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 282: Line 284:
  * 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: Canon printer stops printing after 80-90% of the site and holds paper+  * 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
  * 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 294: 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
- Canon Pixma iP4500 - Canon Pixma iP4500
 +- Canon Pixma iP4700
- Canon MP250 - Canon MP250
- Canon MP600 (Uses the ehci-hcd module (USB 2.0)) - Canon MP600 (Uses the ehci-hcd module (USB 2.0))
Line 315: Line 324:
To run HP LaserJet 1005/1018/1020/1022 on OpenWrt Backfire 10.03.1-RC5 do: To run HP LaserJet 1005/1018/1020/1022 on OpenWrt Backfire 10.03.1-RC5 do:
-First install the foo2zjs drivers from http://foo2zjs.rkkda.com/ on your router.+ 
 +__Preparations on client computer:__ 
 + 
 +First install the foo2zjs drivers from http://foo2zjs.rkkda.com/ on your client computer (in case of a linux client).
The instructions are taken from http://foo2zjs.rkkda.com/. The instructions are taken from http://foo2zjs.rkkda.com/.
Line 355: Line 367:
(Optional) Configure hotplug (USB; HP LJ 1000/1005/1018/1020): (Optional) Configure hotplug (USB; HP LJ 1000/1005/1018/1020):
 +
 +Hint: The hotplug script is used to transfer the printer firmware file (for example 'sihp1020.dl') to the printer. If you don't use the printer directly plugged in into the client computer but only via your router box with p910nd, then this hotplug installation is not needed here (see below, behind section 'Preparations on router:' - hotplug will be configured in the router device).
<code> <code>
# make install-hotplug      OR      $ sudo make install-hotplug # make install-hotplug      OR      $ sudo make install-hotplug
Line 363: Line 377:
# make cups                OR      $ sudo make cups # make cups                OR      $ sudo make cups
</code> </code>
 +
 +
 +__Preparations on router:__
Next you need to transfer ''sihp1020.dl'' to your Asus box. Next you need to transfer ''sihp1020.dl'' to your Asus box.
Line 381: 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'':

Back to top

doc/howto/p910nd.server.1351451287.txt.bz2 · Last modified: 2012/10/28 20:08 by mitja