1OKIPOS X400 PROGRAMMING GUIDEINTRODUCTIONThis section presents the commands that are used with the OKIPOS X400 printer to produce labels with logos,bar codes, and alphanumeric data. The commands listed include all revisions of firmware.The following information is presented in this section:z The SATO Programming Languagez Selecting Protocol Control Codesz Using Basicz The Print Areaz Printer Configurationz Command CodesThe Oki Data PROGRAMMING LANGUAGEA programming language for a printer is a familiar concept to most programmers. It is a group of commandsthat are designed to use the internal intelligence of the printer. The commands, which are referred to as SATOCommand Codes, contain non-printable ASCII characters (such as , , ) and printablecharacters. These commands must be assembled into an organized block of code to be sent as one data stream tothe printer, which in turn interprets the command codes and generate the desired label output. The programmeris free to use any programming language available to send the data to the printer.The command codes used based upon “Escape” (1B hexadecimal) sequences. Typically there are four types ofcommand sequences:{Command}These commands generally tell the printer to perform a specific action, like “clear the memory”.{Command} {data}Commands with this format tell the printer to perform a specific action which is dependent upon the followingdata, like “print X labels”, where the value for X is contained in the data.{Command} {Parameter}