splitting a print into multiple files

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
mael15
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 540
Joined: Fri May 22, 2009 8:52 am
Location: Bremen, Germany

splitting a print into multiple files

Post by mael15 »

hi everyone,
i would like to split printing an 8 page pdf to 4 * 2 pages, changing the name of the following pdfs. this appears to be surprisingly difficult.
i have two questions:
a) where is the file name stored after wxPrintOut::OnBeginDocument has asked for it?
b) when i ask for it myself und use wxPrintData::SetFilename, I get corrupted files. before that, a message said to change the adobe pdf setting by deselecting "Rely On System Fonts Only; Do Not Use Document Fonts". what is wrong there?
thank you!
Post Reply