Jeremy, Will there be any methodology available in 2.2 for installing print drivers without browsing to the PRINT$ share from a W2K/NT box? I've got about 180 printers (at least 30 different models) shared and I'm encountering some difficulties in installing drivers. I'm using 2.2a2 in an environment with both W2K and W98 clients. One very annoying inconsistency with W2K is making my life miserable. We've got some newer HP models which are not bundled with W2K. I downloaded the drivers from HP for both W2K and 95/98 platforms. I browse to my PRINT$ share from a W2K server. I'm able to install the W2K driver just fine, but when I go the "sharing" tab and try to install "Additional Drivers" for 95/98; W2K just errors out complaining the driver is not available. It does not give you the ability to browse for the driver! It just bombs out. It works fine for HP models which are native to W2K. All of my older HP printers are ready to use for both client platforms. Does 2.2 store driver info in the "/var/locks/ntdriver.tdb" file? Is there any way to edit this file? Is there any way to get the proper drivers installed from the command line on the Samba box? I'm excited about the flexibility of the way 2.2 supports multiple platforms for printing ... but already I'm missing the automated setup of 2.0. Errol Fouquet - UNIX SysAdmin Minerals Management Service, DOI 1201 Elmwood Park Blvd. New Orleans, LA 70123 Phone: (504) 736-3255 Fax: (504) 736-2464 email: errol.fouquet@mms.gov http://www.gomr.mms.gov
On Tue, 27 Mar 2001, Fouquet, Errol wrote:> Will there be any methodology available in 2.2 for installing print > drivers without browsing to the PRINT$ share from a W2K/NT box? I've > got about 180 printers (at least 30 different models) shared and I'm > encountering some difficulties in installing drivers.You can automate print driver installs using smbclient and rpcclient. See http://imprints.sourceforge.net for examples. The installation client here is simply a perl script wrapper for [smb|rpc]client. I'm also planning on working on a setdriver command for rpcclient to set the printer driver for an existing printer (using a previously installed driver). However, as of yet I have not designed an automated way of migrating printers.def into the new setup for 2.2. Cheers, jerry ---------------------------------------------------------------------- /\ Gerald (Jerry) Carter Professional Services \/ http://www.valinux.com/ VA Linux Systems gcarter@valinux.com http://www.samba.org/ SAMBA Team jerry@samba.org http://www.plainjoe.org/ jerry@plainjoe.org "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )