[Samba] my printers are still paused in Win2k and WinNT 4.0

Van Sickler, Jim vansickj-eodc at Kaman.com
Tue Jul 16 15:50:13 GMT 2002


Shane,

Here's a snip from another LPRng user,
sthom, having the same problem:

-----------------------------------------
Thanks for the help. The version of Lprng that ships with RedHat 7.3 is
3.8.9, but I had to change the default anyway. It was difficult to figure
out which file to edit (printcap, printcap.local, lpd.conf, so I tried all
of them. It turns out /etc/lpd.conf was the culprit, I added the following
after the default:
# default done_jobs= 1 (INTEGER)
done_jobs=0
-----------------------------------------

Try that, and see if it also works for you...
Jim

-----Original Message-----
From: Shane Drinkwater [mailto:Shane_Drinkwater at pa-ucl.com]
Sent: Tuesday, July 16, 2002 1:27 PM
To: Van Sickler, Jim
Subject: RE: [Samba] my printers are still paused in Win2k and WinNT 4.0


Jim & the samba list
First off thanks for looking at this!!!! ... I have the following
information the first is using the lpr/lpd print file transfering.
1.) My company has a mix of HP printers from 4m plus to 4500 HP lasers. This
error occurs between all of the printers. For testing I choose two HP 4m
plus printers for testing..

2.) Yes, I downloaded the lastest firmware to the netdirect cards using hp
download manager. Current firmware levels on both test printers is -->Model
J2552B Firmware is A.08.40

3.) I am using the MS clients for the test server. 

4.) I have tried to use the direct tcp method of printing and it works great
but I still have the same print paused problem. It doesn't seem to matter
what method I use to print LPD/direct TCP.


# /etc/printcap
#
# DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
# This file is autogenerated by printconf-backend during lpd init.
#
# Hand edited changes can be put in /etc/printcap.local, and will be
included.

############################################################################
###
## Everything below here is included verbatim from /etc/printcap.local
##
############################################################################
###
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.
csqlis|This is  a test:sd=/var/spool/lpd/csqlis:cm=This is  a
test:rp=hp:sh:rm=csqlis.pa-ucl.com:done_jobs=0:
HPfinley|:sd=/var/spool/lpd/HPfinley:rp=hp:sh:rm=fin-office-laser.pa-ucl.com
:done_jobs=0:


my smb.conf is as follows.....
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors. 
#
#======================= Global Settings
=====================================
[global]
 smb passwd file = /etc/samba/smbpasswd
 wins server = 172.27.1.17
 printing = lprng
 lpq command = /usr/bin/lpq -P%p
 dns proxy = no 
 null passwords = yes
 encrypt passwords = yes
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 printcap name = /etc/printcap
 max log size = 0
 password server = mercury
 interfaces = 172.27.1.21/24
 writable = yes
 map to guest = bad user
 security = server
 printer admin = nobody
 workgroup = CSQ
 server string = Samba Server
 netbios name = TESTBACKUP
 log file = /var/log/samba/%m.log
 load printers = yes
 public = yes

[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775

[print$]
 path = /home/samba/printerdrivers
 browseable = yes
 write list = nobody


[UCL Repository]
 path = /home/samba/uclrep
comment = Test for NT with share over 12 chars
 volume = UCL Repository
 comment = Test



 

-----Original Message-----
From: Van Sickler, Jim [mailto:vansickj-eodc at Kaman.com]
Sent: Tuesday, July 16, 2002 12:58 PM
To: Samba-L (E-mail)
Subject: RE: [Samba] my printers are still paused in Win2k and WinNT 4.0


1.  What types of HP printers are they?

2.  Is the firmware on the JetDirects up to date?

3.  Are you using the HP or MS driver for the clients?

4.  Are you using ":rp=9100" or ":rp=raw" in printcap?
(post your printcap, and we'll look it over)

5. Do you have "guest ok=yes" on the printer entries?

6.  Are you using disable spoolss= "yes" or "no"?

Jim
-----Original Message-----
From: Shane Drinkwater [mailto:Shane_Drinkwater at pa-ucl.com]
Sent: Tuesday, July 16, 2002 9:54 AM
To: samba at lists.samba.org
Subject: [Samba] my printers are still paused in Win2k and WinNT 4.0


Hello,
It seems that I am in printer hell once again :) I am trying to sort out
some printer problems with our UNIX server. The basic problem is this. I
have a test server to K.I.S.S the problem. On this server I have defined two
queues which are  csqlis and HPfinley. csqlis seems to work correctly and
displays ready.  HPfinley always reads Paused on win2k and NT40 clients. The
output of the lpq command is 
csqlis:
[root at localhost etc]# lpq -Pcsqlis
Printer: csqlis at localhost 'This is  a test' (dest hp at csqlis.pa-ucl.com)
 Queue: no printable jobs in queue
JetDirect lpd: no jobs queued on this port

HPfinley
[root at localhost etc]# lpq -Phpfinley
Printer: HPfinley at localhost (dest hp at fin-office-laser.pa-ucl.com)
 Queue: no printable jobs in queue
JetDirect lpd: no jobs queued on this port
[root at localhost etc]#

I am running the following revs for software
RED HAT 7.3 
LPRng 3.8.12
Samba -2.2.5 with the parse_sec_patch
I have also added done_jobs=0 to the lpd.conf and printcap and
printcap.local files
Any help on this isssue would be apprecated. I am stuck with this problem.
Considering that the lpq output looks the same to me.

                                        Shane 




More information about the samba mailing list