Sprache auswählen

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

 

Wir benutzen Cookies

Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbessern (Tracking Cookies). Sie können selbst entscheiden, ob Sie die Cookies zulassen möchten. Bitte beachten Sie, dass bei einer Ablehnung womöglich nicht mehr alle Funktionalitäten der Seite zur Verfügung stehen.