Ok, here's my setup: I've had a samba file server going for about a year now. It's Samba v2.05a on a RH6.0 sys. Currently we have a printer server running on a Winblows NT box. This NT box has the following printers: HP5si, (4) HP4000, and a few HP4s. All of those printers have Jet Direct ports on them. What I want to do is, move all the printers over to the Samba box and KILL the NT box. Reading into the Samba book, it seems that yes, Samba can become a print server by reusing existing shares off of other Winblows, unix or Novell shares, or directly connected printers. I don't want to share these printers off of another computer, I want them all on one sys. Does this mean I have to install allot of parallel ports? Cant I just use the Jet Direct ports? I just purchased an HP8000N to add to the printer collection. I will use this printer for initial testing. OK, here is my final question: what is the best way to go about setting all of this up????
Gerry Maddock wrote:> Ok, here's my setup: I've had a samba file server going for about a year > now. It's Samba v2.05a on a RH6.0 sys. Currently we have a printer > server running on a Winblows NT box. This NT box has the following > printers: HP5si, (4) HP4000, and a few HP4s. All of those printers have > Jet Direct ports on them. What I want to do is, move all the printers > over to the Samba box and KILL the NT box.yes> > Reading into the Samba book, it seems that yes, Samba can become a print > server by reusing existing shares off of other Winblows, unix or Novell > shares, or directly connected printers. I don't want to share these > printers off of another computer, I want them all on one sys.yes> Does this mean I have to install allot of parallel ports?no> Cant I just use the Jet Direct ports?yes - and your Windows users should be able to just print to the HPs without even using an intermediary print server, i.e. they have their own IP/IPX/NetBIOS server capability on board.> I just purchased an HP8000N to add to the printer > collection. I will use this printer for initial testing. OK, here is my > final question: what is the best way to go about setting all of this > up????The HP4000, (and should be same for the 8000) with an ethernet adapter in it - you can telnet to it and configure it once you set it up on the control panel with an address. I had a client with a Linux DHCP server that gives the HP printer's their addresses with BOOTP - works fine or you can assign an address with the control panel on the printer. Additionally, you can redirect print jobs from the Linux machine to those remote printers using lpr and setting up /etc/printcap with rm:someipaddress entries. Sorry I don't have that config with me. My success with Samba printing took a lot of hai pulling, but essentially, if you can get the printers to work as Linux printers, either local or remote, then sharing them under Samba *generally* works. Don't try to make Samba work until you've debugged the basics of Linux printing. I have typically used Samba as a Windows-pass-thru print server. Essentially, hanging a printer of any kind off of a Linux box - and then just sharing it : /etc/printcap entry: optra|Optra SC 1275|lp:\ :lp=/dev/lp0:\ :sd=/tmp:\ :mx#0:\ /etc/smb.conf: [global] printing = bsd printcap name = /etc/printcap load printers = yes guest account = nobody log file = /tmp/log.%m workgroup = WORKGROUP preserve case = yes server string = Optra SC 1275 Samba Print Server print command = echo Printing %s >> /tmp/print.log; lpr -P %p %s; rm %s [optra] comment = Optra SC 1275 path = /tmp/ writable = no public = yes printable = yes print ok = yes guest only = yes guest ok = yes create mode = 0755 All that the above config does is make the printer work for Windows clients. All the Windows clients do is send a giant glob of canned print data to the Linux box where is is simply spooled and fed to the printer. No formatting or filtering is done. On a SuSE box, you can insall Apsfilter, which essentially sets up a special set of filters that coordinate with Ghostscript to create a bunch of virtual printers. It makes a 'raw' printer, which is where you send Windows jobs, and this is the one you share, and no filters are run against the print jobs coming to this printer. It also sets up an 'lp', which is where you send 'lp' jobs to, i.e. you're sitting there surfing with Netscape in Linux, and you want to print, so you tell Netscape "lpr -Plp" and it will print that postscript job on the deskjet or epson 850 attached to the parallel port. You can turn a color printer with no postscript capability into a nice little postscript enabled printer this way. Works nicely, but you may have to hack some to get the font support beyond Times New Roman or Helvetica - whatever your Linux box has for fonts.. And any PCl jobs coming to the same box are just data-globs from Windows, so you get Postscript and PCL capabilty. I'm installing a new system this morning, once I get Apsfilter installed, I'll post the /etc/printcap ... -t-
Hello, I'm running Red Hat 7.2 with samba 2.2.3a. The problem I'm experiencing is that I am unable to get the printer drivers to load automatically when Windows clients are adding the printers. This is my smb.conf: ******************************************** # Global parameters [global] workgroup = LACORP netbios name = SMB-SRV server string = SMB-SRV security = SERVER encrypt passwords = Yes password server = title log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 local master = No dns proxy = No wins server = 172.30.1.4 printer admin = @ntadmin,root,admin,administrator printing = lprng printer driver file = /usr/local/samba/printers/printer.def [homes] comment = Home Directories valid users = %S read only = No create mask = 0664 directory mask = 0775 browseable = No [print$] path = /usr/local/samba/printers write list = @ntadmin,root,admin,administrator guest ok = Yes [printers] comment = All Printers path = /var/spool/samba guest ok = Yes printable = Yes browseable = No [INTE-JLee] path = /var/spool/samba read only = No guest ok = Yes printable = Yes printer name = INTE-JLee printer driver = HP 2100 PCL6 printer driver file = /usr/local/samba/printers/printers.def printer driver location = /usr/local/samba/printers/W32X86/HP2100 oplocks = No ***************************************************** One more item to note, when I use the make_printerdef command, I get an error message "Printer not found". The full command that I'm using is: make_printerdef /usr/local/samba/printers/W32X86/HP2100/HP212Ip6.inf "HP2100 PCL6">> printers.def I've loaded the Windows printer drivers onto /usr/local/samba/printers/W32X86/HP2100. Thanks for any info. -------------- next part -------------- HTML attachment scrubbed and removed
I was wondering if their was an option in samba that can control how many print jobs a samba/windows 98/XP client user can have in a day? ------------------------------------------------------------ Hopevale Union Free School District: http://www.hopevale.com
Nobody,> I was wondering if their was an option in samba that can control how > many print jobs a samba/windows 98/XP client user can have in a day?No way to get this done with Samba config options. Consult the man pages and docs of the printing system you are using. And please use your real name and provide more detail when posting to the list again. HTH, Uli
A friend of mine owns a print shop. He has 3 Lanier printers (models 2138, 5265, 5813) They are all LAN attached. I would like to set up a samba print server for these machines. I have used samba as strictly a PDC and file server. I have nerver set up a printer in Linux or in Samba. I would like to be pointed in the right direction in order to set this up. Thanks in advanced for any information. I have a custom built distribution on this system. I can install any printing solution (LPR, CUPOS, etc) that would be needed. I would like to know some of the advantages of each system. The Lanier systems support PS, PCL 5, and their own custom protocol. I will be printing from a W2k machine that is joined to a samba PDC. the serving I would like to set up would also be joined to this PDC. Scott Swaim scott@qualitycorps.com
Scott Swaim scott at qualitycorps.com wrote on Samba-Digest:> Mon May 5 11:33:54 GMT 2003 > > > A friend of mine owns a print shop. He has 3 Lanier printers> (models 2138, 5265, 5813) They are all LAN attached. I would like > to set up a samba print server for these machines. I have used > samba as strictly a PDC and file server. I have nerver set up > a printer in Linux or in Samba. Hmmm.. then the docu mentioned below is *definitely* for you.> I would like to be pointed in> the right direction in order to set this up. Thanks in advanced > for any information. Please testdrive from our new Samba-HOWTO-Collection the latest draft for the "printing chapters". It is at http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/ Revisit it every couple of days -- there are still updates and corrections going into it. Please feedback to me any issues and topics that are not clearly or suffciently dealt with.> I have a custom built distribution on this system. I can> install any printing solution (LPR, CUPOS, etc) that would be > needed. I would like to know some of the advantages of each > system. CUPS. CUPS is what you want. (But don't listen to me. I am biased)> The Lanier systems support PS, PCL 5, and their own> custom protocol. I will be printing from a W2k machine that > is joined to a samba PDC. the serving I would like to set up > would also be joined to this PDC.> > Scott Swaim > scott at qualitycorps.com >Cheers, Kurt
John H Terpstra jht at samba.org wrote on Samba-Digest:> Mon May 5 17:51:44 GMT 2003 > > > Scott, > > The following may help you a bit: > > http://samba.org/~jht/NT4migration/Samba-HOWTO-Collection.pdfThis has still most the *old* version of the printing docu included, and hardly anything from the new stuff. Believe me, the new stuff is *much* better, more complete and spiced with more examples.> Enjoy! > > PS: This is a work in progress and it is being added to/editted on a daily > basis until Samba-3 ships. The printing information applies to > samba-2.2.8a (current stable version) also.Hey, John.... ... you are selling sour lemons here... ;-) No, the *current* development state of the printing HOWTO chapter is hosted on http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/ (This is only temporarily until it is converted from HTML to Docbook/XML. Then it will go into the document John named. I hope this will be within the next 2 weeks or sooner.) Though it says it is for Samba 3.0, *most* things apply to Samba-2.2.x... Cheers, Kurt> I'd appreciate your feedback on it. > > - John T.On Mon, 5 May 2003, Scott Swaim wrote: A friend of mine owns a print shop. He has 3 Lanier printers (models 2138, 5265, 5813) They are all LAN attached. I would like to set up a samba print server for these machines. I have used samba as strictly a PDC and file server. I have nerver set up a printer in Linux or in Samba. I would like to be pointed in the right direction in order to set this up. Thanks in advanced for any information. I have a custom built distribution on this system. I can install any printing solution (LPR, CUPOS, etc) that would be needed. I would like to know some of the advantages of each system. The Lanier systems support PS, PCL 5, and their own custom protocol. I will be printing from a W2k machine that is joined to a samba PDC. the serving I would like to set up would also be joined to this PDC. Scott Swaim scott at qualitycorps.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba> -- > John H Terpstra > Email: jht at samba.org