2001/10/02
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.