Brother International TD-4420DN Raster Command Reference - Page 11

Print Data

Page 11 highlights

Raster Command Reference 4. Print Data 4.1 Print data overview The print data is constructed of the following: (1) initialization commands, (2) control codes, (3) raster data, and (4) print commands. If the print job consists of multiple pages, (2) through (4) are repeated. (1) Initialization commands Specified only once at the beginning of the job. Sequence Command Name Description/Example 1 Invalidate Sends a 350-byte invalidate command, and then resets the printer to the receiving state. 2 Initialize Initializes for printing. 1Bh, 40h (Fixed) (2) Control codes Added at the beginning of each page and sent for each page. Sequence Command Name Description/Example 1 Switch dynamic command mode Switches the command mode of the printer to raster mode. 1Bh, 69h, 61h, 01h Switch automatic Dynamically switches whether an automatic status notification is 2 status notification given during printing. mode 1Bh, 69h, 21h, 00h 1Bh, 69h, 55h, 77h, 01h, 127 bytes of media information Additional media Note 3 information If the media information is the same as when printing was command last performed, it is unnecessary to send the additional media information command. 4 Print information command Sets the print information for the printer. For a length setting of 102 mm for 152-mm-wide die-cut label: 1Bh, 69h, 7Ah, 00h, 0Bh, 66h, 98h, F0h, 02h, 00h, 00h, 00h, 00h 5 Various mode To select "Auto cut" 1Bh, 69h, 4Dh, 40h Specifies the amount of the margins. 6 Specify margin amount For 3 mm margins: 1Bh, 69h, 64h, 18h, 00h (203 dpi) 1Bh, 69h, 64h, 24h, 00h (300 dpi) 7 Select compression mode Selects the compression mode for raster graphics. To send the data compressed to TIFF format: 4Dh, 02h - 5 - 4. Print Data

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57

Raster Command Reference
-
5
-
4. Print Data
4. Print Data
4.1 Print data overview
The print data is constructed of the following: (1) initialization commands, (2) control codes, (3) raster data,
and (4) print commands. If the print job consists of multiple pages, (2) through (4) are repeated.
(1)
Initialization commands
Specified only once at the beginning of the job.
Sequence
Command Name
Description/Example
1
Invalidate
Sends a 350-byte invalidate command, and then resets the
printer to the receiving state.
2
Initialize
Initializes for printing.
1Bh, 40h (Fixed)
(2)
Control codes
Added at the beginning of each page and sent for each page.
Sequence
Command Name
Description/Example
1
Switch dynamic
command mode
Switches the command mode of the printer to raster mode.
1Bh, 69h, 61h, 01h
2
Switch automatic
status notification
mode
Dynamically switches whether an automatic status notification is
given during printing.
1Bh, 69h, 21h, 00h
3
Additional media
information
command
1Bh, 69h, 55h, 77h, 01h, 127 bytes of media information
Note
If the media information is the same as when printing was
last performed, it is unnecessary to send the additional
media information command.
4
Print information
command
Sets the print information for the printer.
For a length setting of 102 mm for 152-mm-wide die-cut label:
1Bh, 69h, 7Ah, 00h, 0Bh, 66h, 98h, F0h, 02h, 00h, 00h, 00h, 00h
5
Various mode
To select “Auto cut”
1Bh, 69h, 4Dh, 40h
6
Specify margin
amount
Specifies the amount of the margins.
For 3 mm margins:
1Bh, 69h, 64h, 18h, 00h (203 dpi)
1Bh, 69h, 64h, 24h, 00h (300 dpi)
7
Select compression
mode
Selects the compression mode for raster graphics.
To send the data compressed to TIFF format:
4Dh, 02h