Hide printer from user

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
svenadb
Posts: 3
Joined: Wed Feb 13 2008

Hide printer from user

Post by svenadb »

I would like to hide the printer from the user except when he starts the our application. In XP we did not install the printer but used the method "PDFDriverInit". This does not work with PowerBuilder 11.5 and Vista. The application crashes when the method is called. If I install the printer using the install.exe (including the licence information) and uses the method "DriverInit" instead the application works fine. But if the user starts e.g. Microsoft Word he finds the printer (not default printer) when he tries to print (he changes to our application printer name). But the of course he cannot print (and he should not). Is there anyway I can "hide" the printer from the user?

Regards
Sven Brenna
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: Hide printer from user

Post by Joan »

Hello,

I know this is possible under Windows 2003 and Citrix but I am not sure about XP.

This should be possible by changing the printer's permission, If a user has no 'print' permissions on a printer, this device will be hidden in his/her list of available printers.

Another option would be to give the printer a relevant name that explicitly sate not to be used from outside your application

Hope this helps in a way,

Joanna
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
Post Reply