Programmer's Guide
POSjet
®
1500
Extended Control Codes
Nov-07
Rev M
Page 241
Function
Read and Return Totals
ASCII
[ESC] ~ T <n>
Hexadecimal
1BH 7EH 54H <n>
Decimal
<27> <126> <84> <n>
Description
This command returns the current statistics for parameter n. The value returned will be ~T<n>
with the next 4 bytes being an unsigned integer. For example:
[ESC]~T<1> Request cover open count
Returns:
~T<1><0><0><1><100> or 256 + 100 or 356 cover opens
Values of n
Request:
0
Total Cartridges used
1
Cover Opens
2
Paper Outs
3
Line Feed
4
Characters Printed
5
Cash Drawer 1 Opens
6
Cash_Drawer 2 Opens
7
OFF Power Cycles
8
Power Ups from reset
9
Monitor Resets
10
Head Index Errors
11
Auto Cutter Cycles
12
Host Initialization Requests
13
Error Vectors taken
14
Auto Cutter Faults
15
Power On Time (Min.)
16
System Active Time (Min.)
17
Slips Inserted
Function:
Set Cartridge Color
ASCII:
[ESC] ~ R<c> or [ESC] ~ L<c>
Hex:
1BH 7EH 52H or 1BH 7EH 4CH
Decimal:
<27><126><82> or <27><126><76>
Description:
This command reconfigures the print cartridge colors. This command should only be use when
the colors of the installed cartridges are changed. This configuration must match the cartridge
colors as specified by the PJColor program for the color graphics to match the PJColor preview.
[ESC] ~ L<c> sets the left or primary color and [ESC] ~ R<c> sets the right or secondary color.
You can set the Left cartridge to any color and you can set the right cartridge color to any color
but black.
Cartridge Color
<c> in Decimal
<c> in Hex
RED
1
01H
GREEN
2
02H
BLUE
4
04H
BLACK
16
10H
COLOR READY
16
10H
Note:
You can not specify black for both cartridges. This configuration is reserved for a color ready
printer and will only use left cartridge.
Note:
These commands change the configuration of the printer that is stored in nonvolatile memory.
The values take effect immediately and will remain until changed by these commands or manual
configuration. This command should only be used when needed.
Summary of Contents for POSJET 1500
Page 1: ...PROGRAMMER S GUIDE POSjet 1500 PN 20 03398 Rev M Nov 2007...
Page 14: ......