Can i autonumber in Output formating?

About the programming interface for the virtual PDF printer driver.

Moderator: jr

robpic
Posts: 1
Joined: Mon Feb 04, 2008 4:31 pm

Can i autonumber in Output formating?

Post by robpic »

Sorry for my english im french..... :(

I want to print some documents simultaneous in pdf in a specific folder and i want to increment each pdf.

Example:
c:\Docs\MyDocs_1.pdf
c:\Docs\MyDocs_2.pdf
c:\Docs\MyDocs_3.pdf
c:\Docs\MyDocs_4.pdf
c:\Docs\MyDocs_5.pdf

Its if possible to have a autonumber on outpout setting

objBullzip.SetValue("Output", "c:\Docs\MyDocs_<????>.pdf")
HabsWarrior
Posts: 1
Joined: Sun Feb 24, 2008 7:05 am
Location: Trois-Rivieres, Qc, Canada

Re: Can i autonumber in Output formating?

Post by HabsWarrior »

Bienvenue dans le forum de bullzip

as-tu essayé de placer un compteur dans un LOOP du genre :

x = <inscrit le nombre de copies a imprimer, peut provenir d'une donnée de ta feuille>
i = 1

Do While i < x
objBullzip.SetValue "Output", "c:\Docs\MyDocs_" & i & ".pdf"
ActiveSheet.PrintOut <s'assurer que le ActivePrinter est bien BullZip avant>
i = i + 1
Exit Do
Loop

Ou quelque chose du genre...

For everyone else, the code should answer your question... Sorry but the user is french... :)
Post Reply