New house, new services, new equipment, new set up… new headaches! Unlike where I lived before, now I've had the opportunity to have the printer directly connected to the router — so computers can now print through the WiFi network. The router is a Thomson TG784n (the one's MEO now provides) and the printer is an HP Laserjet Professional p1102. Here is a fast howto summing up what I went through, with the specifics I had to deal with on both operating systems. Most of it will apply to other printers and similar Thomson Speedtouch routers.
Router configuration
First you have to set up the router's print server. The Thomson TG784n does not have an option to deal with this through the graphical administration interface. You will have to use telnet for this:
cmd, press Enter, and then, on the console, type telnet 192.168.1.254 If from a Linux client, just throw a terminal and type telnet 192.168.1.254When asked for a username and password, you'll have to know what they are. If you got your router from MEO recently and have no idea, try Administrator for a username and 3!play for a password.
Now you'll have to type the following commands (one at a time, followed by the Enter key):
printersharing LPD queue add name=TG784printer type=raw default=yes(this is to create the printing queue; the name is at your taste, but be sure to point down what name you gave)
printersharing LPD config state=enabled saveall (thanks Alberto Silvafor the tip)And you're done with router configurations, now let us configure the client computers.
Windows
With this sort of set up, you still need to install the printer's drivers on each client PC. One way to do it is to connect the printer to the PC and go through the normal installation process; another way is to download the most recent driver from HP's website.
After that, go to Control Panel and find the option to add a new printer. Unintuitively, you'll have to choose the Local Printer option and hit Next. Now, select Create a New Port, Add LPR port, and enter the following information:
After saving this configuration (advice: add something distinctive to the printer's name, such as (router)), you should go to the newly created printer's properties, "Port" tab, and disable bidirectional support. With this enabled, I would have p1102 printing the same job over and over again (which wasn't being removed from the printing queue after being completed).
Linux
Sadly, to take full advantage of this printer on the Thomson TG748n you will still have to use Windows at least once. This is because the Laserjet Pro p1102 has a feature for CD-free driver installation, in which the printer identifies itself, at first, as a CD-ROM drive. The problem is that, when CUPS (Linux's printing system) tries to probe the printer (connected to the router) through SNMP, it won't find one. You will have to use Windows (and the printer's CD) to disable that feature as follows:
Now, you should install the open source driver foo2zjs; I tried using drivers depending on HP's proprietary plugin, and thing didn't go well (the HP plugin setup tool would not find the printer). There are binary packages for the main distros, but I recommend installing the most recent version from source; just type the following commands, in sequence, at a terminal:
wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz tar zxf foo2zjs.tar.gz cd foo2zjs make ./getweb 1000 ; ./getweb 1005 ; ./getweb 1018 ; ./getweb 1020 ; ./getweb 1025 sudo make install sudo make cupsTo add the new printer, just throw system-config-printer, and add a new LPD/LPR printer with IP 192.168.1.253 (not 254!) and queue name TG784printer (or whatever you used when configuring the router). When choosing the driver, select HP as the vendor and look for the entry for HP Laserjet Professional p1102 (or HP Laserjet Pro p1102) where you are able to select the foo2zjs driver. Save and you're good to go!
Open issues
The only remaining issue that I haven't solved is that the printer won't recover from a job interruption (such as a paper jam, running out of paper or toner, etc.) and a router restart is necessary (and, some times, it will simply happen). If anyone has the solution for this, please say so!
Hope this tutorial was helpful. Comments and suggestions are more than welcome! Due credit to the separate sources from which I was able to solve problem by problem:
forum.zwame.pt/showthread.php?t=513230
auberg.se/index.php?option=com_content&view=article&id=46&Itemid=53
foo2zjs.rkkda.com/forum/read.php?68,2782,2782
_
_
