Displaying 2 results from an estimated 2 matches for "enumprinterkey".
2006 Dec 05
3
Incorrect pointers arithmetic in the PRINTER_ENUM_VALUES structure when calling Samba.
I try to use Win32API EnumPrinterDataEx to get registry key's values and
data from Samba print server (of course I previously connect to the
print queue and retrieve keys by EnumPrinterKey).
During the function execution (EnumPrinterDataEx) I collect ethereal
trace to verify correct data is sent on wire and that Ethereal can
correctly represent that info.
Some of the keys parsed correctly by wireshark (DsSpooler for example)
the others not (like PrinterDriverData).
However any ke...
2005 Jul 25
0
A workaround for printer drivers that crash with an exception error after uploading to Samba
...# net rpc printer migrate drivers "<printer name>" -U Administrator -S <windows machine name>
and then:
# net rpc printer migrate settings "<printer name>" -U Administrator -S <windows machine name>
This last command returns an error that says: "enumprinterkey failed: DOS
code 0x0000001f, got no key-data" but it still seems to work.
This has worked for me, and after doing it I was able to use the printers
normally and also modify their settings using a Windows client.
Hope this helps, but I suppose we need a better solution...
--
Fabio &q...