K
Kartik Narayanan
Hi,
We are developing monolithic printer drivers on Windows XP and Windows 2003.
Currently we are facing a peculiar problem in a scenario where printer driver
is installed on Windows XP x86 machines (Print server) and shared. From
another Windows XP x86 machine (client) I have accessed the server XP machine
over network and double clicked the shared printer icon. It got installed
successfully.
But in the above scenario OpenPrinter is failing with a desired access value
as PRITNER_ALL_ACCESS. If we change it to PRINTER_ACCESS_USE OpenPrinter has
passed but which is no use to call SetPrinterData.
This is happening only in case of both server and client as XP x86. This is
not happening when we use Windows 2003 as Print server and Windows XP as
client.
Is this behavior expected? If so, as I have logged in an account where I
have administrative rights we are expecting OpenPrinter with
PRINTER_ALL_ACCESS as desired access value should get passed.
Any information on this would be a great help for our printer driver project.
Thanks and Regards,
Kartik.
We are developing monolithic printer drivers on Windows XP and Windows 2003.
Currently we are facing a peculiar problem in a scenario where printer driver
is installed on Windows XP x86 machines (Print server) and shared. From
another Windows XP x86 machine (client) I have accessed the server XP machine
over network and double clicked the shared printer icon. It got installed
successfully.
But in the above scenario OpenPrinter is failing with a desired access value
as PRITNER_ALL_ACCESS. If we change it to PRINTER_ACCESS_USE OpenPrinter has
passed but which is no use to call SetPrinterData.
This is happening only in case of both server and client as XP x86. This is
not happening when we use Windows 2003 as Print server and Windows XP as
client.
Is this behavior expected? If so, as I have logged in an account where I
have administrative rights we are expecting OpenPrinter with
PRINTER_ALL_ACCESS as desired access value should get passed.
Any information on this would be a great help for our printer driver project.
Thanks and Regards,
Kartik.