Select your language

This example is already stored in quicksets as "Forms Management Date Time(GER)/(US)" with Macro ID 25004 & 25005.

You can create dynamic macros which might print date and time to page-footer of the document.
In order to do this create a form which might look like this:

<esc>&f0X<esc>&fS
<esc>)10U<esc>)s1p10vsb4148T
<esc>&a2280h7920V
<HEX:0E>#DATENUM# - #ACTTIME#<HEX:0F>
<esc>&f1S<esc>&f1x10X

This PCL5 macro contains:

- The macro initialization sequence:

<esc>&f0X<esc>&fS

- Selection of the Codepage 10U and font 4148 (Univers)

<esc>)10U<esc>)s1p10vsb4148T

- Positioning sequence 2280 dots to the right and 7920 dots to the bottom:

<esc>&a2280h7920V

- Then the text with ELP variables:

#DATENUM# - #ACTTIME#

- Finally the closing of the macro:

<esc>&f1S<esc>&f1x10X

Important: Store this file as <MACRO_ID>.mac into the W-ELP forms folder. Your macro ID must be between 25000 and 30000. Example: 25004.mac

You can also edit the form 25004.mac or 25005.mac to change the text. Please use an advanced text editor like notepad++.
For moving the text you can adjust the positioning sequences.
Finally go for the test. You can add the form with the ELP_Command=C1F25004;

The configuration:

[GLOBAL]

ELP=ON

Macro_Download=ON

ELP_Command=C1F25004;

 

Related articles: Automatic Pager Counter: Watermarks

 

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.