Page 1 of 1
Network Printing with CUPS-- SOLVED!
Posted: 10. May 2012, 15:31
by davec51
I just installed Salix (USB installation) on a computer with a wired network, Windows XP server. I have installed a number of Linux OS's with no printing problems before. After setting up CUPS configuration and copying /etc/samba/smb.conf-sample as /etc/samba/smb.conf, I still get no printing. CUPS is receiving the order "pending" but not executing. I suspect that the smb.conf file needs some tweaking. Any suggestions?
I played with the smb.conf file until the miracle happened. Thanks to all who helped
Re: Network Printing with CUPS
Posted: 10. May 2012, 15:38
by fredg
Re: Network Printing with CUPS
Posted: 10. May 2012, 15:54
by davec51
Thanks for the quick reply, fredg, but I'm not up to that much tweaking. Also, I don't see some of the files the post says are required in my /etc/samba folder. It may be I'm not sophisticated enough for Salix.
Re: Network Printing with CUPS
Posted: 10. May 2012, 17:04
by djemos
Be sure cups is running.
as root
service restart cups
This is my smb.conf ptinting over network.
Code: Select all
#======================= Global Settings =====================================
[global]
workgroup = WORKGROUP
server string = Samba Server Desktop
security = share
usershare path = /var/lib/samba/usershares
usershare max shares = 100
usershare allow guests = yes
usershare owner only = yes
hosts allow = 192.168.1. 192.168.2. 127.
load printers = yes
printing = cups
log file = /var/log/samba.%m
max log size = 50
os level = 33
preferred master = yes
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = yes
guest only = yes
writable = no
printable = yes
public = yes
use client driver = yes
# This one is useful for people to share files
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
and this is another one with security = user
Code: Select all
[global]
workgroup = WORKGROUP
server string = %h Samba Server
name resolve order = bcast host lmhosts wins
security = user
load printers = yes
log file = /var/log/samba.%m
max log size = 50
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writable = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
# This one is useful for people to share files
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
After change your smb.conf restart samba.
Try to print.
Re: Network Printing with CUPS
Posted: 11. May 2012, 08:45
by JRD
I don't understand...why the need of samba for printing ? Just configure cups with your printer driver...Am I missing something and then you will all laugth at me reading my post?