cab Produkttechnik GmbH & Co KG
237
237
[TABLE OF CONTENTS] [COMMAND LIST]
Hermes
Apollo
A-series
This
function is
available
for:
PRODUCT MARKING AND BARCODE IDENTIFICATION
M-series
abc -
a
-Series
b
asic
c
ompiler
This powerful feature is available for A-series and M-series printers only !!
A-series and M-series printers contain an internal basic compiler since firmware version 2.80
Originally designed for A-series printers (where the name comes from..) -meanwhile also
Implemented for the M-series - but the name will not change...
We highly recommend to update the firmware first before abc is used. The following description is
based on firmware release 2.89
The short status or status printout - selectable through the printer´s naviagor pad in the test menu-
shows which firmware version is installed.
The usage of abc requires good programming knowledge of the programming language BASIC.
abc is a command subset from Yabasic (at the moment V2.722). Except from the restrictions listed
below it is 100% compatible to it, so you can use the original binaries to test your programs under
Windows or Linux (downloads and documentation from www.yabasic.de).
Requirements:
- Running abc needs at least 300 kByte of free memory to work smoothly. Parts of this memory are
not being released after finishing the program, so restarting abc is faster.
Restrictions:
- No window and mouse functions
- No PRINT AT
- No COMPILE, no libraries
- No BEEP and BELL
- abc and JScript work with cooperative multitasking, i.e. a complex JScript command can
delay abc commands and vice versa
- The content of a file has priority over abc output to JScript.
This way abc can e.g. send „M l lbl;sample“ to JScript. However this means that when a file is
executed from card abc output is delayed until the file has been completely read and closed by
Jscript!
Import differences to Yabasic PC versions:
- To switch off the ESC command interpretation of JScript you can use POKE „transparent“,0
or 1.
However all data which is already in the input buffer (64 kwords) has been filtered. So do not
send data with ESC in it before the POKE command has been executed!
- abc works internally with Unicode, so multilingual data processing is no problem for abc
programs.
abc can also handle chr$(0) within a string which is interpreted as string end in yabasic.
- Programs can be stopped by total CANCEL (pressing CAN more than three seconds on
front panel), this can be disabled by ON INTERRUPT command.
- abc has a command to check for the existance of files or devices: EXISTS(„filename“) or
EXISTS(„/dev/rawip“)
Temporary restrictions/known bugs:
- Printing ESC sequences to JScript has no effect
- PAUSE doesn’t work yet
CHAPTER 7 - a-Series basic compiler
no
no