2 simultaneous jobs

General usage of the PDF Printer.

Moderator: jr

Post Reply
Posts: 1
Joined: Sat Apr 02, 2016 6:26 pm

2 simultaneous jobs

Post by joseph »


I have software that sends 2 print jobs quickly one after the other ("original" + "copy"). Sometimes I lose 1 of the jobs. This happens because my auto-save format is "<date>_<time>.pdf" and if the two jobs occur on the same second the file gets overwritten. How can I avoid this issue?

v10.23.2529 on Windows 2008 R2 RDP (Terminal Services)
* Checking "confirm overwite" helps in some cases but not always. I tried to send 10 jobs ("original" + 9 "copies"): 4 files were created; 3 pop-ups appeared; still lost 3 jobs, including the irrecoverable "original".
* I suppose a macro for milliseconds, e.g. <ms>, would help even if it is not a 100-percent elegant solution.
Site Admin
Posts: 500
Joined: Sun Mar 26, 2006 12:28 pm

Re: 2 simultaneous jobs

Post by jr »


You can use the <ticks> described here:


The value of this macro tag represents the number of 100-nanosecond intervals that have elapsed since 12:00:00 midnight, January 1, 0001.
Example: 634889921720358114

There is also a <counter> and a <guid>. These two can make sure that your file name is unique.

Post Reply