Panasonic KX-P7200 User Manual

Panasonic
Software Commands Manual
for KX-P7200
Table of Contents
Printing Description PCL Commands HP-GL/2 Command PJL Commands
MSL Symbol List
Index
Character Tables
Unicode Symbol List
PCL Commands
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 mode Landscapeprinting 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
Portrait Landscape
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
F
C
C
Paper Type Letter Legal
Paper Size 8. 5"x11"
(215.9x279.4 mm)
8. 5"x14"
(215.9x355.6 mm)
Portrait/ Landscape P L P L
A(dots) 3,300 2,550 4,200 2,550 B(dots) 2,550 3,300 2,550 4,200 C(dots) 50 50 50 50 D(dots) 3,200 2,450 4,100 2,450 E(dots) 2,450 3,200 2,450 4,100
F(dots) 75 60 75 60 G(dots) 2,400 3,180 2,400 4,080
Table 2.1 Printable area size (1 dot=1/
Paper Type A4 EXECUTIVE
Paper Size 210x297 mm
(8.27"x11.7")
7. 25"x10.5"
(184.1x266.7 mm)
Portrait/ Landscape P L P L
A(dots) 3,507 2,480 3,150 2,175 B(dots) 2,480 3,507 2,175 3,150 C(dots) 50 50 50 50 D(dots) 3,407 2,380 3,050 2,075 E(dots) 2,380 3,407 2,075 3,050
F(dots) 71 59 75 60 G(dots) 2,338 3,389 2,025 3,030
Table 2.1 Printable area size (continued) (1 dot=1/
300
300
")
")
Paper Type Envelope #10 Monarch
Paper Size 4.13"x9.5"
(104.9x241.3 mm)
3. 88"x7.5"
(98.5x190.5 mm)
Portrait/ Landscape P L P L
A(dots) 2,850 1,237 2,250 1,162 B(dots) 1,237 2,850 1,162 2,250 C(dots) 50 50 50 50 D(dots) 2,750 1,137 2,150 1,062 E(dots) 1,137 2,750 1,062 2,150
F(dots) 75 60 75 60 G(dots) 1,087 2,730 1,012 2,130
Table 2.1 Printable area size (1 dot=1/
300
")
Paper Type International
DL
Paper Size 110x220 mm
(4.33"x8.66")
International
C5
162x229 mm
(6.4"x9.02")
Portrait/ Landscape P L P L
A(dots) 2,598 1,299 2,704 1,913 B(dots) 1,299 2,598 1,913 2,704 C(dots) 50 50 50 50 D(dots) 2,498 1,199 2,604 1,813 E(dots) 1,199 2,498 1,813 2,604
F(dots) 71 59 71 59 G(dots) 1,157 2,480 1,771 2,586
Table 2.1 Printable area size (continued) (1 dot=1/
300
")
Paper Type Custom
Paper Size maximum
215.9x355.6 mm (8.5"x14")
Portrait/ Landscape P L
A(dots) 4,200 2,550 B(dots) 2,550 4,200 C(dots) 50 50 D(dots) 4,100 2,450 E(dots) 2,450 4,100
F(dots) 75 60
G(dots) 2,400 4,080
Table 2.1 Printable area size (1 dot=1/
300
")
Coordinate System
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).
Font Pitch Style Stroke Weight
Albertus ps Upright
Antique Olive ps
Arial ps
CG Omega
CG Times
Table 2.2 Built-in fonts (continued) ps=proportional spacing
ps
ps
Upright Italic Medium Upright
Italic Upright Italic Upright Italic
Medium Extra Bold Medium Bold
Medium Bold Medium Bold Medium Bold Medium Bold Medium Bold Medium Bold
Font Pitch Style Stroke Weight
Clarendon Condensed ps Condensed Bold Coronet ps Italic Medium
Upright
Courier fixed
Italic
Medium Bold Medium
Bold Garamond Antiqua ps Upright Medium Garamond Halbfett ps Upright Bold Garamond Kursiv ps Italic Medium Garamond Kursiv Halbfett ps Italic Bold
Medium
Bold
Letter Gothic fixed
Upright
Italic Medium Line Printer fixed Upright Medium Marigold ps Upright Medium Symbol ps Upright Medium
Medium Bold Medium Bold
Times New Roman
Upright
ps
Italic
Table 2.2 Built-in fonts (continued) ps=proportional spacing
Font Pitch Style Stroke Weight
Upright
Italic
Univers
Wingdings ps Upright Medium
Table 2.2 Built-in fonts ps=proportional spacing
ps
Condensed
Condensed
Italic
Medium Bold Medium Bold Medium Bold Medium Bold
Terms for Bitmap Font
Cel
l
CellCellheigh
t
Cellheigh
t
Cell
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 Group Function Name
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
ESC “&l#O” ESC “&l#A” ESC “&a#P” ESC “&l#E” ESC “&l#F” ESC “&l#L” ESC “&a#L” ESC “&a#M” ESC “9” ESC “&l#D” ESC “&l#C” ESC “&k#H” SI SO ESC “(ID” ESC “(s#P” ESC “(s#H” ESC “&k#S” ESC “(s#V” ESC “(s#S” ESC “(s#B” ESC “(s#T” ESC “(#@”
Command Group Function Name
Moving the Printing Position
Raster Graphics
Font Downloading
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
ESC “&a#C” ESC “*p#X” ESC “&a#H” ESC “&a#R” ESC “*p#Y” ESC “&a#V” ESC “*t#R” ESC “*r#F” ESC “*r#T” ESC “*r#S” ESC “*r#A” ESC “*b#Y” ESC “*b#M” ESC “*b#W” ESC “*rB” ESC “*rC” ESC “*c#D” ESC “)s#W” ESC “*c#E” ESC “(s#W” ESC “(#X” ESC “*c#F” ESC “*c#R” ESC “(f#W” ESC “*c#S”
Command Group Function Name
Macros Macro ID
Macro Control
Print Model Pattern Transparency Mode
Source Transparency Mode Current Pattern Designating Graphics Pattern Logical Operation Pixel Placement
Advanced Graphics
Status Readback
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
ESC “&f#Y” ESC “&f#X” ESC “*v#O” ESC “*v#N” ESC “*v#T” ESC “*c#G” ESC “*l#O” ESC “*l#R” ESC “*c#A” ESC “*c#H” ESC “*c#B” ESC “*c#V” ESC “*c#G” ESC “*c#P” ESC “*c#W” ESC “*p#R” ESC “*c#Q” ESC “*s#T” ESC “*s#U” ESC “*s#I” ESC “*s1M” ESC “&r#F” ESC “*s#X”
Command Group Function Name
Miscellaneous
Plotting Picture Frame
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
ESC “Y” ESC “Z” ESC “&p#X” ESC “&d#D” ESC “&d@” ESC “&f#S” ESC “=” ESC “&k#G” ESC “&s#C” ESC “&l#X” ESC “&l#H” ESC “&a#G” ESC “&l#S” ESC “E” ESC “z” ESC “&l#U” ESC “&l#Z” ESC “%-12345X” ESC “&u#D” ESC “*c#X”
ESC “*c#Y” ESC “*c#T”
ESC “*c#K” ESC “*c#L” ESC “%#A” ESC “%#B”
PCL Commands
Page Formatting
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 re­evaluated. 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.
ESC “&l#O”
#=0: Portrait printing mode
1: Landscape printing mode 2: Reverse portrait printing mode 3: Reverse landscape printing mode
Page Size
Setting:
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.
ESC “&l#A”
#= 1: Executive (71/4x101/2 inch)
3: Legal (81/2x14 inch) 2: Letter (81/2x11 inch)
6: Ledger (11x17 inch) 26: A4 (210x297 mm) 27: A3 (297x420 mm) 80:
Monarch (Letter37/8x71/2 inch)
81:
Commercial #10 (Business41/8x91/2 inch) 90: International DL (110x220 mm) 91: International C5 (162x229 mm)
101: Custom (maximum 13x19 inch)
Print Direction
Setting:
ESC “&a#P”
#=
0 0°
90 90° 180 180° 270 270°
Portrait Landscape Reverse prtrait Reverse landscape
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