summaryrefslogtreecommitdiff
path: root/src/constants/printer_constants.asm
blob: 7b7c1d45d7729a684e8d2ecd376967df38adbe50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; wPrinterStatus
	const_def
	const PRINTER_ERROR_CHECKSUM              ; $0
	const PRINTER_STATUS_BUSY                 ; $1
	const PRINTER_STATUS_IMAGE_FULL           ; $2
	const PRINTER_STATUS_PRINTING             ; $3
	const PRINTER_ERROR_INVALID_PACKET        ; $4
	const PRINTER_ERROR_PAPER_JAMMED          ; $5
	const PRINTER_ERROR_CABLE_PRINTER_SWITCH  ; $6
	const PRINTER_ERROR_BATTERIES_LOST_CHARGE ; $7

; printer packet types
PRINTERPKT_INIT              EQU $01
PRINTERPKT_PRINT_INSTRUCTION EQU $02
PRINTERPKT_DATA              EQU $04
PRINTERPKT_BREAK             EQU $08
PRINTERPKT_NUL               EQU $0f