Chapter 9. Services Out-of-the-Box in Skolelinux/Debian-edu

9.1. Thinclient server

9.1.1. Adding a Printer to a Thin Client

Warning

Before you try to add a printer in Skolelinux/Debian-edu, you should really think about this before you get a printer. So check out the web pages on linuxprinting.org to find out if your printer is supported out-of-the-box by Linux. If you have a printer that is classified as a "paperweight", then get rid of it, or use it as a door stopper.

Recipe for Setting up a Printer on a Thin Client

  • Plug the printer into the thin client. This example is for a printer on a parallel port, so we use /dev/lp0

  • Add the MAC address of this thin client in Webmin, for example ltsp050, have a look at for howto lock a mac-address to a specific ip-address/hostname

  • Use a text editor to open the file /opt/ltsp/i386/etc/lts/lts.conf, and add these lines

    
[ltsp050]
    PRINTER_0_DEVICE =/dev/lp0
    PRINTER_0_TYPE   =P
    
    If this thin client needs other configuration lines, add them here as well; maybe its video card does not allow autodetection, etc.

  • Go to K-menu->Control Center->System->Printing Manager and click on "the magic wand" icon to add a printer. Click on 'Next'. Then for backend selection choose 'Network printer(TCP)'. Click on 'Next'.

  • Click on 'Settings'. Instead of 10.2.0, type 192.168.0, if the printer is connected to a thin client, leave the other values as they are. Click OK. Click on the button 'Scan', and it will then search for your printer, which will take about 30-60 seconds. In the large frame on the left, you will soon see information about the thin client that has an attached printer, choose that one, and the rest of the process of choosing printer and driver should be pretty easy, I hope. :-)

  • When you try to print out a "test page", you may find that the printer reacts, but still nothing gets printed out. The printer's resolution may be set too high. Try it again with 150 ppt.