Well, not like it should. I can capture a printer with the "net use
lpt1:" command, but I would really like to be able to print to any one
of the three printers in my printcap.
NT gives me the error: "The parameter is incorrect". I attached the
error message screen below, in .png format.
This worked for the last printer I had. All I changed was the printer
and the printcap, via RH 6.0 printtool. The printers show up fine in
Network Neighborhood, and I installed the printer drivers on NT. When I
double-click on any of the 3 printers in NN, it opens the printer spool
window. But when I try to print a test page, I get the parameter error.
I running NT 4.0 WS SP 5, Linux, RH 6.0 w/kernel 2.2.12, and samba
2.0.5a. The printer is an Epson Stylus Color 740. Any help would be
appreciated.
In smb.conf I have:
Under [global] I have:
printing = bsd
printcap name = /etc/printcap
load printers = yes
my printers section:
;*******************section printers*****************
[printers]
comment = All Printers
path = /var/spool/samba
browseable = True
printable = yes
public = True
writable = no
create mode = 0700
My /etc/printcap:
##PRINTTOOL3## LOCAL TEXT NAxNA letter {} TextPrinter Default {}
lptext:\
:sd=/var/spool/lpd/lptext:\
:mx#0:\
:sh:\
:lp=/dev/lp0:\
:if=/var/spool/lpd/lptext/filter:
##PRINTTOOL3## LOCAL uniprint NAxNA letter {} U_EpsonStylusColor
stc740pl {}
lp360:\
:sd=/var/spool/lpd/lp360:\
:mx#0:\
:sh:\
:lp=/dev/lp0:\
:if=/var/spool/lpd/lp360/filter:
##PRINTTOOL3## LOCAL uniprint NAxNA letter {} U_EpsonStylusColor stc740p
{}
:sd=/var/spool/lpd/lp720:\
:mx#0:\
:sh:\
:lp=/dev/lp0:\
:if=/var/spool/lpd/lp720/filter:
##PRINTTOOL3## LOCAL uniprint NAxNA letter {} U_EpsonStylusColor
stc740ih {}
lp1440:\
:sd=/var/spool/lpd/lp1440:\
:mx#0:\
:sh:\
:lp=/dev/lp0:\
:if=/var/spool/lpd/lp1440/filter:
--
Matthew Vanecek
Course of Study: http://www.unt.edu/bcis
Visit my Website at http://people.unt.edu/~mev0003
For answers type: perl -e 'print
$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
*****************************************************************
For 93 million miles, there is nothing between the sun and my shadow
except me. I'm always getting in the way of something...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image2.png
Type: image/png
Size: 4486 bytes
Desc: not available
Url :
http://lists.samba.org/archive/samba/attachments/19990922/b751cfcf/Image2.png
Michael, Did you receive any useful tips in the mean time? For one of our supported organisations I'm investigating a not able to remove print jobs, as well. So I hope you would like to share the tips, in return I could try to be of assitance as well. Greetings, Frans> > To: samba@samba.org > Subject: Cannot remove Printjob from Queue > > > Hi, > we have Samba 2.0.4b on Solaris 7 with NT4-Clients Sp4/5, the same > happens with 2.0.5a on Solaris 2.6 > We want to manage Printjobs from the NT-Clients and defined the > commands lpq and lprm. The print queues are located on the Unix-box. > Every user can see the printjobs by doubleclicking on the network > printer symbol. > The name of the printjob in the queue is not the real name, you see, if > you are logged on the unix machine. On the NT machine you see instead > the username. Canceling the printjob on the NT machine does nothing. > Does NT try to cancel a job, named with the username?? > Performing the the cancel command defined in smb.conf on the unix > machine works without problems. > > Canceling printjobs worked on solaris 2.6 until I applied the latest > lp-patch. On Solaris 7 it worked never. > > Parameters in smb.conf: > [global] > printing = sysv > printcap name = /opt/samba/printcap > print command = echo Printing %s >> /u07/printtmp/print.log; lp -o > nobanner -d %p %s > lpq command = lpstat -o%p > lprm command = cancel %p-%j > load printers = yes > socket options = TCP_NODELAY > dead time = 60 > getwd cache = yes > lock directory = /var/opt/samba/locks > share modes = yes > > [HP-5N-Market] > comment = HP-5N-Marketing > browseable = yes > printable = yes > printer = HP5N_MARK > printer driver = HP Laserjet 5N > path = /u07/printtmp > public = yes > writeable = no > create mode = 0700 > > Anyone an idea? Please could you send your answers with cc to me. > Thanks > Michael Koehler > -- > G.C. HAHN & Co. > Coordinationsges. mbH > Aegidienstrasse 22 > 23552 L?beck > Germany > > Tel: 0049 451 1604-157 > Fax: 0049 451 1604-250 > email: mk@hahn-co.de-- Kind Regards / Vriendelijke Groeten, Frans Stekelenburg, gjs@acriter.com Acriter, Intranet Facility Services (IFS) Postbus 320, 3990 GC Houten, the Netherlands * Bezoek/Visit: Kokermolen 6, 3994 DH Phone: +31 (0)30 6344010 Fax: 6444011 * For Information: info@acriter.com