[Samba] GetPrinter Level 2 does not get devmode

Gerald Carter jerry at samba.org
Mon Oct 7 22:57:01 GMT 2002


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

> Hi all,
> 
> I have uploaded the printer drivers succesfully on RedHat Linux/ Samba
> 2.2.4 server. I can download and print without any problems. But when I do
> Windows API call GetPrinter with PRINTER_INFO_2, the devmode in
> printer_info is always null. My code looks like

Did you ever get the client to set it?  See the instructions in the 
Printing HOWTO one samba.org/docs

> I have checked the dump of nt_printers.tdb by tdbtool and the tdb looks
> ok. I can see the devmode properly there.

Are you sure about this?  Did you check a level 10 debug log on the samba 
box?





cheers, jerry




More information about the samba mailing list