|
From: kobi1 on 1 Jul 2008 07:52 I am trying to enable the printer sharing in windows XP programmatically. The operation i am trying to imitate is: 1. right click on a local printer (in printers and faxes window). 2. choose sharing from menu. 3. press on the "I understand the security risk..." hyper link. 4. choose just enable printer sharing. 5. press on the "OK" button. I have tried to look all over the web for what happening below the surface when i choose the "Just enable printer sharing" but could not find a clue. Please help me understand what is happening when i choose the "just enable printer sharing" and how can I imitate it? Thanks, Kobi.
From: Christian ASTOR on 1 Jul 2008 08:54 On 1 juil, 13:52, ko...(a)hotmail.com wrote: > Please help me understand what is happening when i choose the "just > enable printer sharing" and how can I imitate it? OpenPrinter()-GetPrinter() Attributes |= PRINTER_ATTRIBUTE_SHARED SetPrinter()-ClosePrinter()
From: kobi1 on 6 Jul 2008 11:47 You have provided me a way to share a specific printer. I want to enable the printer sharing, meaning I want to imitate the press on "Just enable printer sharing" hyperlink. Thanks for trying to help anyway :) Kobi.
|
Pages: 1 Prev: Memory Issues in RPC Next: How to disable the copy and paste options of a textbox popup menu? |