[Samba] GetPrinter Level 2 does not get devmode

Gerald Carter jerry at samba.org
Mon Oct 7 23:58:01 GMT 2002


On Thu, 10 Oct 2002 Rohit.Wadhwa at tabs.toshiba.com wrote:

> I uploaded the drivers from a Windows 2000 workstation, with the APW. No
> errors were reported on the windows machine. This is supposed to set
> the, printer_info and devmode on the samba server, right? No other step
> from the client is needed to set these, as far as I know.

Rohit,

Setting the devmode requires that the driver be executed (which 
samba can't do).  Please read the Printing section regarding this in
http://samba.org/samba/docs/Samba-HOWTO-Collection.pdf

> Also, PRINTER_INFO_2 is NOT null. PRINTER_INFO_2->devmode is null, (just
> to clarify). I have not checked the log while uploading, but while
> downloading I have and I see a message "Returning NULL devicemode!" .

Yes.  I know exactly of the problem which you speak.  :-)





cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "SAMS Teach Yourself Samba in 24 Hours" 2ed.       ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--




More information about the samba mailing list