I want to create an application where in I can display "print preview" on a PDF file. For example, if I set the N-up option to 4, 4 pages of the pdf will be displayed in page 1, etc.
I wanted to create something similar with the print preview of PrinterShare app.
An idea that I have in mind:
1) Read pdf (like an image), then draw the changes manually, e.g. if N-up, draw the image 4 times in a page while considering the new height/width (in this case, height and width will be set to 1/4 of original).
Do you have other ideas?
Or do you know of any libraries for "print previews"?
Any help will be greatly appreciated!