Set scale algorithm, Send raster data by plane, Enter hp-gl/2 mode – Brother HL-2170W User Manual
Page 146
CHAPTER 3 PCL5C - 13
4.4.
Set Scale Algorithm
Command
ESC*t#K (27)(42)(116)#(75) <1Bh><2Ah><70h>#<4Bh>
# = 0 *
Takes the lighter overlying dots when reducing.
= 1
Takes the darker overlying dots when reducing.
* Default value = 0
This command sets which algorithm the data is reduced by.
Any combinations, such as vertical only, horizontal only or vertical and horizontal are allowed to be reduced.
If the setting is vertical only or horizontal only, this command affects the set direction.
This command should be used after sending the Start Raster Transfer command after setting the scaling
(ESC*r2A or ESC*r3A).
4.5.
Send Raster Data by Plane
Command
ESC*b#V [data] (27)(42)(98)#(87) <1Bh><2Ah><62h>#<56h>
Range = 0 ~ 32767
Default value = N/A
This command sends a plane of data to the printer and goes ahead to the next plane (not to the next row).
The # value represents the number of data bytes to be sent. The number of planes per row is specified by
the Set Simple Color command or the Set PCL Color command, depending on which color mode is used.
The first plane sent represents the least significant bit in the pixel.
Since this command does not affect the cursor position, it cannot be used for the last plane or for single-plane
rows. Only the ESC*b#W command can progress the cursor to the next row.
The amount of data sent varies depending on the plane, and it is separate from the raster width. When the
data sent is shorter than the raster width, the data which was not filled within the specified raster width is
cleared to 0. Empty planes can be sent when the # value is 0.
4.6.
Enter HP-GL/2 Mode
Command
ESC%#B (27)(37)#(66) <1Bh><2Ah><25h>#<4Ah>
# = 0 *
Position the cursor at the previous HP-GL/2 cursor position.
= 1
Leave the cursor at its current PCL position.
= 2
Use current PCL coordinate system and previous HP-GL/2 pen position
= 3
Use PCL dot coordinate system and the current cursor position
Range = 0 ~ 3
* Default value = 0
Immediately after the printer receives this command, it switches to HP-GL/2 mode, interpreting commands
as HP-GL/2 commands until it receives an Enter PCL Mode,
Reset or UEL command, or until the printer is
turned off and on.
The # value specifies the cursor position once HP-GL/2 mode is entered. Each value performs the
following functions;
• # = 0:
The cursor is positioned at the previous HP-GL/2 cursor position. If this is the first time you
have switched to HP-GL/2 mode since switching the printer on, the cursor is placed at the origin
of the HP-GL/2 graphics windows.
• # = 1:
The cursor remains at its current position.
• # = 2:
The PCL coordinate system is used when entering into HP-GL/2 mode from PCL mode. The
HP-GL/2 cursor position uses the previous HP-GL/2 position. It is separate from the P1 and P2
positions.
• # = 3:
The PCL coordinate system is used when entering into HP-GL/2 mode from PCL mode . The
PCL cursor position is used instead of the HP-GL/2 cursor position. It is separate from the P1
and P2 positions.
- HL-1670N HL-6050D HL 5250DN HL-5070N HL-2460 HL-6050DN HL-2150N HL 2700CN HL-2130 HL-S7000DN HL-3040CN HL 1650 HL-6050 HL-5240 HL-5240L HL-1470N HL 3070CW HL 5170DN HL-3450CN HL-3140CW HL 5470DW HL-5140 HL-5440D HL-7050 HL-2240 HL-5040 HL-4070CDW HL-1870N HL-1110 HL-1850 HL 4150CDN HL-8050N HL 5450DN HL 5370DW HL-5050 HL-2140 HL 1270N HL-2600CN HL-6180DW HL-5350DN HL-4050CDN HL-2070N HL-3260N HL-5150D HL-5280DW HL-3170CDW HL-4570CDW HL-3150CDW HL 4040CN HL-4140CN HL 2240D HL 2270DW HL-1250 HL-7050N HL 5340D HL-2250DN HL-1450 HL-L9200CDWT HL-1112 HL-5270DN HL-5450DNT HL-L8250CDN HL 4570CDWT HL-5380DN HL-6180DWT HL-L8350CDW HL-4040CDN HL-L8350CDWT HL-2230 HL-5470DWT HL 2220 HL-1110E HL-1112E