Here is the situation. I have my hp psc 1300 series printer shared on my winxp machine. I am trying to print from my slackware box to that printer.
I set up a basic smb.conf to allow sharing between the systems. and it works, I can swap files between the two systems.
root@snafu:/home/simian# testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
Processing section "[data]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
workgroup = SNAFU
netbios name = SIMIAN
security = SHARE
passdb backend = guest
wins server = 192.168.1.1
[data]
comment = Share
path = /home/ftp
read only = No
guest only = Yes
Printer Setup:
root@snafu:/home/simian# smbclient -L monkeyboy -N
Domain=[MONKEYBOY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
IPC$ IPC Remote IPC
D$ Disk Default share
print$ Disk Printer Drivers
Storage (S) Disk
winmx Disk
hppsc130 Printer hp psc 1300 series
T$ Disk Default share
Mp3 Disk
ADMIN$ Disk Remote Admin
C$ Disk Default share
S$ Disk Default share
D_Storage Disk
Uploads Here Disk
Domain=[MONKEYBOY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Server Comment
--------- -------
Workgroup Master
--------- -------
root@snafu:/home/simian# ls -l /usr/lib/cups/backend/smb
lrwxrwxrwx 1 root root 17 2004-11-18 14:21 /usr/lib/cups/backend/smb -> /usr/bin/smbspool
I then get into the cups admin to install a printer
http://localhost:631
I add a new printer,
give it a name (monkeyprinter), location (monkeyboy), description (hppsc1300).
Select windows printer via samba
Device URI for monkeyprinter
smb://guest@monkeyboy/hppsc1300
Select Mfg (HP) Model (hp psc 1300)
It tells me that the printer was successfully installed.
HP PSC 1300 Foomatic/hpijs (recommended)
Description: hppsc1300
Location: monkeyboy
Printer State: idle, accepting jobs.
Device URI: smb://monkeyboy/hppsc1300
I click "print test page" and it returns
Description: hppsc1300
Location: monkeyboy
Printer State: processing, accepting jobs.
"Unable to connect to SAMBA host, will retry in 60 seconds...foomatic-rip version $Revision: 3.47 $ running..."
Device URI: smb://monkeyboy/hppsc1300
My Cups printers.conf
# Printer configuration file for CUPS v1.1.20
# Written by cupsd on Thu Nov 25 12:20:20 2004
<DefaultPrinter monkeyprinter>
Info hppsc1300
Location monkeyboy
DeviceURI smb://guest@monkeyboy/hppsc1300
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
what am I doing wrong?