Using Basic - SATO M-5900RV Operator And Technical Reference Manual

Direct thermal printer
Hide thumbs Also See for M-5900RV:
Table of Contents

Advertisement

4.4 Using Basic

PN 9001081
Rev. C
Printing with the Parallel Port
5 REM Parallel Example:
10 E$=CHR$(27)
20 WIDTH "LPT1:",255
30 LPRINT E$; "A";
SATO M-5900RV Operator and Technical Reference Manual
OPEN "COM1:9600, E,8,1,CS,DS" AS#1
Section 4. Programming Reference
Identifies the program as a
parallel port print label. The
"REM" prevents this data
from being sent to the printer
and displays it only on the
screen.
Sets the "E$" string as an
<ESC> character.
Sets the width of the output to
255 characters.
Sends an "<ESC>A"
command code to the LPT
parallel port.
Page 4-3

Advertisement

Table of Contents
loading

Table of Contents