[Samba] Re: Strange Problem with Sharp PCL Printer Drivers

Gerald (Jerry) Carter jerry at samba.org
Fri May 20 18:47:00 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thorsten Greeb wrote:

> Gerald (Jerry) Carter <jerry <at> samba.org> writes:
>  
>> My money would be on a driver bug.  I've seen 
>> instances wheredrivers work with MS servers but fail
>> on Samba boxes due to the fact the the driver doesn't
>> NULL terminate REG_SZ values.  The Windows server just
>> happens to use a different buffer size and zeros the
>> memory before sending the reply.  Could be something
>> similar here.
> 
> Could you give me any hints how to make sure this is 
> a driver bug?

The first thing I do is to test the driver on a remote
Windows print server after unchecking the 'enable advanced
print features' box.  This force the printer to use RAW
printing only.  I've found that some drivers only work
with EMF printing.

Other than that it gets pretty hard to definitely determine
a driver bug in the registry data.  Basically comes down
to comparing bits in the PrinterData registry values between
a Samba printer and a local printer object using the same
driver.




cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back."     Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCjjCkIR7qMdg1EfYRAjTsAJ4+dXTuPO6YJSfPhs9FhlzdYSOyKQCgxbXy
hNk+fZovZWpttJBWd2YuE8s=
=3mSt
-----END PGP SIGNATURE-----


More information about the samba mailing list