Oki OKIPOS408II OKIPOS 408II Programmer s Technical Reference - Page 245
Exception Processing, processing starts from code analysis of <40>H.
View all Oki OKIPOS408II manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 245 highlights
3-2 Exception Processing There are two possible page mode analyses: Code analysis and ESC command analysis that follows. 1) Code analysis Code that analyzes all codes from H to H and defines reception data as commands. Discards the code when anything other than (H, H, H, H) is received. When the reception data is an ESC code (H), processing shifts to ESC command analysis. (Ex.) If processing the data string of HHHHH, the printer will discard H as an undefined code and will enable subsequent commands of HHHH. 2) ESC command analysis If the data analyzed using code analysis is an ESC code, it analyzes reception data following that ESC code. When the reception data following an ESC command applies to one of the following ESC command analysis stops immediately and maintains that reception data, then shifts to code analysis again. Data received before that is read and discarded. • When data following an ESC code is a code that is not defined as a command: (Ex.) When the data of HHHHHH is received, the printer analyzes H following the ESC code. Because this is not a code defined as a command, the printer stops ESC command analysis, maintains the reception data H and begins analysis from the H code. The result is H is an undefined code, so it is discarded and the subsequent HHHH command is enabled. • When processing numerical values outside of the definition in commands that accompany arguments: (Ex.) If the data string of HHHHHHHH is received, the printer will start processing the ESC D (HH) command. However, because the following argument H is data outside of the definition, ESC command analysis is stopped, the reception data H maintained and processing starts from code analysis of H. (Ex.) This is the same as for commands the specify the position as an argument, and that position is outside of the print region. When a data string below is received. HHHHHHHHHHH... The printer begins processing the command (ESC P C (HHH) but the X coordinate is out of the print region, so the ESC command is interpreted and the final H of the 4-byte parameter that indicates this position is held as it is, and the analysis of the H code is begun. • When the command that ends at the last data string of LF NUL (HH) and the code does not end there: (Ex.) When the data string of HHHHHHHH is received, the printer starts processing ESC C (HH), but because the last is not an LF NUL data string, the data received to then is read and discarded, but it maintains the reception data H and begins analysis from the H code analysis. The result is H is an undefined code, so it is discarded and the subsequent HHH H command is enabled. _____ STAR Page Mode Command Specifications 3-4