

| Name | Macro | Description | Example |
|---|---|---|---|
| Temp Path | [%TmpPath] | The path of the directory designated for temporary files | C:\Documents and Settings\administrator\Local Settings\Temp |
| My Documents | [%Personal] | My Documents folder without a trailing backslash | C:\My Documents |
| Program Files | [%Programfiles] | The Program Files folder without a trailing backslash | C:\Program Files |
| GUID String | [%GUID] | A string in the standard hex format for GUIDs(Globally Unique Identifiers) | {d200e360-48c5-12ce-ae62-09002b2b79ef} |
| Date(MM-DD-YYYY, no padding) | [%Date] | Use today's date | 9-20-2004 |
| Date(MM-DD-YYYY, zero padding) | [02d%Date] | Use today's date, pad with 0s, so month and day are always 2 characters | 09-20-2004 |
| Year | [%Year] | Current year | 2004 |
| Month(no padding) | [%Month] | Current month | 9 |
| Month(zero padding) | [02d%Month] | Current month, pad with 0s to be a width of 2 characters | 09 |
| Day(no padding) | [%Day] | Current day | 6 |
| Day(zero padding) | [02d%Day] | Current day, pad with 0s to be a width of 2 characters | 06 |
| Time(HH-MM-SS, 12 hour format, no padding) | [%Time] | Current time, 12 hour format | 1-40-4 |
| Time(HH-MM-SS, 12 hour format, zero padding) | [02d%Time] | Current time, 12 hour format, pad with 0s, width 2 | 01-40-04 |
| Time(HH-MM-SS, 24 hour format, no padding) | [%Time+12] | Current time, 24 hour format | 13-40-4 |
| Time(HH-MM-SS, 24 hour format, zero padding) | [02d%Time+12] | Current time, 24 hour format, pad with 0s, width 2 | 13-40-04 |
| Hour(12 hour format, no padding) | [%Hour] | Hour, 12 hour format | 1 |
| Hour(12 hour format, zero padding) | [02d%Hour] | Hour, 12 hour format, pad with 0s, width 2 | 01 |
| Hour(24 hour format, no padding) | [%Hour+12] | Hour, 24 hour format | 13 |
| Hour(24 hour format, zero padding) | [02d%Hour+12] | Hour, 24 hour format, pad with 0s, width 2 | 13 |
| Minute(no padding) | [%Minute] | Minute | 9 |
| Minute(zero padding) | [02d%Minute] | Minute, pad with 0s, width 2 | 09 |
| Second(no padding) | [%Second] | Second | 8 |
| Second(zero padding) | [02d%Second] | Second, pad with 0s, width 2 | 08 |
| Paper | [%Paper] | Paper size name | Letter |
| DPI | [%DPI] | DPI resolution | 300 x 300 |
| Printer | [%Printer] | Printer name | Zan Image Printer(bw) |
| job ID | [%Jobid] | job ID for each print job | job ID is assigned incrementally by the Windows Spooler |
| job ID(zero padding, width 2) | [02d%Jobid] | pad with 0s, width 2 | 12 |
| job ID(zero padding, width 3) | [03d%Jobid] | pad with 0s, width 3 | 012 |
| job ID(zero padding, width 4) | [04d%Jobid] | pad with 0s, width 4 | 0012 |
| job ID(zero padding, width 5) | [05d%Jobid] | pad with 0s, width 5 | 00012 |
| job ID(zero padding, width 6) | [06d%Jobid] | pad with 0s, width 6 | 000012 |
| job ID(zero padding, width 7) | [07d%Jobid] | pad with 0s, width 7 | 0000012 |
| job ID(zero padding, width 8) | [08d%Jobid] | pad with 0s, width 8 | 00000012 |
| Computer Name | [%ComputerName] | Computer Name | computer |
| User Name | [%UserName] | User Name | administrator |
| Windows environment variables | [%variable] | Windows environment variables, for example: [%os] [%windir] [%tmp] |
Windows_NT C:\WINDOWS C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp |

