Lee Leahu
2002-May-21 08:18 UTC
[Samba] HP Jetdirect, Intel Netport, Samba, And Windows XP
Hello, I have a bunch of Windows XP Pro machines, Samba 2.2.4, and several plotters on Jetdirect cards, and several printers on Netport 10/100 Muli-port network print servers. I have successfully configured Samba 2.2.4 to allow Windows XP to join the domain controlled by Samba and automaticaly create its own computer account on Samba. I would now like to setup Samba to share all the printers and plotters to the XP machines. I have recently just downloaded, compiled, and installed the latest version of LPRng on my server. I setup the printcap file to point to the jetdirect card attached to my HP DesignJet 2500 CP plotter and my HP DesignJet 755 CM PS plotter. When I use lpr to print a plain text file to the plotter, using the -V and/or the -D<number> switches, I am able to determine that LPRng (the server) is successfully accepting the messages. My problem is that when LPRng goes to send the text to the plotter, the plotter responds back with 'invalid character or line terminated by EUL command' or something similar to that. My question is should I be concerned with being able to print directly from my server? If not, how could I setup LPRng and Samba so that Samba will share the printers directly and only pass the data along (kind like raw mode?)? My third question is how can I configure Samba to use the printers attached to the multi-port network print servers (according to JetAdmin 3.42, all three ports on the network print server have the same mac and ip addresses)? Thanks, Lee Leahu
Van Sickler, Jim
2002-May-21 09:24 UTC
[Samba] HP Jetdirect, Intel Netport, Samba, And Windows XP
> -----Original Message----- > From: Lee Leahu [mailto:lee@ricis.com] > Sent: Tuesday, May 21, 2002 8:11 AM > To: samba@lists.samba.org > Subject: [Samba] HP Jetdirect, Intel Netport, Samba, And Windows XP > > > Hello, > > I have a bunch of Windows XP Pro machines, Samba 2.2.4, and > several plotters on Jetdirect cards, and several printers on > Netport 10/100 Muli-port network print servers. >Lee, Check the previous msg from John Schmerold [john@katy.com] the second link has most of what you need, with port numbers. I've set mine up a bit differently, but if I can get bi-dir comms working using ports, I'll use those instead. I'm also using LPRng. Here's my setup, : Lexmark Optra S 1250: IP:lxkXXXXXX (lxk, then last 6 of MAC address) e.g. 192.168.1.20:lxk13B7D7 Intel NetPort Pro, 2 LPT, 1 Serial (not used) LPT1= IP:LPT1_PASSTHRU LPT2= IP:LPT2_PASSTHRU JetDirect IP:raw Mita Ci1000, Fiery print queue: IP:xjprint Mita Ci1000, Fiery hold queue: IP:xjhold TekTronix Phaser 550: IP:AUTO Printcap: .common:cm=Common Settings Go Here:sd=/var/spool/lpd/%P:mx=0:sh:lf=log hp4plus:cm=HP4Plus by Graphics PC:tc=.common:rm=192.168.1.20:rp=raw hp4mv:cm=B Size LaserJet by Optra:tc=.common:rm=192.168.1.21:rp=raw hp450c:cm=E Size Plotter:tc=.common:rm=192.168.1.22:rp=LPT2_PASSTHRU hp570:cm=OfficeJet 570 by Plotter:tc=.common:rm=192.168.1.22:rp=LPT1_PASSTHRU mita:tc=.common:sh:rm=192.168.1.23:mx#0:cm=Mita Ci1000 Color Laser:rp=xjprint: mitaq:tc=.common:sh:rm=192.168.1.23:mx#0:cm=Mita RIP Queue:rp=xjhold phaser:tc=.common:sh:rm=192.168.1.24:mx#0:cm=Phaser 550 Color Laser:rp=AUTO smb.conf: [print$] path = /eodc/printers read only = yes browseable = yes comment guest ok = no [HP4Plus] comment = HP4Plus by Graphics PC path = /var/spool/samba/hp4plus writeable = no printable = yes printer name = hp4plus use client driver = no [HP4MV] comment = B Size Printer by Optra path = /var/spool/samba/hp4mv writeable = no printable = yes printer name = hp4mv use client driver = no [HP450C] comment = E Size Color Plotter path = /var/spool/samba/hp450c writeable = no printable = yes printer name = hp450c use client driver = no [HP570] comment = OfficeJet 570 by HP450C Plotter path = /var/spool/samba/hp570 writeable = no printable = yes printer name = hp570 use client driver = no [MitaCi1000] comment = Mita Ci1000 Color Laser by Graphics PC path = /var/spool/samba/mita writeable = no printable = yes printer name = mita use client driver = yes [Mita_HoldQueue] comment = Mita Ci1000 RIP Queue path = /var/spool/samba/mitaq writeable = no printable = yes printer name = mitaq use client driver = yes [Optra_S_1250] comment = Lexmark Optra S 1250 path = /var/spool/samba/optra writeable = no printable = yes printer name = optra use client driver = yes [Phaser_550] comment = Phaser 550 Color Laser path = /var/spool/samba/phaser writeable = no printable = yes printer name = phaser use client driver = yes