CHAPTER 2 PCL - 89
6.3.5.
Set raster area height
Esc*r#T (27)(42)(114)#(84)
<1Bh><2Ah><72h>#<54h>
This command sets the height of the raster image to be printed.
# is the number of raster rows.
If you use this command after using a Start Raster Graphics or a Transfer Raster Data command, it does not
take effect until after the next End Raster Graphics command.
6.3.6.
Set raster area width
Esc*r#S (27)(42)(114)#(83)
<1Bh><2Ah><72h>#<53h>
This command sets the width of the raster image to be printed.
# is the number of dots at the specified dots per inch resolution.
If you use this command after using a Start Raster Graphics or a Transfer Raster Data command, it does not
take effect until after the next End Raster Graphics command.
6.3.7.
Set raster y-offset
Esc*b#Y (27)(42)(98)#(89)
<1Bh><2Ah><62h>#<59h>
This command sets the offset (number of blank rows to be skipped) for the raster image to be printed.
# is the number of rows that are left blank at the top of the image.
# must be in the range 0-32767.
This command is only effective in raster graphics mode, that is, after a Start Raster Graphics mode
command.
6.3.8.
Set compression mode
Esc*b#M (27)(42)(98)#(77)
<1Bh><2Ah><62h>#<4Dh>
Identifies the method of compression used to encode the raster image that is to be sent to the printer.
# is 0, 1, 2, 3, 5, 9, 1152 or 1024.
# = 0 signifies no compression is to be used.
# = 1 indicates that run-length encoding is to be used. The raster data bytes are transmitted in pairs. The
second byte of each pair specifies the raster output, the first byte specifies the number of times the second
byte is successively repeated. A value of 0 for the first byte indicates a single occurrence of the second byte,
a value of 1 indicates two consecutive occurrences of the second byte and so on.
# = 2 indicates that TIFF (tagged image file format) encoding is to be used. In this format the data is
transmitted in groups of bytes. The first byte of each group is a control byte and defines how the subsequent
data byte or bytes should be interpreted, and how many data bytes there are before the next control byte. If
the two's complement value of the control byte is in the range –1 to –127, the following byte is a repeated
data byte. The number of successive occurrences of the data byte is given by the absolute value of the
control byte plus one - that is, if the control byte is -6, the following data byte is repeated 7 times. If the
value of the control byte is in the range 0-127 the bytes which follow are unencoded raster data. The number
of data bytes is given by the absolute value of the control byte plus one - that is, if the control byte is 9, the
following ten bytes are unencoded data. If a control byte has the two's complement value –128 it is ignored
and the next byte is treated as a control byte.
Summary of Contents for HL-4140CN
Page 4: ......
Page 15: ...CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Page 20: ...CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Page 137: ...CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Page 155: ...CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Page 208: ...CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Page 285: ...CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Page 313: ...CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Page 334: ...CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Page 346: ...CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Page 373: ...CHAPTER 10 CARBON COPY FUNCTION 1 CHAPTER 10 CARBON COPY FUNCTION ...
Page 383: ...APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Page 490: ...APPENDIX C HBP MODE COMMANDS 1 APPENDIX C HBP MODE COMMANDS For HL 820 1020 1040 Only ...