Setting printer attributes from API Security problem
From: Adam Jawer (ajawer@customcama.com)
Date: 02/13/03
- Next message: Dave Harrison: "Certificate Server 2.0"
- Previous message: Karl Levinson [x y] mvp: "Re: How do I get the ip address of a computer involved in a logon/logoff event?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Adam Jawer" <ajawer@customcama.com> Date: Thu, 13 Feb 2003 14:23:55 -0500
This is a programming question but it directly involves security - apologies
in advance...
I am trying to set the printer Port using the SetPrinter function of the
winspl.dll.
I am able to query the existing settings but when I try to set them myself
the function fails with error code 5 (Access is denied.) I tried setting the
permissions on the Security tab of the printer properties to allow my user
name to manage printers but this didn't do anything. Is there something
obvious that I'm missing or is the Access Denied because of some internal
Security Descriptor issue?
Thanks,
Adam
- Next message: Dave Harrison: "Certificate Server 2.0"
- Previous message: Karl Levinson [x y] mvp: "Re: How do I get the ip address of a computer involved in a logon/logoff event?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|