| Name | Macro | Description | Example |
|---|---|---|---|
| Document Name | [%DocName] | Removes all invalid characters in the document name to make it a valid name.
The options on Document Name page allow the program to identify and retain the original
document name if the document name passed by the printing application contains unwanted strings
in addition to the original document name. If the unwanted string
is dynamic, you can also specify a regular expression to remove it.
Zan Image Printer will use the document name supplied by the printing application exactly as it is passed to the Windows print spooler. In Windows print spooler, this document name serves as a descriptive name for the document being printed, such as "Microsoft Word - My Report.doc". In some cases, this document name is not equal to the true filename of the document being printed. For example, some printing applications may truncate the document name if it is too long, prefix the document name with the product name, pass the name of the application only, or send no information at all. You can preview the document name passed by the printing application using the following steps: 1. Print a file to the printer, a printer icon will be displayed on the Windows Taskbar. 2. Double-click the Printer icon from the Windows Taskbar. The printer status dialog will be displayed. 3. The Document Name column displays the document name passed by the printing application. If document name does not appear to be correct, you can contact the manufacturer of the application you are printing from. |
DocuMent Name |
| Document Name in upper case | [%UDocName] | Converts the document name to all uppercase characters. | DOCUMENT NAME |
| Document Name in lower case | [%LDocName] | Converts the document name to all lowercase characters. | document name |
| Document Name without white space | [%WDocName] | Removes all white space characters from the document name. | DocuMentName |
| Beautify Document Name | [%BDocName] | Converts the document name to all lowercase characters to give a consistent appearance,
only operates on document names that are entirely uppercase. |
document name |
| Document Name without path | [%FDocName] | Strip off any path information that printing application puts in the document name. |
Document Name |
| Regex Document Name | [%RegexDocName] | Image files can be custom named(via regular expression) based on a field value within the document content. Read the Document Name page for more information. | regexdocument |
| File Number(no padding) | [%FileNumber] | File Number is a positive integer starting from 0, it will be automatically incremented by one when a new file is generated. |
12 |
| File Number(zero padding, width 2) | [02d%FileNumber] | pad with 0s, width 2 | 12 |
| File Number(zero padding, width 3) | [03d%FileNumber] | pad with 0s, width 3 | 012 |
| File Number(zero padding, width 4) | [04d%FileNumber] | pad with 0s, width 4 | 0012 |
| File Number(zero padding, width 5) | [05d%FileNumber] | pad with 0s, width 5 | 00012 |
| File Number(zero padding, width 6) | [06d%FileNumber] | pad with 0s, width 6 | 000012 |
| File Number(zero padding, width 7) | [07d%FileNumber] | pad with 0s, width 7 | 0000012 |
| File Number(zero padding, width 8) | [08d%FileNumber] | pad with 0s, width 8 | 00000012 |
| Page Number(no padding) | [%Page] | Page Number is a positive integer starting from 1, it will be automatically incremented by one when a new page is generated. |
68 |
| Page Number(zero padding, width 2) | [02d%Page] | pad with 0s, width 2 | 68 |
| Page Number(zero padding, width 3) | [03d%Page] | pad with 0s, width 3 | 068 |
| Page Number(zero padding, width 4) | [04d%Page] | pad with 0s, width 4 | 0068 |
| Page Number(zero padding, width 5) | [05d%Page] | pad with 0s, width 5 | 00068 |
| Page Number(zero padding, width 6) | [06d%Page] | pad with 0s, width 6 | 000068 |
| Page Number(zero padding, width 7) | [07d%Page] | pad with 0s, width 7 | 0000068 |
| Page Number(zero padding, width 8) | [08d%Page] | pad with 0s, width 8 | 00000068 |
| job ID | [%Jobid] | job ID for each print job | job ID is assigned incrementally by the Windows Spooler |
| job ID(zero padding, width 2) | [02d%Jobid] | pad with 0s, width 2 | 12 |
| job ID(zero padding, width 3) | [03d%Jobid] | pad with 0s, width 3 | 012 |
| job ID(zero padding, width 4) | [04d%Jobid] | pad with 0s, width 4 | 0012 |
| job ID(zero padding, width 5) | [05d%Jobid] | pad with 0s, width 5 | 00012 |
| job ID(zero padding, width 6) | [06d%Jobid] | pad with 0s, width 6 | 000012 |
| job ID(zero padding, width 7) | [07d%Jobid] | pad with 0s, width 7 | 0000012 |
| job ID(zero padding, width 8) | [08d%Jobid] | pad with 0s, width 8 | 00000012 |
| Date(MM-DD-YYYY, no padding) | [%Date] | Use today's date | 9-20-2004 |
| Date(MM-DD-YYYY, zero padding) | [02d%Date] | Use today's date, pad with 0s, width 2 | 09-20-2004 |
| Year | [%Year] | Current year | 2004 |
| Month(no padding) | [%Month] | Current month | 9 |
| Month(zero padding) | [02d%Month] | Current month, pad with 0s, width 2 | 09 |
| Day(no padding) | [%Day] | Current day | 6 |
| Day(zero padding) | [02d%Day] | Current day, pad with 0s, width 2 | 06 |
| Time(HH-MM-SS, 12 hour format, no padding) | [%Time] | Current time, 12 hour format | 1-40-4 |
| Time(HH-MM-SS, 12 hour format, zero padding) | [02d%Time] | Current time, 12 hour format, pad with 0s, width 2 | 01-40-04 |
| Time(HH-MM-SS, 24 hour format, no padding) | [%Time+12] | Current time, 24 hour format | 13-40-4 |
| Time(HH-MM-SS, 24 hour format, zero padding) | [02d%Time+12] | Current time, 24 hour format, pad with 0s, width 2 | 13-40-04 |
| Hour(12 hour format, no padding) | [%Hour] | Hour, 12 hour format | 1 |
| Hour(12 hour format, zero padding) | [02d%Hour] | Hour, 12 hour format, pad with 0s, width 2 | 01 |
| Hour(24 hour format, no padding) | [%Hour+12] | Hour, 24 hour format | 13 |
| Hour(24 hour format, zero padding) | [02d%Hour+12] | Hour, 24 hour format, pad with 0s, width 2 | 13 |
| Minute(no padding) | [%Minute] | Minute | 9 |
| Minute(zero padding) | [02d%Minute] | Minute, pad with 0s, width 2 | 09 |
| Second(no padding) | [%Second] | Second | 8 |
| Second(zero padding) | [02d%Second] | Second, pad with 0s, width 2 | 08 |
| Paper | [%Paper] | Paper size name | Letter |
| DPI | [%DPI] | DPI resolution | 300 x 300 |
| Color | [%Color] |
Color: Monochrome 256 Grayscale TrueColor |
Monochrome |
| Compression | [%Compress] |
Compression(valid only for TIFF/BMP files): None G3 G4 Packbits ZIP lzw JPEG RLE8 |
G4 |
| Printer | [%Printer] | Printer name | Zan Image Printer(bw) |
| Computer Name | [%ComputerName] | Computer Name | computer |
| User Name | [%UserName] | User Name | administrator |
| Windows environment variables | [%variable] | Windows environment variables, for example: [%os] [%windir] [%tmp] |
Windows_NT C:\WINDOWS C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp |


