2001/10/02
APPENDIX C HBP MODE COMMANDS - 10
3.2.7
Graphic data input commands
Command
@G+[data length(3bytes)]+data
Function
The 3 bytes of data following the @G command shows the length of the data, N. The N bytes following this 3
byte header is handled as graphic data.
(Example)
fprintf(fp,”@G%c%c%c”,
(char)((data_length>>16)&0xff),
(char)((data_length>>8)&0xff),
(char)((data_length>>0)&0xff) );
fwrite(data,(size_t)1,(size_t)data_length,fp);
See section 2.3 for further details of the data format.
The printer driver can send the printer 1 page of print data divided into sections by sending these commands
continuously. It is recommended to send 1 page of print data without dividing into sections when the 1 page
print data is more than the printer memory (500 Kbytes) as the printer will print this ' on the fly' and sending it in
one block will improve the print performance.
3.2.8
Formfeed commands
Command
@F
Remark: The last raster scan on each page should be a white raster. For instance, the white raster command
‘@G<00H><00H><01H><FFH>‘ should be sent before the @F command.
Function
This command sets a page break.
The printer works as follows when it receives this command;
(1) If 1 page of print data is less than the input buffer size in the printer, the printer recognizes the command
as a page break and starts printing.
(2) If 1 page of print data is more than the input buffer size in the printer, then since the printer has already
started printing, this command is handled as a page break only.
When it is received after printing, a Print Overrun error occurs in the printer. If Bit0 is set to 1 in the mode
setting command (@M+*) mentioned in section 2.2.5., the printer ignores the data until it receives this
form feed command when a Print Overrun error occurs.
3.2.9
Exit commands
Command
@X
Function
This command exits from HBP mode
The HL-1040 printer is restored to the default emulation mode by this command
Summary of Contents for HL-1250
Page 15: ...2001 10 02 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...2001 10 02 CHAPTER 1 INTRODUCTION 6 ...
Page 21: ...2001 10 02 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 59: ...2001 10 02 CHAPTER 2 PCL 39 ...
Page 76: ...2001 10 02 CHAPTER 2 PCL 56 ...
Page 104: ...2001 10 02 CHAPTER 2 PCL 84 71 71 Lines picture Same as above ...
Page 109: ...2001 10 02 CHAPTER 2 PCL 89 ...
Page 123: ...2001 10 02 CHAPTER 2 PCL 103 ...
Page 131: ...2001 10 02 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 149: ...2001 10 02 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 199: ...2001 10 02 CHAPTER 4 HP GL 2 51 ...
Page 204: ...2001 10 02 CHAPTER 4 HP GL 2 56 ...
Page 205: ...2001 10 02 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 248: ...2001 10 02 CHAPTER 5 PJL 44 ...
Page 263: ...2001 10 02 CHAPTER 5 PJL 59 ...
Page 264: ...2001 10 02 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 286: ...2001 10 02 CHAPTER 6 EPSON 23 LPRINT CHR 27 CHR 37 CHR 1 CHR 0 Select downloaded characters ...
Page 290: ...2001 10 02 CHAPTER 6 EPSON 27 Sample 12 ...
Page 292: ...2001 10 02 CHAPTER 6 EPSON 29 Sample 14 ...
Page 294: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 315: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 22 ...
Page 316: ...2001 10 02 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 326: ...2001 10 02 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 353: ...10 5 2001 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 391: ...10 5 2001 APPENDIX A COMPARISON LIST 39 AUTOSKIP ON OFF ON OFF ON OFF ON OFF ...