printing from Windows NT to SAMBA queue
Marcel Kunath
kunathma at pilot.msu.edu
Thu Jan 18 23:01:29 GMT 2001
u using lprng and hp printer with jetdirect?
i had same problem once. was problem with print command in smb.conf here is my
printcap and smb.conf printer stuff
# /etc/printcap: printer capability database. See printcap(5).
# You can use the filter entries df, tf, cf, gf etc. for
# your own filters. See the printcap(5) manual page for further
# details.
#
#
smurf:cm=Network Printer smurf:\
:lp=smurf.montiehouse.com%9100:\
:sd=/var/spool/lpd/%P:\
:ifhp=model=hp2100,status@:\
:sh:\
:filter=/usr/local/libexec/filters/ifhp:\
:mx#0
[global]
workgroup = SHADOWWARRIOR
guest account = nobody
keep alive = 30
os level = 2
kernel oplocks = false
security = user
encrypt passwords = yes
[printers]
path = /var/spool/samba
print ok = yes
printing = lprng
printable = yes
printcap name = /etc/printcap
guest ok = yes
public = yes
[smurf]
path = /var/spool/samba
print ok = yes
printing = lprng
printable = yes
guest ok = yes
public = yes
print command = /usr/bin/lpr -P%p -r %s
lpq command = /usr/bin/lpq -P%p
lprm command = /usr/bin/lprm -P%p %j
lppause command = /usr/sbin/lpc hold %p %j
lpresume command = /usr/sbin/lpc release %p %j
queuepause command = /usr/sbin/lpc -P%p stop
queueresume command = /usr/sbin/lpc -P%p start
mk
> > HELP!! I
have setup a REMOTE and SMB
print queue on my > linux box. The linux box appears via the browse menu in
> network neighborhood and I can select the printer, but when
> I tried to print from 2000 or nt4 O/S the following error
> message occurs when I tried to print via an application: "a
> startdocprinter call was not issed". I also cannot print a
> test page from nt? From linux server, I can print using the
> REMOTE print queue. I have executed "testprns" and it
> indicated the printer was valid. I just do not know what
> else to do? Note: I also created a guest account for the
> queue and set a SMB password. HELP!! I am trying to move
> all of the services provided on my nt server to a linux
> server.
>
> JL Cox
>
>
--
Marcel Kunath
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Montie House Network Greater Lansing Linux Users Group
http://www.montiehouse.com http://www.gllug.org
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
More information about the samba
mailing list