Link to home
Start Free TrialLog in
Avatar of SCSUSERLTD
SCSUSERLTD

asked on

How do I determine if a printer will print to PDF format

I need to be able to check all installed printersand or drivers programatically on a pc and determine if they can produce a PDF file, So that I am able to give the choice of which one to choose.
Avatar of sls80
sls80

What language are you programming in?

Also, generally you would create a PDF file and then send it as a print job to a selected printer. Are you using non-typical printers that would not be able to print PDFs?
Avatar of SCSUSERLTD

ASKER

Sorry should have mentioned language.
I am programming with VB6.

There are various printers/drivers that can be installed to produce a PDF file, in addition to Adobe Distiller

I am writing a DLL that will allow a user to add an email attachment, If a PDF writer or writers are installled then the user should be shown the list and allow them to select a PDF printer. The resulting PDF file would then be attached to the email and sent. The users  printer selection would then be used for any future email attachments



SOLUTION
Avatar of Arno Koster
Arno Koster
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the suggestions I will try them.
Will come back with progress
MAy be use the Printers object and run thru the properties. It will have a property that will indiacte the drivers used by each printer. Incase you find "PDF" in the driver you know it is a PDF Driver.

Hope this helps.