Hi, I have a RedHat7.3 distro running Samba-2.2.3a. I've never had this problem before 2.2.x versions of samba. I'm using domain security and sharing 2 printers, an HP4050 and Ricoh. Everyone can print fine except that, seemingly randomly, printjobs end up in the queue as paused (according to winXPpro and Win98). Nobody can unpause or delete them. The only way to remove them is to restart the original machine which sent the print job. [root@mi etc]# lpq Printer: RICOH@mi (dest PORT1@192.168.1.33) Queue: no printable jobs in queue Server: no server active Status: job 'debbie@mi+521' saved at 09:53:31.613 Rank Owner/ID Class Job Files Size Time done frontdesk@mi+889 A 889 smbprn.005492.1eEr 5075043 12:43:56 done debbie@mi+521 A 521 smbprn.005668.81Su 1153005 09:53:12 Printer status : Idle.(Ready.) Online/Offline : Online. no entries. The two that say "done" are the jobs which appear as paused in the windows printer queue. The only way I can remove them without restarting windows machines is to manually delete the queue files from /var/spool/RICOH which are cfA*, dfA*, and hfA*. There may be a more elegant way to delete them via command line, but I don't know it. [root@mi RICOH]# ll /var/spool/lpd/RICOH/ total 6396 -rw------- 1 lp lp 171 Jul 24 09:53 cfA521mi.windermere.com -rw------- 1 lp lp 177 Jul 21 12:43 cfA889mi.windermere.com -rw------- 1 lp lp 0 Jul 9 20:02 control.pr -rw------- 1 lp lp 0 May 20 14:49 control.RICOH -rw------- 1 lp lp 1153005 Jul 24 09:53 dfA521mi.windermere.com -rw------- 1 lp lp 5075043 Jul 21 12:43 dfA889mi.windermere.com -rw------- 1 lp lp 581 Jul 24 09:53 hfA521 -rw------- 1 lp lp 588 Jul 21 12:44 hfA889 -rw------- 1 lp lp 0 Jul 24 09:53 lock.pr -rw------- 1 lp lp 0 May 20 14:49 log -rw------- 1 lp lp 68 Jul 24 09:54 lpq -rw------- 1 lp lp 3060 Jul 24 09:54 lpq.0 -rw------- 1 lp lp 1750 Jul 10 12:22 lpq.1 -rw------- 1 lp lp 1750 Jul 10 12:22 lpq.2 -rw------- 1 lp lp 497 Jul 9 20:02 mf.cfg -rw------- 1 lp lp 0 Jul 9 17:11 RICOH -rw------- 1 lp lp 221908 Jul 24 09:53 RICOH.acct -rw------- 1 lp lp 0 May 20 14:49 status -rw------- 1 lp lp 4422 Jul 24 09:53 status.pr -rw------- 1 lp lp 8426 Jul 9 17:11 status.RICOH -rw------- 1 lp lp 6 Jul 24 09:53 unspooler.pr -rw------- 1 lp lp 5 Jul 9 17:11 unspooler.RICOH -rw------- 1 lp lp 483 Jul 9 20:02 VOLATILE The details of my Samba Server: I add computers with: [root@mi etc]# useradd -s /bin/false -d /dev/null admincomputer$ [root@mi etc]# smbpasswd -a -m admincomputer I add users with: [root@mi etc]# useradd -s /sbin/nologin -G users bob [root@mi etc]# smbpasswd -a bob smb.conf: [global] workgroup = OFFICE netbios name = SERVER server string = Samba Server security = DOMAIN encrypt passwords = Yes null passwords = Yes unix password sync = Yes log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain admin group = adm domain guest group = guest domain logons = Yes domain master = True dns proxy = No create mask = 0770 directory mask = 0775 printing = lprng [homes] comment = Home Directories valid users = %S,bob read only = No create mask = 0664 browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [Samba] comment = Shared Files path = /home/samba valid users = @users admin users = @admin force user = nobody force group = users read only = No inherit permissions = Yes [RICOH] path = /var/spool/samba writable = yes postscript = Yes printable = yes public = yes printer name = RICOH max print jobs = 10000 [HP4050] path = /var/spool/samba writable = yes postscript = Yes printable = yes public = yes printer name = HP4050 max print jobs = 10000 [Admin] path = /home/Admin valid users = @admin force user = nobody force group = admin read only = No directory mask = 0770 inherit permissions = Yes printcap: RICOH:\ :ml=0:\ :mx=0:\ :sd=/var/spool/lpd/RICOH:\ :af=/var/spool/lpd/RICOH/RICOH.acct:\ :sh:\ :rm=192.168.1.33:\ :rp=PORT1:\ :lpd_bounce=true:\ :if=/usr/share/printconf/util/mf_wrapper: HP4050:\ :ml=0:\ :mx=0:\ :sd=/var/spool/lpd/HP4050:\ :af=/var/spool/lpd/HP4050/HP4050.acct:\ :sh:\ :rm=192.168.1.10:\ :rp=PORT1:\ :lpd_bounce=true:\ :if=/usr/share/printconf/util/mf_wrapper: I appologize if this has already been covered, please at least direct me to a _searchable_ archive. -Scott
You can check your /etc/lpd.conf and add the line "done_jobs=0" We had the same problem and it was solved by this. -----Message d'origine----- De : samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]De la part de Scott Ecker Envoy? : mercredi 24 juillet 2002 19:36 ? : samba@lists.samba.org Objet : [Samba] Print Jobs stuck in queue Hi, I have a RedHat7.3 distro running Samba-2.2.3a. I've never had this problem before 2.2.x versions of samba. I'm using domain security and sharing 2 printers, an HP4050 and Ricoh. Everyone can print fine except that, seemingly randomly, printjobs end up in the queue as paused (according to winXPpro and Win98). Nobody can unpause or delete them. The only way to remove them is to restart the original machine which sent the print job. [root@mi etc]# lpq Printer: RICOH@mi (dest PORT1@192.168.1.33) Queue: no printable jobs in queue Server: no server active Status: job 'debbie@mi+521' saved at 09:53:31.613 Rank Owner/ID Class Job Files Size Time done frontdesk@mi+889 A 889 smbprn.005492.1eEr 5075043 12:43:56 done debbie@mi+521 A 521 smbprn.005668.81Su 1153005 09:53:12 Printer status : Idle.(Ready.) Online/Offline : Online. no entries. The two that say "done" are the jobs which appear as paused in the windows printer queue. The only way I can remove them without restarting windows machines is to manually delete the queue files from /var/spool/RICOH which are cfA*, dfA*, and hfA*. There may be a more elegant way to delete them via command line, but I don't know it. [root@mi RICOH]# ll /var/spool/lpd/RICOH/ total 6396 -rw------- 1 lp lp 171 Jul 24 09:53 cfA521mi.windermere.com -rw------- 1 lp lp 177 Jul 21 12:43 cfA889mi.windermere.com -rw------- 1 lp lp 0 Jul 9 20:02 control.pr -rw------- 1 lp lp 0 May 20 14:49 control.RICOH -rw------- 1 lp lp 1153005 Jul 24 09:53 dfA521mi.windermere.com -rw------- 1 lp lp 5075043 Jul 21 12:43 dfA889mi.windermere.com -rw------- 1 lp lp 581 Jul 24 09:53 hfA521 -rw------- 1 lp lp 588 Jul 21 12:44 hfA889 -rw------- 1 lp lp 0 Jul 24 09:53 lock.pr -rw------- 1 lp lp 0 May 20 14:49 log -rw------- 1 lp lp 68 Jul 24 09:54 lpq -rw------- 1 lp lp 3060 Jul 24 09:54 lpq.0 -rw------- 1 lp lp 1750 Jul 10 12:22 lpq.1 -rw------- 1 lp lp 1750 Jul 10 12:22 lpq.2 -rw------- 1 lp lp 497 Jul 9 20:02 mf.cfg -rw------- 1 lp lp 0 Jul 9 17:11 RICOH -rw------- 1 lp lp 221908 Jul 24 09:53 RICOH.acct -rw------- 1 lp lp 0 May 20 14:49 status -rw------- 1 lp lp 4422 Jul 24 09:53 status.pr -rw------- 1 lp lp 8426 Jul 9 17:11 status.RICOH -rw------- 1 lp lp 6 Jul 24 09:53 unspooler.pr -rw------- 1 lp lp 5 Jul 9 17:11 unspooler.RICOH -rw------- 1 lp lp 483 Jul 9 20:02 VOLATILE The details of my Samba Server: I add computers with: [root@mi etc]# useradd -s /bin/false -d /dev/null admincomputer$ [root@mi etc]# smbpasswd -a -m admincomputer I add users with: [root@mi etc]# useradd -s /sbin/nologin -G users bob [root@mi etc]# smbpasswd -a bob smb.conf: [global] workgroup = OFFICE netbios name = SERVER server string = Samba Server security = DOMAIN encrypt passwords = Yes null passwords = Yes unix password sync = Yes log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain admin group = adm domain guest group = guest domain logons = Yes domain master = True dns proxy = No create mask = 0770 directory mask = 0775 printing = lprng [homes] comment = Home Directories valid users = %S,bob read only = No create mask = 0664 browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [Samba] comment = Shared Files path = /home/samba valid users = @users admin users = @admin force user = nobody force group = users read only = No inherit permissions = Yes [RICOH] path = /var/spool/samba writable = yes postscript = Yes printable = yes public = yes printer name = RICOH max print jobs = 10000 [HP4050] path = /var/spool/samba writable = yes postscript = Yes printable = yes public = yes printer name = HP4050 max print jobs = 10000 [Admin] path = /home/Admin valid users = @admin force user = nobody force group = admin read only = No directory mask = 0770 inherit permissions = Yes printcap: RICOH:\ :ml=0:\ :mx=0:\ :sd=/var/spool/lpd/RICOH:\ :af=/var/spool/lpd/RICOH/RICOH.acct:\ :sh:\ :rm=192.168.1.33:\ :rp=PORT1:\ :lpd_bounce=true:\ :if=/usr/share/printconf/util/mf_wrapper: HP4050:\ :ml=0:\ :mx=0:\ :sd=/var/spool/lpd/HP4050:\ :af=/var/spool/lpd/HP4050/HP4050.acct:\ :sh:\ :rm=192.168.1.10:\ :rp=PORT1:\ :lpd_bounce=true:\ :if=/usr/share/printconf/util/mf_wrapper: I appologize if this has already been covered, please at least direct me to a _searchable_ archive. -Scott -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Seemingly Similar Threads
- Using SD-card reader? (Lenovo T61/Richo R5C822 controller/sdhci driver)
- 2.2.8a+Debian woody PDC share permission / print$ wizard does not work as it will
- ricoh ap204/3800c
- Need help getting colour printing features restricted to a specific group
- Adding Printer