Printer Path

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

bunkerj
User
Posts: 7
Joined: Thu Mar 18, 2010 5:25 pm

Printer Path

Post by bunkerj »

Am I able to change the printer path when using PrintDocument?
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3586
Joined: Thu Jul 08, 2004 10:36 pm

Re: Printer Path

Post by Ivan - Tracker Software »

what do you mean "printer path" and whose function is PrintDocument ?
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
bunkerj
User
Posts: 7
Joined: Thu Mar 18, 2010 5:25 pm

Re: Printer Path

Post by bunkerj »

I am printing the document using the command pdf.PrintDocument(docID);
It is printing to my default printer.
Is there a setting that I can change the printer path and send it to a different printer.
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3586
Joined: Thu Jul 08, 2004 10:36 pm

Re: Printer Path

Post by Ivan - Tracker Software »

Understood.

You have to use pdf.SetProperty("Print.XXX", ...) function to set all settings you need. XXX is a name of option for printing. The whole list of available properties you can find in section "2.2.2.14 Print" (page 216) of the manual.

HTH
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.