HP 1200 Printer
Jump to navigation
Jump to search
The HP 1200 printer is a donation from Edward. It is currently attached to the PandaBoard.
Contents
Setup
Setup the printer
$ sudo hp-setup -i 0* usb Universal Serial Bus (USB) Enter number 0...2 for connection type (q=quit, enter=usb*) ? 0 Found PPD file: hplip:0/ppd/hplip/HP/hp-laserjet_1200-ps.ppd
Setup CUPS
Setup samba
$ sudo apt-get install samba $ sudo vi /etc/samba/smb.conf $ sudo restart smbd; sudo restart nmbd
Get the Windows drivers
$ sudo apt-get install libcups2-dev $ wget http://ftp.easysw.com/pub/cups/windows/cups-windows-6.0-source.tar.gz $ tar xvfz cups-windows-6.0-source.tar.gz $ sudo make install $ <scp ps* driver files from a Windows machine> $ ls -al /usr/share/cups/drivers total 2572 drwxrwxr-x 2 root lpadmin 4096 2011-11-05 17:38 . drwxr-xr-x 18 root root 4096 2011-11-05 16:38 .. -rw-r--r-- 1 root root 803 2011-11-05 16:38 cups6.inf -rw-r--r-- 1 root root 72 2011-11-05 16:38 cups6.ini -rw-r--r-- 1 root root 12568 2011-11-05 16:38 cupsps6.dll -rw-r--r-- 1 root root 13672 2011-11-05 16:38 cupsui6.dll -rw-rw-r-- 1 xinchejian xinchejian 847872 2011-11-05 16:48 ps5ui.dll -rw-rw-r-- 1 xinchejian xinchejian 630272 2011-11-05 16:48 pscript5.dll -rw-rw-r-- 1 xinchejian xinchejian 26038 2011-11-05 16:48 pscript.hlp -rw-rw-r-- 1 xinchejian xinchejian 1062732 2011-11-05 16:48 pscript.ntf
Create root user and export the drivers
$ sudo smbpasswd -a root $ sudo cupsaddsmb -H localhost -U root -a -v
References
- Printer: http://192.168.1.48:631/printers/HP-LaserJet-1200
- CUPS: http://192.168.1.48:631
- http://blog.encomiabile.it/2010/02/17/samba-cups-and-windows-32-64-bit-drivers/