[Samba] GetPrinter Level 2 does not get devmode

Rohit.Wadhwa at tabs.toshiba.com Rohit.Wadhwa at tabs.toshiba.com
Tue Oct 8 16:51:02 GMT 2002

Hi Jerry,

I just went through Samba-HOWTO-Collection.pdf and am going to try
'tickling' the driver to save a devmode. Thanks for the pointer Jerry.

Also, I uploaded my drivers using the same process on a HP 4200 Print
Server Appliance which runs Samba too. I do not remember tickling anything
to set the devmode on the server , but I can still get devmode through my
program. I guess I need to verify this again.



                    Gerald Carter                                                                                                             
                    <jerry at samba.        To:     Rohit Wadhwa/DSE/IRV/TOSHIBA-TABS at TOSHIBA-TABS                                               
                    org>                 cc:     samba at samba.org                                                                              
                                         Subject:     Re: [Samba] GetPrinter Level 2 does not get devmode                                     
                    04:56 PM                                                                                                                  

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.


Setting the devmode requires that the driver be executed (which
samba can't do).  Please read the Printing section regarding this in

> 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