Harondel J. Sibble
2000-Apr-05 15:28 UTC
Problems with Intel Netport Printserver and Samba
Running RH6.0 I am able to print just fine from linux, the problem now is getting smb printing working. I am using an Intel Netport Express PRO/100 printserver. Previous to my upgrade from RH5.2 when I had the printer directly connected to the samba server, I was able to print just fine from the windows client machines (not using the raw method) My /etc/printcap is as follows ##PRINTTOOL3## REMOTE cdj500 300x300 letter {} DeskJet500 3 1 lp|HPDJ540|DESKJET:\ :sd=/var/spool/lpd/lp:\ :mx#0:\ :sh:\ :rm=192.168.1.100:\ :rp=LPT1_PASSTHRU:\ :if=/var/spool/lpd/lp/filter: ##PRINTTOOL3## REMOTE ljet3 300x300 letter {} LaserJet3 Default 1 lp0|BROTHER_HL-10V|LASER:\ :sd=/var/spool/lpd/lp0:\ :mx#0:\ :sh:\ :rm=192.168.1.100:\ :rp=LPT2_PASSTHRU:\ :if=/var/spool/lpd/lp0/filter: This works fine from linux. OTOH, smb printing via samba doesn't work at all. NO data gets to the printserver and from looking around as I am printing, nothing gets into the spooler queue either. (not 100% sure of this though) I pulled down my various samba books and started going through what I've done for previous clients and remembered it was usually easiest to just use a raw printer queue and allow the clients printer drivers to format the document and have lpd just pass it directly to the printer without modification, thusly: raw|raw printer for MS Windows Clients :rw :sh :lp=/dev/lp0 :sd=/var/spool/lpd/raw :fx=flp The problem is modifying this for use with the printserver, this is my most recent try, that failed, can anyone see anything obviously wrong with the setup below? ##RAW PRINTER FOR SENDING VIA SMB FROM WINDOWS BOXEN## raw|raw_deskjet1 :rw:\ :sh:\ :sd=/var/spool/lpd/raw:\ :fx=flp:\ :rm=192.168.1.100:\ :rp=LPT1_PASSTHRU: TIA ------- End of forwarded message ------- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. help@pdscc.com (pgp enabled) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager)
Harondel J. Sibble
2000-Apr-06 23:08 UTC
Problems with Intel Netport Printserver and Samba
After a pretty much all day troubleshooting session, the problem is solved, samba was using by default the wrong printing command. I added the following to my printers share and now all is well: print command = lpr %p %s Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. help@pdscc.com (pgp enabled) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager)
Harondel J. Sibble
2000-Apr-10 20:40 UTC
Problems with Intel Netport Printserver and Samba
Okay, again, I can print fine from linux, samba shows both printers as being available, winodws loads the printer drivers for both printers just fine. However when I print a windows test page to the laser printer (lp0) it ends up on the inkjet at (lp), if I add a printer at lp1 with same settings as lp0 and try printing, the same thing happens... <sigh> This problem appears to be specifically a samba issue as printing directly from linux, print jobs end on the correct printers and printing otherwise works fine, however, when printing via samba any job sent to the secondary port on the printserver ends up somehow printing out on the first port. This box is running Rh6.0 and Samba 2.0.3-8. The printserver is the Intel Netport Express PRO/100. I am about at my wits end and ready to dump both printers and the printserver out the window. Somebody HELP please!!! <whimper> # # This printcap is being created with printtool v.3.40 # Any changes made here manually will be lost if printtool # is run later on. # The presence of this header means that no printcap # existed when printtool was run. # ##PRINTTOOL3## REMOTE cdj500 300x300 letter {} DeskJet500 3 1 lp:\ :sd=/var/spool/lpd/lp:\ :mx#0:\ :sh:\ :rm=192.168.1.100:\ :rp=LPT1_PASSTHRU:\ :if=/var/spool/lpd/lp/filter: ##PRINTTOOL3## REMOTE ljet3 300x300 letter {} LaserJet3 Default 1 lp0:\ :sd=/var/spool/lpd/lp0:\ :mx#0:\ :sh:\ :rm=192.168.1.100:\ :rp=LPT2_PASSTHRU:\ :if=/var/spool/lpd/lp0/filter: Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. help@pdscc.com (pgp enabled) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager)
mike.phillips@exgate.tek.com
2000-Apr-12 09:46 UTC
Problems with Intel Netport Printserver and Samba
G'day all, Harondel J. Sibble wrote>Okay, again, I can print fine from linux, samba shows both printers asbeing>available, windows loads the printer drivers for both printers just fine. >However when I print a windows test page to the laser printer (lp0) it endsup on the >inkjet at (lp), if I add a printer at lp1 with same settings as lp0 and try printing, the >same thing happens... <sigh>>This problem appears to be specifically a samba issue as printing directly >from linux, print jobs end on the correct printers and printing otherwise >works fine, however, when printing via samba any job sent to the secondary >port on the printserver ends up somehow printing out on the first port.Check your smb.conf. You are looking for the entry of your printer name. I have \\crab\marlp42 as a printer. In my smb.conf I have... [marlp42] comment=Inkjet printer under desk path=/tmp guest=ok print=ok print command=lpr -r -Pmarlp42_r %s and my printcap has entry's for a printer called marlp42 and marlp42_r marlp42_r is the actual remote printer marlp42 is just an entry for local use on the Unix box as I need a filter. Maybe you have a print command entry so it always goes to lp instead of lp0 Hmm, on further inspection I notice that the IP address for lp and lp0 are the same! but maybe that is your Intel Netport printer server. I would suggest this is a print server problem and not samba/linux problem. Make sure you have the queue names correct (LPT1_PASSTHRU, LPT2_PASSTHRU). To test if samba is correct, stop the queues on linux, print via samba to each queue and then have a look at lp and lp0 if samba/linux is OK then you will have one job in each queue waiting to print. (You probably find, on the Intel printserver, that if a queue name is invalid it defaults to queue 1 what ever that is called.) 'ooroo Mike...(:)-) --------------------------------------------------- o Email: mike.phillips@tek.com o //// Work: + 44 (0)8707 405803 /@ `\ /) ~ CDP: 855 2538 > (O) X< ~ Fish!! Mob: + 44 (0)7785 762976 `\___/' \) ~ Home: + 44 (0)8707 405804 \\\ ---------------------------------------------------