d.arun321
2006-Jun-21 19:50 UTC
[Samba] Unable to cancel print-jobs with Samba+CUPS via WinXP
Hi All,
I am working on a product(running on Linux with Kernel 2.4) in which
print-server is one of the functionalities.
For that I have integrated Samba and CUPS which will let me give print-commands
from a Windows PC and the commands are communicated to the cups via Samba and
finally the prints are done by the printer which is connected to the product.
I have both CUPS(1.2.1) and Samba(3.0.22) deamons running on the
hardware(product).
I am able to get print-outs and also able to Cancel, Pause and Resume the
print-jobs but only when I issue them via a Win-2K client.
If I try to manage the printing via Win-XP, I am able to only give a
print-command . The Cancel, Pause, Resume nothing are working.
I dont understand why the Cancel, Pause and Resume are not working via Win-XP
when it is possible via Win-2K.
The following is a part of the smb.conf configuration file:
/****************************************************/
printcap name = cups
load printers = yes
printing = cups
log file = /var/log/samba/log.%m
max log size = 50
security = share
socket options = TCP_NODELAY
local master = no
preferred master = no
wins support = no
wins proxy = no
dns proxy = no
[printers]
comment = Printers
path = /var/spool/samba
public = yes
use client driver = yes
writable = no
printable = yes
browsable = yes
/***********************************************/
Please help me in this matter if anybody have come across this problem before...
Thanks,
Arun
Gerald (Jerry) Carter
2006-Jun-21 20:38 UTC
[Samba] Unable to cancel print-jobs with Samba+CUPS via WinXP
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 d.arun321 wrote:> I am able to get print-outs and also able to Cancel, Pause > and Resume the print-jobs but only when I issue them via > a Win-2K client. > > If I try to manage the printing via Win-XP, I am able to only > give a print-command . The Cancel, Pause, Resume nothing > are working.....> > The following is a part of the smb.conf configuration file: > > /****************************************************/ > printcap name = cups > load printers = yes > printing = cups > > log file = /var/log/samba/log.%m > max log size = 50 > > security = share^^^^^^^^^^^^^^^^ use security = user.> > [printers] > comment = Printers > path = /var/spool/samba > public = yes > use client driver = yes^^^^^^^^^^^^^^^^^^^^^^^ Better not to set this if you want to manage print queues from windows clients. cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFEma4sIR7qMdg1EfYRApvdAJ9Q7Gse7Im8HtNilD44YXlA2LHR6ACgkxa/ 2vq7lb6jUC5/1iDYDf9AcAY=iM8l -----END PGP SIGNATURE-----
d.arun321
2006-Jun-26 08:27 UTC
[Samba] Unable to cancel print-jobs with Samba+CUPS via WinXP
Thanks Jerry -- for your assistance. The solution was precise but i am facing an auhentication issue. When I use the "use security = user" in the smb.conf then its promting for a username and password. Is there any way for skipping this check. "Gerald (Jerry) Carter" wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 d.arun321 wrote: > I am able to get print-outs and also able to Cancel, Pause > and Resume the print-jobs but only when I issue them via > a Win-2K client. > > If I try to manage the printing via Win-XP, I am able to only > give a print-command . The Cancel, Pause, Resume nothing > are working. ... > > The following is a part of the smb.conf configuration file: > > /****************************************************/ > printcap name = cups > load printers = yes > printing = cups > > log file = /var/log/samba/log.%m > max log size = 50 > > security = share ^^^^^^^^^^^^^^^^ use security = user. > > [printers] > comment = Printers > path = /var/spool/samba > public = yes > use client driver = yes ^^^^^^^^^^^^^^^^^^^^^^^ Better not to set this if you want to manage print queues from windows clients. cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFEma4sIR7qMdg1EfYRApvdAJ9Q7Gse7Im8HtNilD44YXlA2LHR6ACgkxa/ 2vq7lb6jUC5/1iDYDf9AcAY=iM8l -----END PGP SIGNATURE-----
d.arun321
2006-Jun-27 13:18 UTC
[Samba] Unable to cancel print-jobs with Samba+CUPS via WinXP
Hi Jerry, I am facing a peculiar problem when I try to give a print-command. I was trying to issue a print from the notepad and the error "A StartDocPrinter call was not issued" is being reported continuously. This error is persisting even if I revert back to the "secutity = share" in the smb.conf file -- I have restarted both Samba and CUPS. Is the above error something related to the authentication issue ? Thanks, Arun "Gerald (Jerry) Carter" wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 d.arun321 wrote: > Thanks Jerry -- for your assistance. > > The solution was precise but i am facing > an authentication issue. When I use the "use > security = user" in the smb.conf then its promoting > for a username and password. > > Is there any way for skipping this check. I'd suggest reading up on Samba configuration a little bit more. Look how details on how to setup a guest accessible server using 'map to guest' and 'username map' cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFEn7vuIR7qMdg1EfYRAvl5AKCCHbFFPgc3u1YBTKZ28W1mk/E4/gCfaM+w 1M7aQwUsKaHTjIoEiLKj5RM=7iaV -----END PGP SIGNATURE-----