Table of Contents

IEEE Standard 1284

IEEE Standard Signaling Method for a Bidiretional Parallel Peripheral Interface for Personal Computers.

Revisions

Related Standards

Reference

The standard documentation is available from the IEEE.org website.

IEEE 1284 Device ID

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;

Device ID Keys

ACTIVE COMMAND SET

Abbreviation: Known Alias:

CLASS

Abbreviation: CLS
Known Alias:

CLASS should have one of the following values: PRINTER, MODEM, NET, HDC1, PCMCIA, MEDIA2, FDC3, PORTS, SCANNER, DIGCAM

COMMAND SET

Abbreviation: CMD
Known Alias:

COMMAND SET can one or more values like: PCL, NPAP, MLC, PS, PostScript, 1284.4

ID Language
1284.4 IEEE Standard 1284.4
ACL
BDC
BIDI-ECP
BJ
BJL Canon BJL
BJRaster
BJRaster3
BSCC
BJScan2
C32
CLS
CPDNPA001 NPAP - Network Printing Alliance Protocol
D4 IEEE Standard 1284.4
DESKJET
DW-PCL
DYN
ECP18
EJL EJL - Epson Job Language
EPSON ESC/P - Epson Standard Code for Printers
EPSONFX Epson FX
ESCP9-84
ESCPAGE-04
ESCPAGES-02 ESC/P2 - Epson Standard Code for Printers, Level 2
ESCPL2 ESC/P2 - Epson Standard Code for Printers, Level 2
ESCPL2-00 ESC/P2 - Epson Standard Code for Printers, Level 2
ESC/P2 ESC/P2 - Epson Standard Code for Printers, Level 2
FastRaster PCL XL - HP Page Description Language Level 6
HIPERWINDOWS Hiper-C
HPGL2-01 hp-gl2
HP ENHANCED PCL5 PCL - HP Page Description Language
HP ENHANCED PCL5e PCL - HP Page Description Language
HP ENHANCED PCL6 PCL XL - HP Page Description Language Level 6
HP GDI
IBM ProPrinter - IBM ProPrinter
IBMPPR ProPrinter - IBM ProPrinter
LAVAFLOW LAVAFLOW - Zenographics PCL
LDL
LEXWPS
LNPAP NPAP - Network Printing Alliance Protocol
LOWENDLEXCPD
lpt1
LQ Epson LQ
MFPDTF1
MFPXDMA
MICROLINE
MIME
MLC HP Multiple Logical Channels protocol (MLC)
NA
none
NPAP NPAP - Network Printing Alliance Protocol
MultiPass 2.1
OAKRAS OAKT
OPEL
PCL PCL - HP Page Description Language
PCL3 PCL - HP Page Description Language
PCL4 PCL - HP Page Description Language
PCL5 PCL - HP Page Description Language
PCL5C PCL - HP Page Description Language
PCL5e PCL - HP Page Description Language
PCL5E2 PCL - HP Page Description Language
PCL6 PCL XL - HP Page Description Language Level 6
PCLXL PCL XL - HP Page Description Language Level 6
PCL 5 Emulation PCL - HP Page Description Language
PCL-XL PCL XL - HP Page Description Language Level 6
PDF
PJL PJL - HP Printer Job Language
PML PML - HP Printer Managment Language
POSTSCRIPT PostScript
POSTSCRIPT2 PostScript
PostScript Level 2 Emulation PostScript
PostScript Level 3 For Mac Emulation PostScript
PrintGear
PRPXL24 ProPrinter - IBM ProPrinter
PRPXL24-01 ProPrinter - IBM ProPrinter
PS PostScript
PT-CBP Brother P-Touch
RPCS RPCS - Ricoh Refined Printing Command Stream
SCP SCP - HP Sleek Control Protocol
TXT01
VLINK VLink - HP VLink
WinStyler
XHTML
ZJS ZjStream - Zenographics SuperPrint Zj Stream

COMMENT

Abbreviation: CMT
Known Alias:

And optional comment.

COMPATIBLE ID

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.

DESCRIPTION

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.

FIRMWARE

Abbreviation: FW
Known Alias:

Firmware Version

MANUFACTURER

Abbreviation: MFG
Known Alias: MFR

Name of the manufacturer.

MODEL

Abbreviation: MDL
Known Alias:

Unique model identification

REVISION

Abbreviation: REV
Known Alias:

Revision number

SERIALNUMBER

Abbreviation: SN
Known Alias: SER, SERN

Serial number

Special Keys

1284.4DL

Manufacturer: HP

1284.4DL can one or more values:

ID Description
1
4d
4e

Example: 1284.4DL:4d,4e,1;

AiO

Manufacturer: HP

LDE

Manufacturer: HP

LDF

Manufacturer: HP

LGS

Manufacturer: HP

LOP

Manufacturer: HP

LSS

Manufacturer: HP

S

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

Version 0

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

Version 1

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

Version 2

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

Version 3

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

Version 4

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

STATUS

Manufacturer: HP

STS

Manufacturer: Ricoh

VJ

Manufacturer: HP

VP

Manufacturer: HP

VSTATUS

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 ?