PDA

View Full Version : Watermark Date.


KeS
10-04-2007, 10:53 PM
Hi,

I am trying to change the watermark date to two days in advance. I have read the DIESEL reference, but it doesn't seem to tell me much about what I want to know. My current configuration in the CAQVIEWER.INI file is like this:

[PrintTags]
1=1
Line1=Uncontrolled Document: $(edtime, 0, MON DD"," YYYY "@" H:MMam/pm)
Pos1=4
Align1=0
Size1=20
Font1=Arial
RGB1=0,0,0

What should I change to make it so it displays two days in advance? Thanks.

KeS

GuthCAD Software Support
11-04-2007, 08:49 PM
Hi KeS,

1. Please download (http://www.guthcad.com/dlviewer.htm) the latest software update (CAD Viewer 5.0 A.43)

2. Replace the '0' parameter to the edtime function in Line1 with '$(+,2,$(getvar,"date"))'

(it says add '2' to the current date)

i.e.

Line1=Uncontrolled Document: $(edtime,$(+,2,$(getvar,"date")),MON DD"," YYYY "@" H:MMam/pm)

It should do it!

More info on print tags and Diesel expressions in this thread. (http://www.guthcad.com/forum/showthread.php?t=154&highlight=diesel)

best regards,
Software Support