SOFTWARE MANUAL C32
16.8 BATCH FILES / MACROS
Print data can also be stored in the memory area of the add-ons.
The command ESC T <batch number> then acts as if the data of this batch file are sent to the printer via the interface.
Batch files can thus contain text, graphics and commands.
The following batch files are linked to actions and are executed:
T0
if the FEED button is held down during a hardware reset.
T1
if the TEST key is pressed for min. 30 ms.
T15
if the TEST key is pressed for min. 5 seconds and released again (wiht GeBE Flash = Power OFF).
T18
if the TEST key is pressed for min. 10 seconds and released again.
RESET if the TEST key is pressed for min. 15 seconds and released again.
T2
at the end of an autoload if an autoload batch file has been configured.(if
parameter x, 13
was activated).
T4
if the FEED and TEST buttons are held down at the same time, but only if the menu module is integrated.
T16
at power on reset if a text preserve is activated (if
parameter 13,10
was activated).
T17
Cyclical call of all according to
parameter 18,49
in ms. (0: = T17 is not called.)
16.8.1 BATCH SEQUENCE
The batch files are assigned to the batch ordinal numbers in the programming order
So if you want to assign a batch to a desired ordinal number, either the batch files must be deleted and imported in the
desired order or the batch in the batch patch tables used in the parser modules are redirected. Each printer emulation has
its own patch table in the parser modules (
parameters x,6
). The order of the batch as it was saved in the flash can be
changed via the patch table. Batch 0 -31 can be directed to other positions. Redirection is no longer possible from the
32nd saved batch.
Therfore the basic table has the following structure:
[0,1,2,3,4........,31] 32, 33, 34 ….........255
[Command]
With the command "Select Batch 1" the second add-on is selected in the flash memory.
[Parameter]
So if you want the fourth batch to be addressed with the command "Select batch 1", then e.g. for the
C32 mode the following command has to be passed in
parameter 14,5
:
<RS> [1: 14,5: 0,4]
Batch 4 is now directed to position 1. Then follow 2, 3, 4…. and so on.
Batch 1 can no longer be addressed in this mode unless you enter: <RS> [1: 14,5: 0,4,2,3,1,5].
Batch 4 and 1 thus switched positions.
Mind you, not in Flash, just as an ordinal
[Example]
The A8 compatible printer should perform an action cyclically every 10,000 ms:
The action is programmed in a batch file and physically programmed in the flash on e.g.position 5:
1. cange patch array 15,6 to: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
5
]
set the „5“ to array position 17.
2. Set
parameter 18,49
to 10,000-
GeBE Elektronik und
phone
+49.89.894141-0
GeBE-document-no. SoMAN-C32-E-V2.2-0793
Feinwerktechnik GmbH
fax
+49.89.894141-33
date
July 7, 2020
Beethovenstraße 15
page 130 | 166
82110 Germering
Our general terms of business are to be applied.
Germany
Internet
www.gebe.net
Errors and changes reserved.