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

Printing Command Details, Print Data

Page 10 highlights

Raster Command Reference (1) Open the USB/network port Open the USB/network port in the operating environment. The procedure for opening the USB/network port is not described in this material. (2) Confirm the printer status sent from the printer The "status information request" command is sent to the printer, the status information received from the printer is analyzed, and then the status of the printer is determined. For details on the "status information request" command and on the definitions of "status", refer to "Status information request" in "7. Printing Command Details". (3) Send the print data If the status analysis confirms that media compatible with the print data is loaded into the printer and that no error has occurred, the print data is sent. The structure of the print data is explained in the next section, "4. Print Data". Note: No command can be sent to the printer after the print data is transmitted and until the completion of printing is confirmed. Even the "status information request" command cannot be sent during printing. (4) Print the data (5) Confirm that printing is completed When printing is completed, the status is received from the printer. If this status is analyzed to confirm that printing is completed, printing one page is considered finished. If the print job has multiple pages, (2) through (4) are repeated. (6) Close the USB/network port After all printing is finished, close the USB/network port. - 4 - 3. Printing Using Raster Commands

  • 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
-
4
-
3. Printing Using Raster Commands
(1)
Open the USB/network port
Open the USB/network port in the operating environment. The procedure for opening the USB/network port
is not described in this material.
(2)
Confirm the printer status sent from the printer
The “status information request” command is sent to the printer, the status information received from the
printer is analyzed, and then the status of the printer is determined.
For details on the “status information request” command and on the definitions of “status”, refer to “Status
information request” in “
7. Printing Command Details
”.
(3)
Send the print data
If the status analysis confirms that media compatible with the print data is loaded into the printer and that
no error has occurred, the print data is sent.
The structure of the print data is explained in the next section, “
4. Print Data
”.
Note:
No command can be sent to the printer after the print data is transmitted and until the completion
of printing is confirmed.
Even the “status information request” command cannot be sent during printing.
(4)
Print the data
(5)
Confirm that printing is completed
When printing is completed, the status is received from the printer.
If this status is analyzed to confirm that printing is completed, printing one page is considered finished.
If the print job has multiple pages, (2) through (4) are repeated.
(6)
Close the USB/network port
After all printing is finished, close the USB/network port.