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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 5:38 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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 [EMAIL PROTECTED] 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
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba