Home › Forums › PDF24 Creator › PDF printer auto-save: keep the original document name as file name
- This topic has 6 replies, 1 voice, and was last updated 1 week, 5 days ago by PDF24 Support.
-
AuthorPosts
-
2013-11-08 at 16:07 #4099PDF24Guest
How to keep original file name when using auto save?
When I print a PDF using the Auto-Save feature, the file name it gives is based on the printing time (ex. 2013-11-08 10-04-49). How to make it to keep the original name?
Thanks
2013-11-15 at 13:57 #4100AnonymousGuestHi,
normally you can use the following auto save format:
%Y-%m-%d %H-%M-%S $fileName
%Y = Year like 2013
%m = Month like 11
%d = Day like 01
%H = Hour like 16
%M = Minutes like 59
%S = Seconds like 34
$fileName = Name of the original file if availableThe last placeholder $fileName stands for the file name which was determined from the printer interface.
If the name is available then the placeholder will be replace with the original file name. If the name is not available, then the placeholder is simply removed.
2014-11-09 at 21:00 #4101AnonymousGuestDear all,
it's possible to autosave with progressive number.
for example paolo001, paolo002, paolo003, etc...
thanks in advance for your help2015-01-16 at 10:12 #4102AnonymousGuest(English)
Hello. You can set the file name from the program that launches printing.
Examples of filenames :
Invoice - 20015-0001
Balance of 01/01/2014 to 06/01/2142
Customers low : 31- 1-2015
This is because the name generated by default is always the same and would need automatically change before printing.
Thank You(Español)
Hola. Es posible establecer el nombre del fichero desde el programa que lanza la impresión.
Ejemplos de nombres de ficheros :
Invoice-20015-0001
Balance del 1-1-2014 al 1-6-2142
Clientes bajas al: 31- 1-2015
Esto es debido a que el nombre que se genera por defecto es siempre el mismo y necesitaria cambiarlo automáticamente antes de imprimirlo.
Gracias2026-11-02 at 11:04 #66284PDF24 SupportModeratorHello,
an update for today's readers (PDF24 Creator 11):
- In the settings of the PDF printer under Auto Save, the placeholder
$fileNamein the Filename field is the name of the print job. The printing program sets it, usually from the document name. If you enter only$fileNameas Filename, the PDF gets exactly this name, without date and time. - If the program cannot set a suitable job name, but you can put text into the printed document: since version 11.31.0 the PDF printer can read control codes. Enable Recognize control codes in the printed document for the printer, and a line like
@@fn:Invoice-2015-0001@@in the document sets the file name. The codes can also sit on a separate last page that PDF24 removes. Details: https://creator.pdf24.org/manual/11/#62-control-codes-in-printed-documents - There is no counter placeholder (paolo001, paolo002, ...). If Overwrite existing file is switched off and the name already exists, PDF24 adds a number:
paolo.pdf,paolo (1).pdf,paolo (2).pdf. More on this: https://help.pdf24.org/en/?p=60482 A real counter is on our to-do list.
2026-11-06 at 16:14 #66813PDF24 SupportModeratorHello,
a short advance note on the progressive number (paolo001, paolo002, ...): the next version of PDF24 Creator adds a counter placeholder for the file name of the automatic saving. $counter counts up with every saved file of this PDF printer, separately for each user, and ${counter:3} writes it with leading zeros, so the file name paolo${counter:3} gives paolo001.pdf, paolo002.pdf and so on.
We will post here once it is released.
2026-11-11 at 21:05 #66941PDF24 SupportModeratorHello,
the change announced above is now released in PDF24 Creator 11.34.0, available since 11 November 2026: https://tools.pdf24.org/en/creator
The file name of the automatic saving now knows the placeholder $counter. It counts up with every file this PDF printer saves, separately for each user, and ${counter:3} writes it with leading zeros, so the file name paolo${counter:3} gives paolo001.pdf, paolo002.pdf and so on.
Detailed guide: After printing: where is my PDF? Saving automatically
- In the settings of the PDF printer under Auto Save, the placeholder
-
AuthorPosts
- You must be logged in to reply to this topic.