Originally Posted by Arancaytar
There is a Windows PC in our home network (workgroup WINHOME) named BEETLE, and it has a shared printer names HPLASERJ. I can print to this printer over the network when I have booted Windows, but have so far been unable to connect to it from my Ubuntu 8.10 system (cups package version is 1.3.9-2).
When I open the printer configuration dialog, I assume the option I need is "Windows Printer via SAMBA". When browsing the available printer shares, I find the right workgroup (WINHOME) and even the right Windows PC (BEETLE), but below the PC there are no printers listed.
Manually entering the path WINHOME/BEETLE/HPLASERJ as the printer share will also fail: The "Verify" button brings up an alert that "this print share is not accessible".
Ignoring this warning and selecting the printer driver in the following dialog will cause a new printer to be added, but printing to this printer will repeatedly prompt me for my username and password on this Windows PC, even after I entered it correctly.
Do I need to install or configure anything on the Windows print server that I wouldn't need for printing from another Windows PC? I'm not aware of any SAMBA service enabled or running on the print server, if that is required. My user account on the server is also a user with "restricted access", but since I can print to it from another Windows machine, that shouldn't be the problem... or could it?
I had the same problem and this what you need to do;
First get the cups driver for your printer.
verify cups and lpd are installed. usually this is done by default.
then you need to open a terminal as root to run the following syntax.
1) sudo aa-complain cupsd
2) sudo mkdir /usr/share/cups/model
3) ln -s /etc/init.d/cupsys /etc/init.d/lpd
4) mkdir /var/spool/lpd ( this is required if folder does not exist)
verify you have psutils installed.
make sure the printer is on.
Install LPR driver and cupswrapper driver
5) dpkg -i --force-all --force-architecture (lpr-drivername)
6) dpkg -i --force-all --force-architecture (cupswrapper-drivername)
7) Command (for dpkg) : dpkg -l | grep (your priner here)
This to check the drivers installed
8) Open a web browser and go to "http://localhost:631/printers".
Click "Modify Printer" and set following parameters.
- "LPD/LPR Host or Printer" or "AppSocket/HP JetDirect" for Device
- lpd://(Your printer's IP address)/ binary_p1 for Device URI
- your printer here for Make/Manufacturer Selection
- Your printer's name for Model/Driver Selection
the above is lower case upper case sensative
do a test print
my printer is connected to a 4 port switch and any pc in the network can print to it.
hope this helps