PDA

View Full Version : PDF-XChange Watermarks


Jeff.Kuhn
26-01-2007, 10:26 PM
When creating text watermarks, is there any way to automatically insert today's date? Also, are there any special characters that can be included that will cause the text to be multi-line instead of single-line? I am interested in a text water mark that looks something like this:

Uncontrolled Document
01/26/2007

GuthCAD Software Support
29-01-2007, 07:26 PM
Hi Jeff,

There does not appear to be a way to automatically insert today's date using the PDF-Xchange watermark.

However CAD Viewer actually has it's own built in watermark capability, including the ability to set today's date, and also other properties such as the time, user name, and name of the drawing.

The documentation is hiding in the text file printtags.txt (http://www.guthcad.com/printtags.txt) in the CAD Viewer installation folder. The reason that the documentation is a bit hidden is that it can be a little complicated to set up for the average end-user. It is planned to put the options for setting watermarks directly within the CAD Viewer user interface in a future version, and this will make setting the watermark much easier. But it can be done now with a little bit of patience and following the documentation as mentioned above.

There is currently not a method to print multiple lines, we will try and get this added soon.

So the nearest to your example would be to print the watermark as:


Uncontrolled Document, 01/26/2007


The settings to do this would be added to the [PrintTags] section of the CADVIEWER.INI file in the CAD Viewer installation folder, thus:

[PrintTags]
1=1
Line1=Uncontrolled Document: $(edtime, 0, MM"/"DD"/"YYYY).
Pos1=1
Align1=0

Size1=10
Font1=Arial
RGB1=0,0,0
The above settings cause the watermark to be printed in the lower left corner of the page. Refer to the documentation to change the size, position, alignment, etc.

CAD Viewer makes use of the 'edtime' DIESEL expression to print today's date. DIESEL expressions can also be used to print the time, user name, drawing name, and quite a few other items. An online reference to DIESEL expressions may be found here (http://www.crlf.de/Dokumente/Diesel/DieselReference.html).


I hope that it helps!

best regards,
Software Support