- 111 -
Additionally you can send a controlling code (of a hexadecimal form) to a printer either at the
beginning of the printout - <PREFIX> parameter, or at the end of it - <SUFFIX> parameter. Sending
these codes allows to control globally both, information and actions carried out at the beginning
and/or at the end of each printout sent from a balance to a printer.
This function is most frequently used to send an information about the code page of a printout sent
by a balance, at the beginning, and to send a command enabling the crop of a paper in EPSON
printers (if the printer is equipped with an autocutter blade), at the end.
<PREFIX> and <SUFFIX> parameters settings are available for all the printouts sent from balance,
e.g. calibration reports, and for the header, footer and GLP printouts.
CAUTION!
It must be remembered that inserting paper crop command to <SUFFIX> parameter (control code) results in
sending the code after each printout. If you wish for one whole printout to consist of: HEADER, GLP
PRINTOUT and FOOTER and to be cropped underneath the FOOTER, then the paper crop command should
be inserted only for FOOTER settings as a non-standard printout with <
{151}
> variable (paper crop for EPSON
printer). In such a case <SUFFIX> command must remain empty.
To ensure correct cooperation of the balance with the printer (correct printout of diacritical signs of a
given language), respective baud rate obligatory for a given printer must be chosen (see the printer
settings). Additionally code page of a sent printout must be accordant with a code page of a printer.
Accordance of a code page may be obtained in two ways:
•
setting the right code page in the settings of a printer (see a user manual of the printer) – it
must be accordant with the printout code page of a balance:
Code
page
Language
1250 POLISH, CZECH, HUNGARIAN
1251 RUSSIAN
1252 ENGLISH, GERMAN, SPANISH, FRENCH, ITALIAN
1254 TURKISH
1256 ARABIC
•
sending the control code from the balance, which automatically sets the right code page of the
printer (code page accordant with the one of a balance) prior to printout of data taken from the
balance (this possibility is available only for printers with such option – see a user manual of the
printer).
CAUTION! CODES MUST BE ENTERED IN A HEXADECIMAL FORM!
Example balance settings for correct cooperation (printout of Polish signs) with EPSON thermal
printer connected to RS232 port:
1. with impact printer, EPSON TM-U220D
Communication parameters for port to which the printer is connected:
•
baud rate - 9600 bit/s
•
parity
- none
Printer parameters for PERIPHERALS group:
•
port
- COM 1 or COM 2 (the one to which the printer is connected)
•
code page -
852
2. with thermal printer, EPSON TM-T20
Communication parameters for port to which the printer is connected:
•
baud rate - 38400 bit/s
•
parity
- none
Printer parameters for PERIPHERALS group:
•
port
- COM 1 or COM 2 (the one to which the printer is connected)
Summary of Contents for AS X2 Series
Page 7: ...7 1 GENERAL INFORMATION 1 1 DIMENSIONS AS X2 series PS X2 series...
Page 8: ...8 APP X2 series WLC X2 series...
Page 96: ...96 Status Completed Signature...
Page 132: ...132...