share printer with linux

Soren Orel soren.orel at gmail.com
Tue Jul 14 20:30:57 UTC 2009


How can I share my printer with a linux pc, so that I could add this printer
as a network printer from a windows pc OR another linux pc?

What's the best solution? Is there any?

I already tried in samba:

[printers]
comment = All Printers
browseable = No
path = /var/spool/samba
printable = Yes
guest ok = No
read only = Yes
create mask = 0700

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = Yes
read only = Yes
guest ok = No


Ok, I can see the printer, if I type: e.g.: "\\192.168.1.244" in "RUN" under
a windows xp machine, I can print too  (I have to install printer driver
first).

But I just can't set this printing from a Linux machine :( I tried
system-config-printer under GNOME but I just can't find out, what's the
printers address??  (I can see the printer within the workgroup, I can add
it, but when I want to print, it just does nothing...theres no firewall that
may block it..)

smb://192.168.1.244/iP1800-series?
ipp://192.168.1.244/iP1800-series?

please help me... I didn't thought that I need severel hours to just add a
network printer under Linux (Debian Lenny) :(

Are there any good docs?? (no, not google....)


here's the samba script I use to share the printer:
http://pastebin.com/m2899c0e9
smbclient output: http://pastebin.com/m23e183aa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090714/fdc9cc56/attachment.html>


More information about the ubuntu-users mailing list