[Samba] Strange Problem with Sharp PCL Printer Drivers
Gerald (Jerry) Carter
jerry at samba.org
Mon May 9 14:16:19 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thorsten Greeb wrote:
| We tried to investigate this by printing the raw data to
| a file and found this: When the printer is connected to a
| samba share the raw data stream generated by the sharp PCL
| driver contains some additional starting bytes with causes the
| printer to output nothing or garbage. We compared the raw
| data stream generated when connected to a Windows 2000
| share and found that these strange starting bytes where
| missing. Manually removing the bytes and sending the rest
| of the data stream to the printer gives us a fine printout.
|
| We notified the Sharp printer support but did not get
| any response so far.
|
| Is this a samba or printer driver problem?
My money would be on a driver bug. I've seen instances where
drivers 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.
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
iD8DBQFCf3CyIR7qMdg1EfYRAsloAKDnLSSqpOvZHr7McyFpmODqrUASpgCfV9rQ
EnsjK19kqnopmqG7JuEGU/Q=
=15lS
-----END PGP SIGNATURE-----
More information about the samba
mailing list