Print 1 document to several files

About the programming interface for the virtual PDF printer driver.

Moderator: jr

Post Reply
enterpriseuser1
Posts: 2
Joined: Fri Feb 27, 2009 5:54 pm

Print 1 document to several files

Post by enterpriseuser1 »

Hi,

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

ie.
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.
anglerdk
Posts: 6
Joined: Tue Sep 15, 2009 6:22 pm

Re: Print 1 document to several files

Post by anglerdk »

is this still an issue ? and what program ?

a solution is to use


Excel:
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


Word:

'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 http://www.biopdf.com/guide/index.php

... pages:= x

next
Post Reply