SATO GT408 User Manual

Sembl user guide
Hide thumbs Also See for GT408:

Advertisement

Quick Links

GT408/412/424e
Printer
SEMBL USER GUIDE
PN 9001148A

Advertisement

Table of Contents
loading

Summary of Contents for SATO GT408

  • Page 1 GT408/412/424e Printer SEMBL USER GUIDE PN 9001148A...
  • Page 2 SATO America, Inc. 10350A Nations Ford Road Charlotte, NC 28273 Main Phone: (704) 644.1650 Technical Support Hotline: (704) 644.1660 Technical Support Fax: (707) 644.1661 E-Mail: satosales@satoamerica.com technical support@satoamerica.com www.satoamerica.com WARNING THE EQUIPMENT REFERENCED IN THIS DOCUMENT COMPLIES WITH THE REQUIREMENTS IN PART 15 OF FCC RULES FOR A CLASS B COMPUTING DEVICE.
  • Page 3: Table Of Contents

    TABLE OF CONTENTS OUTLINE BASIC INTERPRETER OVERVIEW BASIC INTERPRETER TABLE Basic Interpreter Table Operator Character Operation Control Flag INSTRUCTION REFERENCE ECHO CLOSE CTRL-C FOR NEXT IF ENDIF GOTO INPUT LIST LOAD CLEAR OPEN OUTBYTE PRINT RENUM RESTART SBPL SLEEP STEP SAVE &...
  • Page 4 ISWARNING STOP EXIT FOR INKEY GOSUB RETURN ON ERROR DEBUG TRACE “ (apostrophe) ECHOBACK TIMER ON TIME$~ INBYTE BEEP CANCTRL GETSTATUS CTIME CTIMER ON CTIME INARRAY INUNTIL SPECIFICATION DETAILS OF THE COMMAND Device Port Input Process Output Process Key Input Value (using printer key only) Key Input Value (using Shift key + Printer key) KEY WORDS Valid Key Words...
  • Page 5: Outline

    &B1000000000000101, &B101, &B0 • Only positive and negative integral numbers may be used. Fractions cannot be assigned. • As for hexadecimal, the lower case mark is allowed in A thru F. SATO GT4xxe SEMBL User Guide PN 9001148A Page 1...
  • Page 6 801 Syntax Error: invalid command (error detail explanation). • Following is the output format of BASIC syntax error when running a program (RUN): • 818 (110) Syntax Error: file not found. SATO GT4xxe SEMBL User Guide PN 9001148A Page 2...
  • Page 7: Basic Interpreter Table

    INBYTE 1 character input INKEY Key switch input INPUT 1 line input INUNTIL Termination code assign input Substitution LIST List display LOAD Calling program Send-back the largest value of the two SATO GT4xxe SEMBL User Guide PN 9001148A Page 3...
  • Page 8: Operator

    Display execution result of the line OPERATOR COMMAND CONTENT COMPATIBILITY AND operation Negative Inclusive OR & Character conjunction Character type <, <=, >, >=, =, <> Comparison ^, */, +- Arithmetic Character extract Divide overflow SATO GT4xxe SEMBL User Guide PN 9001148A Page 4...
  • Page 9: Character Operation

    Delete left space REPEAT$ Character repetition RTRIMS$ Delete right space UCASE$ Send-back upper case CONTROL FLAG COMMAND CONTENT COMPATIBILITY ISERROR Error flag ISWARNING Warning flag GETSTATUS Acquisition of printer status information SATO GT4xxe SEMBL User Guide PN 9001148A Page 5...
  • Page 10: Instruction Reference

    2-D array is describable. Maximum for definition number of array name is up to 128 in both integer- form and string-form. Interger-form and string-form is allowed to declare up to 256 variables respectively (each array element is treated as interger-form or string-form). SATO GT4xxe SEMBL User Guide PN 9001148A Page 6...
  • Page 11: End

    30 ELSE IF A$=”1” THEN Example 40 PRINT “SEMBL IS GOOD” 50 ELSE 60 PRINT “X=0” 70 ENDIF Nesting is applicable. When executing nesting, there is not an upper limit of the group. SATO GT4xxe SEMBL User Guide PN 9001148A Page 7...
  • Page 12: Goto

    When entering the line number and adding legend, LET is allowed for non-descriptions. This is used when data is entered without a line number to operate as a substitution. Substitutions have to be located on the left side as a variable. SATO GT4xxe SEMBL User Guide PN 9001148A Page 8...
  • Page 13: List

    Refer to Details Specification Command for further details. ACCESS descriptor does not have any meaning in SEMBL (all is sequential access). OUTBYTE Function Generate 1 character Format OUTBYTE [<#channel>,] OPEN “PO1” AS#1 LET A$=”Hello” Example OUTBYTE#1,A$ result: H SATO GT4xxe SEMBL User Guide PN 9001148A Page 9...
  • Page 14: Print

    Example 30 PRINT A$;B$ result: This is a printer of SATO The format can be linked with a separator “;” and its maximum allowed size is 1024 bytes. If “;” is not placed at the end of the format, CRLF will be added automatically in the output result. Note that “;”...
  • Page 15: Run

    There is not a limitation on the storage file quantity nor their size in the program file stored in the extended memory cartridge. The entire file cannot exceed 512KB or it cannot be saved. This command can be executed by giving a line number. SATO GT4xxe SEMBL User Guide PN 9001148A Page 11...
  • Page 16: And

    30 LET C$=A4 & B$ Example 40 PRINT C$ >RUN result: SEMBLSBPL A space (20 ) is required in between & and 2 items character string. Function Character type. Format Example SATO GT4xxe SEMBL User Guide PN 9001148A Page 12...
  • Page 17: Mid

    ^, *, /, +, - Function Arithmetic operator Format Example Function Character extraction Format MID (<character string>, <start digit>, <extract digit number>) 10 LET A$=”SATO PRINTER SBPL” 20 LET B$=MID(A$,1,12) Example 30 PRINT B$ >RUN result: SATO PRINTER Function Overflow calculation Format...
  • Page 18: Val

    TIME$ Function Obtain time information. Format TIME$ 10 PRINT TIME$ Example >RUN result: 23:15:30 Time is in the order of hh:mm:ss. If calendar chip is not installed, the content becomes “**:**:**”. SATO GT4xxe SEMBL User Guide PN 9001148A Page 14...
  • Page 19: Delete

    SEMBL. When both happens at the same time, the priority of error warnings will be printer error--> (printer alert) >SEMBL error. The list of ISERROR return value is shown in the following tables. SATO GT4xxe SEMBL User Guide PN 9001148A Page 15...
  • Page 20 BCC check error Printer Error Rewind full Printer Error Item Number error Printer Error Head resolution error Printer Error Kanji ROM error Printer Error Calendar error Printer Error RFID tag error Printer Error SATO GT4xxe SEMBL User Guide PN 9001148A Page 16...
  • Page 21 False device SEMBL syntax error FOR stack overflow SEMBL syntax error Memory cartridge not assessible SEMBL system error Memory cartridge R/W error SEMBL system error Memory cartridge memory full SEMBL system error SATO GT4xxe SEMBL User Guide PN 9001148A Page 17...
  • Page 22: Iswarning

    Ribbon near end + receive buffer near full Label near end Ribbon near end + label near end Receive buffer near full + label near end Ribbon near end + receive buffer near full + label near end SATO GT4xxe SEMBL User Guide PN 9001148A Page 18...
  • Page 23: Stop

    ENTER, CANCEL, and FUNCTION. Trigger key (determine key) and shift key (key to be pressed simultaneously) can be detected. Once INKEY is issued, key input will be detected, printer’s original key operation may not operate until key input is detected and INKEY is completed. SATO GT4xxe SEMBL User Guide PN 9001148A Page 19...
  • Page 24: Gosub Return

    By assigning OFF, the debug mode will be cancelled and TRACE and BREAK will not be processed. The default for non-assignment is off. This command can be appied by executing direct input and providing line number. SATO GT4xxe SEMBL User Guide PN 9001148A Page 20...
  • Page 25: Trace

    NOTE: With the ON setting, the input echo display setting of the terminal application must be canceled on the host side. When the host side terminal application is not applied, it is recommended to set the ECHOBACK OFF in order to speed up the process. SATO GT4xxe SEMBL User Guide PN 9001148A Page 21...
  • Page 26: Timer

    TIMER ON. Detection of setting timer that has progressed has to be executed before running the next line. Hence, detection will not be running during SLEEP, do it only after ended SLEEP. SATO GT4xxe SEMBL User Guide PN 9001148A...
  • Page 27: Inbyte

    BASIC program. From CANCTRL OFF, even if the cancel code is received during RUN, it will be read as an invalid code. This command can be assigned by either running direct input or adding the line number. The default setting is CANCTRL OFF (cancel invalid) for non-assignment. SATO GT4xxe SEMBL User Guide PN 9001148A Page 23...
  • Page 28: Getstatus

    By assigning OFF, the setting of the progressed clock interruption is cancelled. This command can be assigned by either running direct input or adding the line number. SATO GT4xxe SEMBL User Guide PN 9001148A Page 24...
  • Page 29: On Ctime

    If the assigned digit is larger than the declaration of array variable, INARRAY implicitly extends to the maximum size of the array and then stores the received data. SATO GT4xxe SEMBL User Guide PN 9001148A Page 25...
  • Page 30: Inuntil

    If the data is received, INUNTIL must be printed again. You can judge whether to reprint INUNTIL or not by checking the array end member to determine if it is the end code. SATO GT4xxe SEMBL User Guide PN 9001148A...
  • Page 31: Specification Details Of The Command

    In the SEMBL which is supposed to be installed in new scantro, device is not defined yet, B: treat it as assigned. If there is no extension assignment, add “.BAS” automatically (during storing, reading). SATO GT4xxe SEMBL User Guide PN 9001148A Page 27...
  • Page 32: Port

    IF board (mini LAN) will become sub-port. If data port is set in standard IF board (mini LAN), currently installed extension IF board (parallel, serial, LAN, USB) will become sub-port. SATO GT4xxe SEMBL User Guide PN 9001148A Page 28...
  • Page 33: Input Process

    NOTE: .SER.PAR.LAN.USB.LN2.DEF echo back the output content onto LCD by assignment. . To display onto the LCD with a maximum of 16 characters onto each line. All characters beyond 16 will not be displayed. SATO GT4xxe SEMBL User Guide PN 9001148A...
  • Page 34: Key Input Value (Using Printer Key Only)

    1024 and obtain the quotient. The trigger and shift keys are not allowed for simultaneous input if the keys are the same. Among nine (9) keys, they cannot entirely be shift keys. SATO GT4xxe SEMBL User Guide PN 9001148A Page 30...
  • Page 35: Key Words

    INKEY INPUT TRACE ISERROR ISWARNING ‘. KILL &B LEFT &H &O NOTE: Regardless of the upper and lower case, key words are apllicable in the BASIC syntax as a variable name. SATO GT4xxe SEMBL User Guide PN 9001148A Page 31...
  • Page 36: Invalid Key Words

    CLRERR DATAREADY REPEAT RTRIM LCASE SEARCHTO LOOP SETERR LTRIM UCASE UNTIL MAXLEN WHILE NOTE: These are only recommended for use as variable names in the BASIC syntax regardless of their case. SATO GT4xxe SEMBL User Guide PN 9001148A Page 32...
  • Page 37: Error Messages

    840 syntax error: unreachable device (includes non-installation) 841 syntax error: device read/write fail Failed to write data into extension memory cartridge 842 syntax error: device memory full Capacity of the memory cartridge is insufficient SATO GT4xxe SEMBL User Guide PN 9001148A Page 33...
  • Page 38: Functionality

    4. Press the ENTER key several times to access the SEMBL MODE AUTO START screen. 5. Select NONE and then press ENTER key to power on in the SEMBL Mode thereafter. SATO GT4xxe SEMBL User Guide PN 9001148A Page 34...
  • Page 39: Auto Execution Of Basic Program

    SEMBL Mode, and then allow it to RUN. After the program finishes execution, it remains with the SEMBL Mode. The READ PROGRAM list will not disappear. SATO GT4xxe SEMBL User Guide PN 9001148A Page 35...
  • Page 40: Exiting From The Sembl Mode

    The printer is able to exit from the SEMBL Mode unconditionally when YES is selected at the CANCEL PRINT JOB and ENTER is pressed - the printer will shift to the Online Mode. This does not apply to the POWER ON/OFF condition. SATO GT4xxe SEMBL User Guide PN 9001148A Page 36...
  • Page 41: Basic Operation Of Sembl Mode

    Example: Operation Program File 10 REM Program 1 20 DECLARE STRING s$ 30 S$ = “SATO PRINTER” 40 OPEN #1: NAME “SPL” 50 PRINT #1: CHR$(27);”A” 60 PRINT #1: CHR$(27);”X22,”;S$;...
  • Page 42 Screen Sequence for Setting Hyperterminal SATO GT4xxe SEMBL User Guide PN 9001148A Page 38...
  • Page 43: Hyperthermal Operation

    There are two ways that this may be perfromed: forming a repeating loop in the BASIC operation program or combining SEMBL auto run with the SBPL command. The following displays the SBPL data send: … … Registered BASIC … SATO GT4xxe SEMBL User Guide PN 9001148A Page 39...
  • Page 44: Remarks For Sembl Operation

    To carry out the host’s status monitoring while operating in SEMBL, the sub-port is only allowed to be used for status monitoring. Thusly, the sub-port can no longer be used for external device connection. Example 1 Example 2 SATO GT4xxe SEMBL User Guide PN 9001148A Page 40...

This manual is also suitable for:

Gt412Gt424eGt408eGt412e

Table of Contents