Hello. I use Linux 2.0.30(Red Hat) and Samba 1.9.16p. Clients are Win95, NT Workstations and Servers. I use Linux like printserver and bridge. And I have problem with my printer HP LaserJet 4MV with JetDirect card. It print 1 test page( or another 1 page) and print after it second page: User: root Host: LINUX Class: LINUX Job: testpage-a4.ps Please help me. I want to kill this second page. My printcap: hpmv:\ :sd=\var\spool\lpd\hpmv:\ :sh:\ :mx#0:\ :lp=\dev\null:\ :rm=192.168.92.4:\ :rp=raw:\ :if=\var\spool\lpd\hpmv\filter: I use Postcript on the printer.
Do "telnet address.of.your.jetdirect" (192.168.92.4 in your case) from your shell command line. Then type "?" to get help and look for the "banner page" parameter. Luck, E.- Kiwa S. N. <kr@remark.belpak.minsk.by> wrote: : I use Linux 2.0.30(Red Hat) and Samba 1.9.16p. : Clients are Win95, NT Workstations and Servers. I use : Linux like printserver and bridge. And I have problem : with my printer HP LaserJet 4MV with JetDirect card. : It print 1 test page( or another 1 page) and print : after it second page: : User: root : Host: LINUX : Class: LINUX : Job: testpage-a4.ps : : Please help me. I want to kill this second page. : My printcap: : hpmv:\ : :sd=\var\spool\lpd\hpmv:\ : :sh:\ : :mx#0:\ : :lp=\dev\null:\ : :rm=192.168.92.4:\ : :rp=raw:\ : :if=\var\spool\lpd\hpmv\filter: : I use Postcript on the printer. -- Eloy A. Paris Information Technology Department Rockwell Automation de Venezuela Telephone: +58-2-9432311 Fax: +58-2-9431645
Hi, We just picked up a new client that didn't want to pay the Micr$oft tax so we installed Samba. There are a variety of issues we need to work through, the first of which is printing to a JetDirect 500X 3 port print server. They have 2 other models that we have working. pcguest belongs to the lp group. The permissions on all spool directories are the same. Here is the relatevant section of smb.conf: This works. [HP1220C] available = yes comment = Our HP DeskJet 1220C Printer path = /var/spool/lpd/HP1220c print command = /usr/bin/lpr -P%p -r %s queuepause command = /usr/sbin/lpc -P%p stop queueresume command = /usr/sbin/lpc -P%p start public = yes writable = no printable = yes browsable = yes force user = pcguest create mask = 0777 This doesn't work. [HP4100] available = yes comment = Our HP 4100 Printer path = /var/spool/lpd/HP4100 print command = /usr/bin/lpr -P%p -r %s queuepause command = /usr/sbin/lpc -P%p stop queueresume command = /usr/sbin/lpc -P%p start public = yes writable = no printable = yes browsable = yes force user = pcguest create mask = 0777 This is Printcap: This Works. # HP DeskJet 1220c printer: HP1220c:sd=/var/spool/lpd/HP1220c:rw:sh:rm=hp1220c:rp=raw: This doesn't work. # HP OfficeJet K80: HPK80:sd=/var/spool/lpd/HPK80:rw:sh:rm=jd500x:rp=raw1: # HP DesignJet 750c Color Plotter: HP750c:sd=/var/spool/lpd/HP750c:rw:sh:rm=jd500x:rp=raw2: # HP LaserJet 4100 Printer: HP4100:sd=/var/spool/lpd/HP4100:rw:sh:rm=jd500x:rp=raw3: I suspect "rp=raw1, rp=raw2, rp=raw3" is the problem. Thanks -- Bob Crandell Assured Computing When you need to be sure. Voice 541-689-9159 FAX 240-371-7237 bob@assuredcomp.com www.assuredcomp.com Eugene, Or. 97402
Thanks, I'll check this out. Norbert@ wrote*:> >i?ve got the same problem with the 500x... > >my solution uses the "nc" (netcat) tool to send the raw data to port 9102 (lpt2) of >the printerserver. > >check out the attached printcap, relevant smb.conf & the shellscript which calls nc > >you have to modify it to suit your needs (port of printserver, ip-addresses ..) > >have fun > >Norbert > >Bob Crandell wrote: > >> Hi, >> >> We just picked up a new client that didn't want to pay the Micr$oft tax so we >> installed Samba. There are a variety of issues we need to work through, thefirst>> of which is printing to a JetDirect 500X 3 port print server. They have 2 other >> models that we have working. >> >> pcguest belongs to the lp group. >> The permissions on all spool directories are the same. >> >> Here is the relatevant section of smb.conf: >> This works. >> [HP1220C] >> available = yes >> comment = Our HP DeskJet 1220C Printer >> path = /var/spool/lpd/HP1220c >> print command = /usr/bin/lpr -P%p -r %s >> queuepause command = /usr/sbin/lpc -P%p stop >> queueresume command = /usr/sbin/lpc -P%p start >> public = yes >> writable = no >> printable = yes >> browsable = yes >> force user = pcguest >> create mask = 0777 >> >> This doesn't work. >> [HP4100] >> available = yes >> comment = Our HP 4100 Printer >> path = /var/spool/lpd/HP4100 >> print command = /usr/bin/lpr -P%p -r %s >> queuepause command = /usr/sbin/lpc -P%p stop >> queueresume command = /usr/sbin/lpc -P%p start >> public = yes >> writable = no >> printable = yes >> browsable = yes >> force user = pcguest >> create mask = 0777 >> >> This is Printcap: >> This Works. >> # HP DeskJet 1220c printer: >> HP1220c:sd=/var/spool/lpd/HP1220c:rw:sh:rm=hp1220c:rp=raw: >> >> This doesn't work. >> # HP OfficeJet K80: >> HPK80:sd=/var/spool/lpd/HPK80:rw:sh:rm=jd500x:rp=raw1: >> # HP DesignJet 750c Color Plotter: >> HP750c:sd=/var/spool/lpd/HP750c:rw:sh:rm=jd500x:rp=raw2: >> # HP LaserJet 4100 Printer: >> HP4100:sd=/var/spool/lpd/HP4100:rw:sh:rm=jd500x:rp=raw3: >> >> I suspect "rp=raw1, rp=raw2, rp=raw3" is the problem. >> >> Thanks >> -- >> Bob Crandell >> Assured Computing >> When you need to be sure. >> Voice 541-689-9159 >> FAX 240-371-7237 >> bob@assuredcomp.com >> www.assuredcomp.com >> Eugene, Or. 97402 >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: http://lists.samba.org/mailman/listinfo/samba >-- Bob Crandell Assured Computing When you need to be sure. Voice 541-689-9159 FAX 240-371-7237 bob@assuredcomp.com www.assuredcomp.com Eugene, Or. 97402