The following information is provided as is, and the authors take no responsibility for the correctness.
IEEE Standard Signaling Method for a Bidiretional Parallel Peripheral Interface for Personal Computers.
The standard documentation is available from the IEEE.org website.
The IEEE 1284 Device ID is used to identify the connected printer and its capabilities. Some printers also provide status information via the ID string.
It consists of a sequence of bytes. The first two bytes are the length of the sequence, including the two length bytes. The first byte is the most significant byte. Following the two length bytes, the sequence is composed of a series of keys and values of the form: key: value {,value}; repeated for each key. As indicated, each key will have one value, and may have more than one value.
The minimum necessary keys (case-sensitive) are MANUFACTURER, COMMAND SET, and MODEL. (These keys may be abbreviated as MFG, CMD, and MDL respectively.)
Each implementation will supply these three keys and possibly additional ones as well. Each key (and each value) is a string of characters. Any characters except colon (:), comma (,), and semi-colon (;) may be included as part of the key (or value) string. Any leading or trailing white space (SPACE[x'20'], TAB[x'09'], VTAB[x'0B'], CR[x'0D'], NL[x'0A'], or FF[x'0C']) in the string is ignored by the parsing program (but is still counted as part of the overall length of the sequence).
All MANUFACTURER, and MODEL key values must remain unique from each manufacturer.
MANUFACTURER:ACME Manufacturing; COMMAND SET:PCL,MPL; MODEL:LaserBeam ?; COMMENT:Anything you like; ACTIVE COMMAND SET:PCL;
Abbreviation: Known Alias:
Abbreviation: CLS
Known Alias:
CLASS should have one of the following values: PRINTER, MODEM, NET, HDC1, PCMCIA, MEDIA2, FDC3, PORTS, SCANNER, DIGCAM
Abbreviation: CMD
Known Alias:
COMMAND SET can one or more values like: PCL, NPAP, MLC, PS, PostScript, 1284.4
Abbreviation: CMT
Known Alias:
And optional comment.
Abbreviation: CID
Known Alias:
The Microsoft® Windows® COMPATIBLE ID key may have any value that exactly matches an ID value listed in an INF file. Additionally there may be Plug & Play IDs assigned to legacy parallel port devices. These IDs may also be specified in the CID field. If the device is not compatible with another device, or the manufacturer does not wish to have a compatible device driver used, there is no need to support this keyword.
Abbreviation: DES
Known Alias:
The DESCRIPTION key is an ASCII string that provides the description of the device the manufacturer would like presented to the user. The DESCRIPTION key should be no longer than 128 characters.
Abbreviation: FW
Known Alias:
Firmware Version
Abbreviation: MFG
Known Alias: MFR
Name of the manufacturer.
Abbreviation: MDL
Known Alias:
Unique model identification
Abbreviation: REV
Known Alias:
Revision number
Abbreviation: SN
Known Alias: SER, SERN
Serial number
Manufacturer: HP
1284.4DL can one or more values:
| ID | Description |
|---|---|
| 1 | |
| 4d | |
| 4e |
Example: 1284.4DL:4d,4e,1;
Manufacturer: HP
Manufacturer: HP
Manufacturer: HP
Manufacturer: HP
Manufacturer: HP
Manufacturer: HP
Manufacturer: HP
Printer status returned by some HP printers.
The value is a HEX ASCII encoded byte record, where the first byte indicates the version.
| Option Flags (4 bit) | |
|---|---|
| bit | Description |
| 0 (0x1) | open/unengaged |
| 1 (0x2) | |
| 2 (0x4) | |
| 3 (0x8) | Installed |
| Colorant Kind | |
|---|---|
| value | Description |
| 0 | none |
| 1 | InkJet head (no ink) |
| 2 | InkJet supply (ink tank) |
| 3 | InkJet (cartridge) |
| Colorant Type | |
|---|---|
| value | Description |
| 0 | none |
| 1 | Black |
| 2 | CMY (Cyan, Magenta, Yellow) |
| 3 | KCM (Black, Cyan, Magenta) |
| 4 | Cyan |
| 5 | Magenta |
| 6 | Yellow |
| 7 | Cyan Low |
| 8 | Magenta Low |
| 9 | Yellow Low |
| 10 | GGK (2 shades of grey and black) |
| 11 | Blue |
| 12 | KCMY (Black, Cyan, Magenta, Yellow) |
| 13 | LCLM (light cyan and light magenta) |
| 14 | YM (yellow and magenta) |
| 15 | CK (cyan and black) |
| 16 | LGPK (light grey and photo black) |
| 17 | LG (light grey) |
| 18 | G (medium grey) |
| 19 | PG (photo grey) |
| - | |
| 32 | White |
| 33 | Red |
| ID RECORD | ||
|---|---|---|
| Char | Length | Description |
| 0 | 2 | Version ID = '00' |
| 2 | 1 | Top Door(Option Flags) |
| 3 | 1 | Supply Door(Option Flags) |
| 4 | 1 | Duplexer(Option Flags) |
| 5 | 1 | Photo Tray(Option Flags) |
| 6 | 1 | Intray 1(Option Flags) |
| 7 | 1 | Intray 2(Option Flags) |
| 8 | 6 | |
| 14 | 2 | Status |
| 16 | 1 | NoC = Number of Collorants |
| ColorIDX x NoC + 17 | 8 | Collorant Record |
| COLLORANT RECORD | ||
|---|---|---|
| Char | Length | Description |
| 0 | 2 | Colorant Kind (2bit) & Type (6bit) KKTTTTTT See Colorant Kind and Type Table |
| 2 | 4 | |
| 6 | 2 | Ink level in Percent |
| ID RECORD | ||
|---|---|---|
| Char | Length | Description |
| 0 | 2 | Version ID = '01' |
| 2 | 1 | Top Door(Option Flags) |
| 3 | 1 | Supply Door(Option Flags) |
| 4 | 1 | Duplexer(Option Flags) |
| 5 | 1 | Photo Tray(Option Flags) |
| 6 | 1 | Intray 1(Option Flags) |
| 7 | 1 | Intray 2(Option Flags) |
| 8 | 6 | |
| 14 | 2 | Status |
| 16 | 1 | NoC = Number of Collorants |
| ColorIDX x NoC + 17 | 8 | Collorant Record |
| COLLORANT RECORD | ||
|---|---|---|
| See Version 0 |
| ID RECORD | ||
|---|---|---|
| Char | Length | Description |
| 0 | 2 | Version ID = '02' |
| 2 | 12 | |
| 14 | 2 | Status |
| 16 | 1 | NoC = Number of Collorants |
| ColorIDX x NoC + 17 | 8 | Collorant Record |
| COLLORANT RECORD | ||
|---|---|---|
| Char | Length | Description |
| 0 | 4 | ? Level ? in Percent |
| ID RECORD | ||
|---|---|---|
| Char | Length | Description |
| 0 | 2 | Version ID = '03' |
| 2 | 1 | Top Door(Option Flags) |
| 3 | 1 | Supply Door(Option Flags) |
| 4 | 1 | Duplexer(Option Flags) |
| 5 | 1 | Photo Tray(Option Flags) |
| 6 | 1 | Intray 1(Option Flags) |
| 7 | 1 | Intray 2(Option Flags) |
| 8 | 8 | |
| 16 | 2 | Status |
| 18 | 1 | NoC = Number of Collorants |
| ColorIDX x NoC + 19 | 8 | Collorant Record |
| COLLORANT RECORD | ||
|---|---|---|
| See Version 0 |
| ID RECORD | ||
|---|---|---|
| Char | Length | Description |
| 0 | 2 | Version ID = '04' |
| 2 | 1 | Top Door(Option Flags) |
| 3 | 1 | Supply Door(Option Flags) |
| 4 | 1 | Duplexer(Option Flags) |
| 5 | 1 | Photo Tray(Option Flags) |
| 6 | 1 | Intray 1(Option Flags) |
| 7 | 1 | Intray 2(Option Flags) |
| 8 | 12 | |
| 20 | 2 | Status |
| 22 | 1 | NoC = Number of Collorants |
| ColorIDX x NoC + 23 | 8 | Collorant Record |
| COLLORANT RECORD | ||
|---|---|---|
| See Version 0 |
Manufacturer: HP
Manufacturer: Ricoh
Manufacturer: HP
Manufacturer: HP
Manufacturer: HP
Printer status returned by some HP printers.
| VALUE | Description |
|---|---|
| ff | ? |
| DN | ? |
| - | |
| BUSY | busy |
| IDLE | idle |
| PRNT | printing |
| OFFF | turning off |
| RPRT | report printing |
| CNCL | canceling |
| IOST | IO stall |
| DRYW | dry time wait |
| PENC | pen change |
| OOPA | out of paper |
| BNEJ | banner eject |
| BNMZ | banner mismatch |
| PHMZ | photo mismatch |
| DPMZ | duplex mismatch |
| PAJM | paper jam |
| CARS | carriage stall |
| PAPS | paper stall |
| PENF | pen failure |
| ERRO | hard error |
| PWDN | power down |
| FPTS | front panel test |
| CLNO | clean out tray missing |
| - | |
| CUT | ? |
| Kn | 'K0' = Black cardridge present 'K1' = Black cardridge NOT present |
| Cn | 'C0' = Color cardridge present 'C1' = Color cardridge NOT present |
| KPnnn | Black cardridge ink level nnn = level in percent |
| CPnnn | Color cardridge ink level nnn = level in percent |
| SM | ? |
| NR | ? |
| AU | ? |