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
Network Printing with CUPS-- SOLVED!
Network Printing with CUPS-- SOLVED!
Last edited by davec51 on 11. May 2012, 21:43, edited 1 time in total.
Re: Network Printing with CUPS
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
Be sure cups is running.
as root
and this is another one with security = user
After change your smb.conf restart samba.
Try to print.
as root
This is my smb.conf ptinting over network.service restart cups
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
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
Try to print.
Re: Network Printing with CUPS
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?
![Image](http://pnboy.pinguix.com/gapan/salix/salix-userbar-dev.png)