Section 4. Programming Reference; Introduction; The Sato Risc Programming Language - SATO M-5900RV Operator And Technical Reference Manual

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

Advertisement

Programming Reference

4.1 Introduction

4.2 The SATO RISC Programming Language

PN 9001081
Rev. C
This section presents the commands that are used with the SATO Series printers to
produce labels with logos, bar codes and alphanumeric data. All of the RISC
commands use the same syntax. Some commands reference a physical point on
the label using horizontal and vertical dot reference numbers. The allowable
range for these references is dependent upon the particular printer to accomodate
different print widths and resolutions.
The following information is presented in this section:
• The SATO Command Programming Language
• Protocol Control Codes Selection
• Using Basic
• The Print Area
• Command Codes
A programming language for a printer is a familiar concept to most programmers.
It is a group of commands that are designed to use the internal intelligence of the
printer. The commands, which are referred to as RISC Command Codes, contain
non-printable ASCII characters (such as <STX>, <ETX>, <ESC>) and
printable charcacters. These commands must be assembled into an organized
block of code to be sent as one data stream to the printer, which in turn interprets
the command codes and generates the desired label output. The programmer is
free to use any programming language available to send the desired data to the
SATO RISC Series printer.
The command codes used by the SATO RISC Series Printers are based upon
“Escape” (1B hexadecimal) sequences. Typically there are four types of command
sequences:
These commands generally tell the printer to perform a specific action, like “clear
the memory.”
SATO M-5900RV Operator and Technical Reference Manual
<ESC>{Command}
<ESC>{Command} {Data}
Section
"
Page 4-1

Advertisement

Table of Contents
loading

Table of Contents