PDA

View Full Version : Printing current date


mnumbers
25-05-2005, 04:24 AM
Is there any functionality in Cadviewer 4 to automatically print todays date on the report? This would be helpful to show how current this report is.

GuthCAD Software Support
25-05-2005, 04:03 PM
Hi,

Yes, it can be done.

Currently it requires adding a few lines to the [PrintTags] section of cadviewer.ini file. A knowledge of Diesel expressions as used in AutoCAD can also be helpful.

To automatically print the Date/Time add the following lines to the [PrintTags] section of cadviewer.ini:

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

To automatically print the Drawing Name, Date/Time, and User, change the Line1 entry to:

Line1=Drawing: $(getvar, "dwgprefix")$(getvar, "dwgname") Printed: $(edtime, 0, MON DD"," YYYY "@" H:MMam/pm) User: $(getvar, "loginname")

The above will give output similar to the attached screen capture.

The full instructions for using the [PrintTags] section is contained in the attached print_tags.txt document.

best regards,
Paul G.