Print 1 document to several files

About the programming interface for the virtual PDF printer driver.

Moderator: jr

Print 1 document to several files

Postby enterpriseuser1 » Fri Feb 27, 2009 6:00 pm


Is it possible to print 1 document (which is several pages long) to a seperate PDF per page?

Page 1 saves as Page1.pdf
Page 2 saves as Page2.pdf

As the document is several pages long I don't want to be printing each page seperately.

Any help would be appreciated.
Posts: 2
Joined: Fri Feb 27, 2009 5:54 pm

Re: Print 1 document to several files

Postby anglerdk » Wed Sep 16, 2009 5:35 am

is this still an issue ? and what program ?

a solution is to use

printout method has several options..

eg. here, the print is from page 1 to page 2..

range("a1:m30").select 'the range you want to print - you could also mark the whole area , choose show Page (sorry dont know what the menu point is in english)

Selection.PrintOut From:=1, To:=2, Copies:=1, Collate:=True


'You can also just record a macro

Application.PrintOut FileName:="", Range:=wdPrintRangeOfPages, Item:= _
wdPrintDocumentContent, Copies:=1, [b]Pages:="1,2"[/b], PageType:= _
wdPrintAllPages, ManualDuplexPrint:=False, Collate:=True, Background:= _
True, PrintToFile:=False, PrintZoomColumn:=0, PrintZoomRow:=0, _
PrintZoomPaperWidth:=0, PrintZoomPaperHeight:=0

the code could be a for next loop

for x to (not a word programmer, but I guess there is a page coutner)

'print code found at biozip - see

... pages:= x

Posts: 6
Joined: Tue Sep 15, 2009 6:22 pm

Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest