[clue-tech] samba printing
Luke Wahlmeier
lwahlmeier at gmail.com
Wed Dec 27 16:19:27 MST 2006
Ok I see a few issues here that are whats causing your problem.
1. lpr does not run through cups. Most in/desk/bubble jet printers
will not work with it since they expect all there printer data to come
preformated (in there format) to them and do not have a default font
set or understand postscript for lpr to work.
2. If the printer is on the windows box and the windows box is
sharing it there is not reason to have anything configured in samba
for it. Samba daemon printer stuff is for a printer server, not
client.
You need to configure cups to connect to the SMB printer and use the
correct driver * jet driver. chances are if you do not have a cups
config in you gui, you have the cups management utility running on
port 631, so on the linux box go to http://localhost:631/ through any
web browser, config your printer and you should be set up.
Luke
On 12/27/06, Jason S. Friedman <jason at powerpull.net> wrote:
> I'm using Ubuntu 5.10 on one machine and Windows XP on the other. On
> the Windows machine I shared my printer. The name of my workgroup is
> HOME, the name of my computer is UPSTAIRS, and the name of my printer is
> Deskjet. I can print from the Windows box.
>
> I issued this command:
> $ lpadmin -p Deskjet -E -v smb://me:mypassword@HOME/UPSTAIRS/Deskjet -D
> "Upstairs printer"
>
> My smb.conf says:
> [global]
> workgroup = HOME
> printing = cups
> printcap name = cups
> [share]
> encrypt passwords = yes
> path = /opt/samba
> read only = no
> guest ok = yes
> oplocks = no
> [Deskjet]
> printing = CUPS
> printable = yes
> printer = Deskjet
>
> I restarted CUPS:
> $ /etc/init.d/cupsys restart
>
> $ ll /usr/lib/cups/backend/smb
> lrwxrwxrwx 1 root root 21 Jan 6 2006 /usr/lib/cups/backend/smb ->
> ../../../bin/smbspool
>
> To print I enter this command:
> $ lpr -P Deskjet testfile
>
> From my windows machine I can see the job in my print queue with the
> name "Remote Downlevel Document". However, the printer is not printing.
>
> _______________________________________________
> clue-tech mailing list
> clue-tech at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-tech
>
More information about the clue-tech
mailing list