Loading

Graphics (raster graphics) commands

Introduction

The following table lists the supported PCL5e commands.

Raster graphics commands

Graphics (raster graphics) commands for PCL5e

Function

Parameter

PCL command

Resolution

75 dots/inch

<Esc>*t75R

100 dots/inch

<Esc>*t100R

150 dots/inch

<Esc>*t150R

200 dots/inch

<Esc>*t200R

300 dots/inch

<Esc>*t300R

600 dots/inch

<Esc>*t600R

Graphics Presentation

Rotate Image

<Esc>*r0F

Landscape-compat.

<Esc>*r3F

Raster Height

Number of Raster Rows

<Esc>*r#T

Raster Width

Number of Pixels

<Esc>*r#S

Start Graphics

Left Margin

<Esc>*r0A

Current Cursor

<Esc>*r1A

Raster Y Offset

Number of Raster Lines

<Esc>*b#Y

Set Compression Mode

Unencoded

<Esc>*b0M

Run-Length Encoded

<Esc>*b1M

TIFF (Tagged Image File Format)

<Esc>*b2M

Delta Row

<Esc>*b3M

Adaptive Compression

<Esc>*b5M

Transfer Raster data

Number of Bytes

<Esc>*b#W

End Graphics Version B

None

<Esc>*rB

End Graphics Version C

None

<Esc>*rC