![GeBe GPT-4352 Скачать руководство пользователя страница 18](http://html1.mh-extra.com/html/gebe/gpt-4352/gpt-4352_operating-manual_4033186018.webp)
18
GeBE E + F GmbH • www.oem-printer.com • GeBE Doc.No.: SMAN-E-413-V4.1 Easy-Loading Thermal Printer GPT-4352(-60)
Batch Files
12 Batch Files
Almost all commands that the printer can receive
through the interfaces and then perform can be put into
the batch files. When a batch file is processed, the
commands it contains are added to the data stream of
the print program sequentially, as if they were coming
through the interface from outside. This way, all settings
that can be done by command can be processed via
batch file. Besides settings commands, batch files can
also contain text and graphics.
The file structure consists of one TINIT, which is proces-
sed with each system boot-up, as well as 10 files that
can be used freely, which are retrieved by command.
Some of these files can be addressed through additio-
nal events. If the controller has an EEPROM, it contains
a file structure that is identical to that of the program
memory (Flash).
When a filed is retrieved, the printer will check, if it con-
tains data in the EEPROM. If it does not, the file will be
processed in the Flash. This allows Flash files to be
over-written.
The following batch files are accessable:
Allocated in the Flash Memory, Factory Settings:
• "TINIT" ...settings after hardware RESET
• "T0 " .....self test through FEED key after reset
• "T1 " .....form feed through NEXT key <1 sec.
• "T2 " .....power-off through OFF key >3 sec.
• "T3 - T9" : unused
12.1 Text or Graphics, Batch Files in the EE-
PROM
For the printing of text and graphics, the GPT-4352 has
an 8 KB EEPROM (app. 6 KB can be used for logos),
and the GPT-4352 has a 32 KB EEPROM (app. 30 KB
can be used for logos).
It is recommended to store logos PCL compressed.
By using the Windows driver, compression rates of app.
3 - 4:1 can be achieved.
For comparison: Uncompressed full graphics of 5 cm
length take up 20 KB, while they only require app.
5,7KB when compressed.
Creating and Saving Logos:
A special printer driver is available for creating logos.
12.2 Configuration of the Printer with
TMenu and TINIT
After a hardware RESET (connecting the power supply),
the printer will check for a prescribed TMenu and/or
TINIT in the EEPROM. If it finds one or both, it will pro-
cess the batch file commands and will then be ready for
operation. If not, it will process the TMenu and/or the
TINIT containing the factory settings in the Flash.
12.3 TMenue
The OPD-Menue
®
is a printer function that allows the
user to edit the TMenu in the EEPROM. The TMenu can
only be changed through the OPD Menue
®
.
Structure of the TMenu:
<ESC>Y<18h>
{density}
<ESC>[<DEZ64><DEZ48>
{power consumption}
<ESC>]<DEZ115><DEZ40
{baud rate, settings}
<ESC>e<DEZ5><DEZ2>
{power-down time}
<ESC>P1
{font}
<ESC>D0
{text orientation}
<ESC>W0<ESC>H0
{text size}
<ESC>S0
{text spacing}
<ESC>h48
{print width}
12.4 TINIT
The TINIT is always processed subsequent to the
TMenu. In the TINIT, other presets that were not incorpo-
rated in the menu can be executed. It also allows set-
tings to be blocked in the menu by repeating them here.
The following TINIT file is an example of a file that can be
modified by the user. Please ask us for further informati-
on.
The file will erase the TINIT, while printing out all actions
in italic at the same time.
Any commands can be entered in the TINIT.
Erase Tinit ...
<ESC>uUERAS
Special number S-xxx / Status 24nov03
Program tinit with GE-xxxx...
{Comments}
<ESC>s@PROG<00h><11h>
<ESC>r1<28h><3Ch><01h><12h>
{charging parameters}
<A9h><01h><3Ch><01h><40h>
<19h><01h><85h><0Ah><8Ch>
All programmed!
If a command of the TMenu is repeated in the TINIT,
this value can no longer be changed through the menu.
By using these files in the EEPROM you are chan-
ging the standard factory settings.