Bertil Starck
2003-Sep-04 08:51 UTC
[Samba] Howto install multiple printers using the same driver for Samba on Linux?
Hi, I would like to install multiple printers (about a hundred) to my Linux site. I have created a smb.conf-file with all the printers (and also a printers.conf as I use CUPS for printing). The printers are e.g. HP LJ 4050 and I do not want to install every one the manual way (I use NT for that). When I manually installs a printer e.g. HP LJ 4050 with driver within lj345.exe from microsoft, the suitable files will be installed in the print$ path set in the smb.conf, (I use, /var/lib/samba/printers/) W32X86/2 or 3-file.>From here I would like an automatic install of the next printer with the same model using the already installed driver, but I get this message "....The driver for the specified printer is notinstalled......." . Any hints to install all the printers with suitable drivers in one go? Best Regards Bertil Starck
Guenther Frick
2003-Sep-04 09:51 UTC
[Samba] Howto install multiple printers using the same driver for Samba on Linux?
If you use CUPS for printing each printer has an individal name (printer queue). So every user can take the right printer. You can find the printer PPD with names of their printer queue in the directory /etc/cups/ppd. With the program cupsaddsmb these PPDs are copied to $print folder and are publicly available. If you use also the CUPS Postscript driver the driver together with the PPDs can be downloaded to every Windows client using the printer installation wizard. So every user can install his own printer. Read the CUPS-Chapter in SAMBA-HowTo-Collection (in the SAMBA3-archive) for details
Bertil Starck
2003-Sep-04 14:23 UTC
[Samba] Re: Howto install multiple printers using the same driver for Samba on Linux?
Guenther wrote: If you use CUPS for printing each printer has an individal name (printer queue). So every user can take the right printer. You can find the printer PPD with names of their printer queue in the directory /etc/cups/ppd. With the program cupsaddsmb these PPDs are copied to $print folder and are publicly available. If you use also the CUPS Postscript driver the driver together with the PPDs can be downloaded to every Windows client using the printer installation wizard. So every user can install his own printer. Read the CUPS-Chapter in SAMBA-HowTo-Collection (in the SAMBA3-archive) for details Bertil wrote: Thanks Guenther for your quick and informative reply. But....that's not exactly what I was looking for, though. I want to have the installation automated on the server-side, so that the drivers for the specific printer are confirmed and installed on the Server. There's no problem to install a printer on a local PC. On WIN/NT I would like to have a program, like "adprintx.exe" (from www.jsifaq.com), where I can put these option "/c \\servername\printername /n "drivername" /s "driver_path". This adprintx.exe works fine and will put the desired printer on my local PC. Any hint on making it work on the Server-side as well? Best Regards Bertil Starck
Guenther Frick
2003-Sep-04 19:46 UTC
[Samba] Re: Howto install multiple printers using the same driver for Samba on Linux?
Ch. 22.4 of the SAMBA Howto Collection gives hints regarding network logon script. The text seems to be not complete yet but will be a good aim. But I think since the users use different printers you must write individual logon scripts. There should however be a pool of drivers for all devices.
John H Terpstra
2003-Sep-04 22:20 UTC
[Samba] Re: Howto install multiple printers using the same driver for Samba on Linux?
On Thu, 4 Sep 2003, Guenther Frick wrote:> Ch. 22.4 of the SAMBA Howto Collection gives hints regarding > network logon script. The text seems to be not complete yet > but will be a good aim.Oh? What is incomplete? Please provide either: 1) Your patch to the source so we can fix this before it ships 2) A summary of what is missing or incomplete 3) Point us in the direction of what is messed up Please do not stop at having rung the bell, help solve the problem. Open Source software is what it is because people help to solve the problem, not just complain about it and walk away. :) - John T.> > But I think since the users use different printers you must > write individual logon scripts. > > There should however be a pool of drivers for all devices. >-- John H Terpstra Email: jht@samba.org