Stripping out all the comments and spaces, your smb.conf file for easier
reading is listed below:
Now, I thought your problem was seeing jobs in the print queue?
You should try adding the explicit commands to control the queue as I
have in my smb.conf, that is:
lpq command = /usr/bin/lpq -Plp
lprm command = /usr/bin/lprm -Plp %j
lppause command = /usr/sbin/lpc hold -Plp %j
lpresume command = /usr/sbin/lpc release -Plp %j
To avoid getting the printer listed twice, remove the load printers =
yes parameter in globals.
However, I am not not sure what your problem really is. Printing is
complicated. Please tell me just what your problem is, and post your
/etc/printcap file, and tell me if you can print to this printer from
linux or windows.
More comments, maybe not relevent to your situation, follow.
Now, printool is used to set up your linux printer on your samba
server, yes? Depending on the type of printer you have (postscript
versus nonpostscript) you may or may not need a separate, raw filter to
pass your print jobs to on the samba server. You need to have a raw or
unfiltered print definition in your /etc/printcap or you need a smart
filter which will not try to filter a binary or data file. Either should
be easy to set up. If you need print filter knowledge, read my tutorial
on print filters at linux stepbystep. Search for filter. If you need help
setting up your /etc/printcap file, post your current /etc/printcap file.
You will have to install the drivers on your windows box for this printer.
Install them like you would for any network printer.
Joel
========================================
[global]
workgroup = development
server string = Samba Server
security = server
password server = ntd_server_pdc
printing = lprng
print command = /usr/local/bin/lpr
printcap name = /etc/printcap
load printers = yes
printing = lprng
log file = /var/log/samba/%m.log
max log size = 0
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
[dominique]
comment = Home Directory
browseable = yes
writable = yes
path = /home/dhoffman
[HP_1600CM]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = yes
printing = lprng
print command = /usr/bin/lpr -r -P%p %s
browseable = no
guest ok = no
printable = yes
On Fri, Jan 04, 2002 at 06:14:05AM -0800, [EMAIL PROTECTED] wrote:
> Joel,
>
> Thanks for your reply. But here is the problem:
> Here is my smb.conf file. If I put the printer in the smb.conf file and
create the printer with the printtool, when I browse network neighborhood
to install the printer, I see 2 printers.
> So, do I use the windows driver, configure the printer in smb.conf
and forget about the printtool? > >
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------