Star Micronics 150 Printer User Manual


 
Control Codes PcOS Series 150 Programmer's Guide
Extended Diagnostics
Page 68 Rev G 12/14/99
Extended Diagnostic Commands
Function Extended diagnostics
ASCII [ESC] ~ <n>
Hexadecimal 1BH 7EH
Decimal <27> <126>
IPCL none
EPOS [ESC] ~ <n>
Where n = 0 Prints model, configuration, and serial number
1 <n> Sets vertical alignment (<n> is the alignment value.)
Note: <n> will be written to the EEPROM if the EEPROM save sequence is
processed.
2 Decreases vertical alignment adjustment
3 Increases vertical alignment adjustment
4 Prints a vertical adjustment alignment chart
[ACK] Returns a configuration synchronization code
C <a> <d> Changes EEPROM data at <a> to <d> (pass code locked)
D Returns menu to default (pass code locked)
I Returns ROM ID
P Forces IEEE 1284 mode (This does not alter menu RAM.)
R Reads and returns the menu RAM
S Forces serial mode (This does not alter menu RAM.)
T Clears the totals (pass code locked)
W Writes menu RAM back to EEPROM (pass code locked)
Z Halts the software
[CAN] Forces the printer to power cycle
Description These commands are designed to be used by the factory to help adjust and test
the printer. There is no guarantee that these commands are valid and/or stable.
They are not intended for use by the end user. To prevent accidental use of
these commands, they must be enabled by an [ESC] y <8> command. In some
cases, a pass code sequence is also required.
Write EEPROM This command allows specific Menu RAM locations to be written. The
definition of the locations is not defined here. This command is intended for
use by the factory and is only active if a pass code is sent to the printer.