Using Printer ScaleType to get multiple pages per sheet

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
AndreaCCS
User
Posts: 51
Joined: Wed Jun 16, 2010 2:54 pm

Using Printer ScaleType to get multiple pages per sheet

Post by AndreaCCS »

I can see that I can set Printer.ScaleType to Multiple (6) but not how I can then specify how many pages I want printed onto the page (e.g 2, 4, custom etc).
Andrea
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17901
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Using Printer ScaleType to get multiple pages per sheet

Post by Tracker Supp-Stefan »

Hello Andrea

You will need these values for a custom 4 x 5 Multiple Pages Per sheet printout (pseudo code):

Code: Select all

SetProperty("Print.ScaleType", 6, 0);
SetProperty("Print.ScaleMult.Type", 12, 0);
SetProperty("Print.ScaleMult.CountH", 4, 0);
SetProperty("Print.ScaleMult.CountV", 5, 0);
PrintDocument(ActiveDocID, Flags); 
I could not find which value for "Type" is "custom", but it seems like if I specify it as e.g. 4 ot 9 it will print 2x2 or 3x3 irrespective of the Count values, but with Type set to 12 - it then takes the custom number of rows and columns.
I believe this is currently undocumented in the online help (and I myself do not have the full documentation here on this machine - hence the missing values for Type).

Best,
Stefan
AndreaCCS
User
Posts: 51
Joined: Wed Jun 16, 2010 2:54 pm

Re: Using Printer ScaleType to get multiple pages per sheet

Post by AndreaCCS »

Thank you. Glad I wasn't just missing the point and that it is actually missing from the documentation.
Andrea
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17901
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Using Printer ScaleType to get multiple pages per sheet

Post by Tracker Supp-Stefan »

:)
Post Reply