Page Formatting
Font Selection
Moving the Printing Position
Raster Graphics
Macros
Print Model
Advanced Graphics
Status Readback
Miscellaneous
HP-GL/2 Commands
The Configuration and Status
The Polygon Group
The Vector Group
The Line and Fill Attributes Group
The Character Group
PJL Commands
Introduction
PJL Command Syntax and Format
Print Environment Composition
PJL Reset Conditions
Environment Variables
Status Message
Usage of Command
PJL Commands
Printing Description
Introduction
The items discussed in the following sections are listed below:
• Page Orientation, Paper Length, Paper Width
• Printable Area
• Coordinate System
• Fonts
• Terms for Bitmap Font
• Paper Formatting
• Print Start Conditions
Page Orientation, Paper Length, Paper Width
Only single sheet paper can be used with this printer. The size of the paper is
determined by the paper length and paper width settings. Both paper length and
paper width are decided by the direction of printing, i.e., page orientation.
There are two page orientations: portrait printing mode and landscape printing
mode. In the portrait printing mode, the text is printed perpendicular to the
longer side of the paper. On the other hand, in the landscape printing mode, the
text is printed parallel with the long side of the paper.
The method of paper setting and the paper feed direction are the same in both
modes.
The paper feed direction, paper length, paper width and paper orientation are
shown in Figure 2.1.
ABCDEFG
Paper lengthPaper width
Paper
length
Portrait printing modeLandscapeprinting mode
Figure2.1 Portrait and landscape orientation
Paper
width
ABCDEFG
Printable Area
The printable area refers to the area where texts and figures can be printed.
There exists an unprintable area on the margins of the paper where texts and
figures cannot be printed (illustrated below by oblique lines).
The printable area size shown in the table is for the printer with 300 dpi
resolution. Multiply the dots by 2 for the printer with 600 dpi resolution.
For the printer with 600 dpi resolution, 1 dot is equal to 1/
600
".
B
C
B
C
A D
Printing area
A D
C
F
C
A:
Paper length
B:
Paper width
C:
Distance between the edge of
the paper and the printable area
D:
Length of the printable area
G
E
PortraitLandscape
F
C
F
C
E:
F:
G:
Figure 2.2 printable area and unprintable area
Printing area
G
E
Width of the printable area
Distance between the edge of
the paper and the logical page
Width of the logical page
A coordinate system should be set up as a standard for deciding the location
where texts or figures are printed. The origin of the coordinate system is
initialized at the left upper corner of the paper in accordance with the printing
direction in both portrait printing mode and landscape printing mode.
Refer to Figure 2.3.
Origin (0,0)
Y
Figure 2.3 Origin of the coordinate system
X
ABCDEFG
Portrait printing mode
Orig in (0,0)
X
ABC DEFG
Y
Landscape printing mode
Built-in Fonts
The fonts except Line Printer are all scalable fonts. Proportional spacing for a
scalable font can be set from 4 to 999.75 points. The value is increased or
decreased by 0.25. Fixed pitch for a scalable font can be set from 0.44 to 99.99
cpi (characters per inch). The value is increased or decreased by 0.01. Line
Printer is the only supported Bitmap Font (16.66 pitch, 8.5 points).
The term “cell” refers to the frame of the character which decides the size of
bitmap when designing a font. The horizontal line of dots is called the dot line
and vertical line is called dot column. The bottom line of the cell is called the first
line and the leftmost column is called the first column.
Baseline
The term “baseline” refers to a standard line for printing characters in line. The
position of a baseline is decided when designing a font.
For example, when consecutive characters have different cell heights, they are
printed so that the baseline of each character is aligned.
Figure 2 4 Baseline
Left/Right Offset of a Character
Left offset of character means the number of the dot lines on the left of a
character where no dots are printed, and right offset refers to the number of the
dot lines on the right of a character where no dots are printed.
Cell height
Leftoffse
t
e
Cell width
Baselin
Right offset
Figure 2.5 Character cell
Fixed Pitch Characters
HMI
A
e
B
A
B
≠
The cell width is constant for fixed pitch characters.
Baseline
Figure 2.6 Fixed character pitch
Proportional Spacing Characters
Proportional spacing means the character width of the cell is different for each
character according to the width of each character.
An “M” is a wider character than an “I”.
Baselin
Figure 2.7 Proportional spacing
Paper Formatting
The printer has the following paper formatting requirements:
• Page width is the distance from the left edge to the right margin of the paper
and must be less than or equal to the paper width.
• Page length must be greater than or equal to 1 line and less than or equal to
the paper length.
Portrait Printing Mode
Single page
Origin
Page width
TM
LM
Page
length
RM
Page width
Figure 2.8 Paper formatting-portrait
BM
Page
length
TM: Top margin
BM: Bottom margin
LM: Left margin
RM: Right margin
Landscape Printing Mode
Single page
Origin
Page width
TM
BM
Page
length
LM
RM
Paper width
Figure 2.9 Paper formatting-landscape
Page
length
TM: Top margin
BM: Bottom margin
LM: Left margin
RM: Right margin
Print Start Conditions
This printer is a page printer. As such it will only begin printing when print start
conditions are satisfied, that is, after the layout of data for one sheet of print has
been completed. Therefore, if the print start conditions are not satisfied, the data
to be printed remains in the printer even if all the printing data has been sent
from the computer.
• FF is received.
• Reset command is received.
• Orientation is changed.
• DATA TIME OUT is set to ON and the time set has passed.
• PRINT key has been pressed.
• Page size or page length is changed.
PCL Commands
Command GroupFunctionName
Page Formatting
Font Selection
Control code comparison chart-page reference table (continued)
Orientation
Page Size
Print Direction
Top Margin
Text Length
Skip Perforation
Left Margin
Right Margin
Margin Clear
Lines Per Inch
VMI
HMI
Shift In
Shift Out
Symbol Set
Spacing
Print Pitch
Character Height
Character Style
Stroke Weight
Typeface
Default Font
Control code comparison chart-page reference table (continued)
Horizontal
Vertical
Resolution Set
Graphics Presentation Mode
Height
Width
Graphics Start
Y Offset
Compression Mode
Data Sending
Graphics End Version B
Version C
Font ID define
Font Header
Character Code Define
Download Character
Font Define
Font/character Control
User-Defined Symbol Set ID Code
Define User-Defined Symbol Set
User-Defined Symbol Set Control
Control code comparison chart-page reference table (continued)
Rule Width
Rule Height
Pattern ID
Rule/Pattern Print
Download Pattern Data
Tile Pattern
Control Pattern
Set Status Readback Location Type
Set Status Readback Location Unit
Inquire Status Readback Entity
Free Space
Flush All Pages
Echo
Control code comparison chart-page reference table
Display Function
Transparent Print
Underlining Setting
Release
Push/Pop Printing Position
Half Line Feed
CR/LF/FF Action
Wrap Around
Number of Copies
Paper Input Control
Duplex Page Side Selection
Simplex/Duplex Print
Printer Reset
Self-test
Left Offset Registration
Top Offset Registration
Universal Exit/Start of PCL
Decide PCL Units
Picture frame Horizontal
size-Decipoints
Picture frame Vertical
size-Decipoints
Set picture frame anchor point
GL Plot Horizontal size-Inches
GL Plot Vertical size-Inches
Enter PCL Mode
Enter GL Mode
Page formatting is executed by setting the following: orientation, page size,
page length, top margin, text length, skip perforation, vertical line feed,
horizontal spacing, left margin and right margin. Format can be classified by
orientation in two ways; portrait printing mode and landscape printing mode.
Top margin
Page
length
Left margin
Rightmargin
Portrait printing mode
Figure 3.1 Page formatting
Text
length
Bottom
margin
Page
length
Left ma rgin
Right margin
Landscape printing mode
Top margin
Text
length
Bottom
margin
Orientation
Setting:
This command decides the page orientation. When the orientation is changed,
top margin, text length, left margin, right margin, HMI and VMI return to the
default setting and the primary and secondary fonts are changed and reevaluated. Therefore, this command should be sent from the computer as the
first command of the page.
When data already exists in the printer and the printer receives this command,
printing automatically starts and the printing position is moved to the first column
of the first line.
This command sets the page size and also sets page length, page width, top
margin, bottom margin, left margin and right margin to default setting values.
This command rotates the logical page coordinate system in the current
orientation without outputting a page. You are able to print in four orientations on
the same page. This command rotates the coordinate system in 90 degrees
increments counterclockwise.
Top Margin
Setting:
This command sets the top margin. The top margin indicates the margin on the
upper end of the printing paper.
The desired length of the margin is entered by the number of the lines(1 line =
VMI) in the value field #, and any value from 0 to the page length can be used.
The default setting is ½ inch from top of logical page.
When the top margin is set, the text length returns to the default setting.
Since an unprintable area of 60 dots exists on the upper end of the printing
paper, some upper part of text cannot be printed when the top margin is set as 0
or 1 line.
This command only sets the top margin. It does not move the printing position to
the top margin. Therefore, the printing position must be moved to the top margin
by the vertical movement of the printing position command when printing from
the top margin is required. Otherwise the printing from the top margin is effective
only on the next page. When VMI is 0, this command is invalid.
ESC “&l#E”
#=Number of lines
Loading...
+ 378 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.