I am driving a Suse 8.2 linux with cups 1.1.18 and samba 2.2.7a. The problem: The host serves several printers via cups. If some jobs are in one of the queues "lpq -Pprinter" or "lpstat -o printer" shows up the complete listing. Fine. Connected to the same print queue from a Windows (XP/NT/98/2k) box I cannot see the complete listing. Sometimes I see some of the jobs, most of the times I don't see any. Executing "lpq -S printhost -P printer" on the W2k host gives correct results. I connected via smbclient to the (samba-)printer, did a "queue" command - same result, no or not all jobs are displayed. My smb.conf (the relevant parts): -------------------------------------------------------------- [global] workgroup = UNIKO netbios name = PRINTHOST security = SERVER encrypt passwords = Yes password server = tricia time server = Yes unix extensions = Yes socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY character set = ISO8859-15 os level = 2 veto files = /*.eml/*.nws/riched20.dll/*.{*}/ printing = sysv printcap name = /etc/printcap [printers] comment = All Printers path = /var/tmp create mask = 0600 printable = Yes lpq command = /usr/bin/lpstat -o %p guest ok = no browseable = No -------------------------------------------------------------- The problem still appears even if I change printing = cups (and yes, my smbd is compiled against cups). Any help is appreciated. Thanks in advance. -- Regards Christoph Litauer ________________________________________________________________________ Christoph Litauer litauer@uni-koblenz.de Uni Koblenz, Rechenzentrum, http://www.uni-koblenz.de/~litauer Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311 PGP-Key: http://www.uni-koblenz.de/~litauer/public-key.html
Just guessing. What happens if you remove the lpq command parameter but leave in the printing = cups parameter? Joel On Tue, May 13, 2003 at 10:44:33AM +0200, Christoph Litauer wrote:> I am driving a Suse 8.2 linux with cups 1.1.18 and samba 2.2.7a. > > The problem: > The host serves several printers via cups. If some jobs are in one of > the queues "lpq -Pprinter" or "lpstat -o printer" shows up the complete > listing. Fine. > Connected to the same print queue from a Windows (XP/NT/98/2k) box I > cannot see the complete listing. Sometimes I see some of the jobs, most > of the times I don't see any. > Executing "lpq -S printhost -P printer" on the W2k host gives correct > results. > I connected via smbclient to the (samba-)printer, did a "queue" command > - same result, no or not all jobs are displayed. > > My smb.conf (the relevant parts): > -------------------------------------------------------------- > [global] > workgroup = UNIKO > netbios name = PRINTHOST > security = SERVER > encrypt passwords = Yes > password server = tricia > time server = Yes > unix extensions = Yes > socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY > character set = ISO8859-15 > os level = 2 > veto files = /*.eml/*.nws/riched20.dll/*.{*}/ > printing = sysv > printcap name = /etc/printcap > > [printers] > comment = All Printers > path = /var/tmp > create mask = 0600 > printable = Yes > lpq command = /usr/bin/lpstat -o %p > guest ok = no > browseable = No > -------------------------------------------------------------- > > The problem still appears even if I change > printing = cups > (and yes, my smbd is compiled against cups). > > Any help is appreciated. Thanks in advance. > > -- > Regards > Christoph Litauer > ________________________________________________________________________ > Christoph Litauer litauer@uni-koblenz.de > Uni Koblenz, Rechenzentrum, http://www.uni-koblenz.de/~litauer > Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311 > PGP-Key: http://www.uni-koblenz.de/~litauer/public-key.html > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Christoph Litauer litauer at uni-koblenz.de wrote on Samba-Digest:> Tue May 13 10:44:33 GMT 2003 >>> I am driving a Suse 8.2 linux with cups 1.1.18 and samba 2.2.7a. > > The problem: > The host serves several printers via cups. If some jobs are in one of > the queues "lpq -Pprinter" or "lpstat -o printer" shows up the complete > listing. Fine. > Connected to the same print queue from a Windows (XP/NT/98/2k) box I > cannot see the complete listing. Sometimes I see some of the jobs, most > of the times I don't see any.I believe you are hitting the same bug I reported before (months ago). For me it mosttimes works, sometimes doesn't> Executing "lpq -S printhost -P printer" on the W2k host gives correct > results.But only if you have the LPD client access to CUPS enabled? (I mean the "cups-lpd" entry in /etc/inetd.conf... Without it, this will not work, no?)> I connected via smbclient to the (samba-)printer, did a "queue" command > - same result, no or not all jobs are displayed. > > My smb.conf (the relevant parts): > -------------------------------------------------------------- > [global] > workgroup = UNIKO > netbios name = PRINTHOST > security = SERVER > encrypt passwords = Yes > password server = tricia > time server = Yes > unix extensions = Yes > socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY > character set = ISO8859-15 > os level = 2 > veto files = /*.eml/*.nws/riched20.dll/*.{*}/ > printing = sysvWhat are your "print command" and similar parameters like? (If you don't explicitely set them in smb.conf, check for the ones used as a fallback, by running "testparm"....)> printcap name = /etc/printcap > > [printers] > comment = All Printers > path = /var/tmp > create mask = 0600 > printable = Yes > lpq command = /usr/bin/lpstat -o %p > guest ok = no > browseable = NoHave you played with "lpq cache time"?> -------------------------------------------------------------- > > The problem still appears even if I change > printing = cups > (and yes, my smbd is compiled against cups). > > Any help is appreciated. Thanks in advance.Let's hope it is fixed in 2.2.9 (whenever that is out....)> -- > Regards > Christoph LitauerCheers, Kurt
Joel Hammer wrote:> Just guessing. > > What happens if you remove the lpq command parameter but leave in the > printing = cups parameter?no change. I tried some (not all) combinations with no effect. -- Regards Christoph Litauer ________________________________________________________________________ Christoph Litauer litauer@uni-koblenz.de Uni Koblenz, Rechenzentrum, http://www.uni-koblenz.de/~litauer Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311 PGP-Key: http://www.uni-koblenz.de/~litauer/public-key.html