[Samba] GetPrinter Level 2 does not get devmode
Arcady Chernyak
Arcady.Chernyak at efi.com
Mon Oct 7 23:51:00 GMT 2002
Are you now something about specific data binary data named "PrinterData", have length 560 bytes and saved into
ntprinters.tdb file.
This structure has any incompatibility between NT and 2K drivers.
Thanks
Arcady
-----Original Message-----
From: Rohit.Wadhwa at tabs.toshiba.com
[mailto:Rohit.Wadhwa at tabs.toshiba.com]
Sent: Thursday, October 10, 2002 5:38 AM
To: jerry at samba.org
Cc: samba at samba.org
Subject: Re: [Samba] GetPrinter Level 2 does not get devmode
Hi Jerry,
>Did you ever get the client to set it? See the instructions in the
>Printing HOWTO one samba.org/docs
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. 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!" .
> I have checked the dump of nt_printers.tdb by tdbtool and the tdb looks
> ok. I can see the devmode properly there.
When I say I have checked the dump of nt_printers.tdb, I mean I have
visually verified. I know there
can be something wrong with the tdb, so I am going to check again.
Thanks and best regards,
Rohit.
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
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list