- This topic has 5 replies, 1 voice, and was last updated 2 days, 8 hours ago by PDF24 Support.
-
AuthorPosts
-
2026-08-21 at 10:32 #64387darwin4everParticipant
Hi,
Somewhere I read about
pdf24-DocTool.exe -applyProfile -profile user/XXXXXX -profileParam pdf-watermarkText YYYYYYYY .....
to be used for adding a watermark in batch.
But what is a "profile", what is in it and how to create it ?
In the GUI "Add a watermark to PDFs" there are a lot of settings for the watermark that can be specified, how to provide them to the batch counterpart ?
2026-08-21 at 11:04 #64388Stefan ZieglerKeymasterA profile is a set of parameters to control the generation of an output file. There is an output profile manager that you can use to add/manage profiles.
-profile user/XXXXXX
XXXXXX is the name of a profile that you have added.
-profileParam pdf-watermarkText YYYYYYYY
Assigns the value YYYYYYYY to the key pdf-watermarkText.
In order to add a watermark to a file via -applyProfile, you have to enable the watermark function in the profile. If it's not enabled, then no watermark is added.
2026-08-21 at 14:04 #64668darwin4everParticipantOk, thank you.
I've seen now how to proceed with those profiles.Just to know, how can I use a build-in profile (like good-quality) in -profile?
2026-08-21 at 14:26 #64669darwin4everParticipant3rd time I try to add a comment
Thank you for the reply
How can I use in -profile a build-in profile like good-quality ?
2026-08-21 at 14:35 #64670darwin4everParticipantSeems I can only comment my own topic, not the answer you gave
2026-10-29 at 19:28 #64795PDF24 SupportModeratorHello,
the built-in profiles have these IDs:
default/low(Low quality)default/medium(Medium quality)default/good(Good quality)default/high(High quality)default/best(Best quality)
So you use
-profile default/good. See also: https://creator.pdf24.org/manual/11/#1114-apply-a-profile-to-input-filesThe built-in profiles do not add a watermark. You can switch it on with
-profileParam, which overrides values of any profile, also of a built-in one:pdf24-DocTool.exe -applyProfile -profile default/good -profileParam pdf-useWatermark true -profileParam pdf-watermarkText "CONFIDENTIAL" -outputFile C:\out\file.pdf -silent C:\in\file.pdfFor other settings such as color, font or position of the watermark, a profile of your own (
user/...) as described above is easier.Adding a watermark is also possible online: https://tools.pdf24.org/en/add-watermark
-
AuthorPosts
- You must be logged in to reply to this topic.