Print page per sheet, get print preview

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

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
kibub2
User
Posts: 2
Joined: Fri Dec 23, 2016 9:12 am

Print page per sheet, get print preview

Post by kibub2 »

Hello,

1.
I want to print page per sheet and set property like this "SetProperty("Print.ScaleMult.AutoCentre", true, 0)"
but didn't work

2.
How can I get my own Print Preview without Print Dialog.?
I want to get my own preview to AxCoPDFXCview Form.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Print page per sheet, get print preview

Post by Tracker Supp-Stefan »

Hello kibub2,

Please take a look at this topic on how to make multiple pages per sheet printing work:
https://forum.pdf-xchange.com/ ... ype#p88153
AutoCentre is an part of the "Scale Simple" options:
https://help.pdf-xchange.com/DEV/de ... calesimple
So it should be set like this:

Code: Select all

SetProperty("Print.ScaleSimple.AutoCentre", 1, 0);
As for generating your own print preview - you will need to hide our print preview window alltogether, and generate your own with your own buttons and options.
Generating the thumbnail of the page to display as preview can be done using e.g. the simple Viewer SDK:
https://www.pdf-xchange.com/produc ... le-dll-sdk

Regards,
Stefan
Post Reply