Alright,
I have setup my printer (HP Deskjet 3520) on my linux machine (FC 6) using CUPS. I use the
http://localhost:631 page for this. Printing from the linux machine works without any problems (printing a testpage).
Now I want my Windows XP machine to use this printer to... well.. print. I setup my Samba to share the printer on the network.
The smb.conf file
Code:
[global]
workgroup = workgroup
server string = Linux Server
hosts deny = ALL
hosts allow = 192.168.1. 127.
log file = /var/log/samba/%m.log
max log size = 1000
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
bind interfaces only = True
interfaces = eth0 192.168.1.1/32
encrypt passwords = Yes
load printers = Yes
printing = cups
printcap name = cups
printer admin = root
[Printer]
path = /tmp
browseable = Yes
public = Yes
guest ok = Yes
writable = Yes
printable = Yes
use client driver = Yes
A part of the setup comes from the linuxPrinting.org pages.
Now I can see the shared printer with my XP machine. I can also install it (using the drivers I have on the Xp machine). But when I try to print a test page with the printer nothing happends.
The printer does add a file to the /tmp directory inside linux, but after a few seconds this file disappears and nothing more happends.
I have tried a few other samba configs that I found on the forums here and internet, and this file is the last version I have. So none of the others worked.
In one of the other topics I have read to set the page type to a4 inside linux. Did this without any result.