PanasonicSoftware Commands Manualfor KX-P7200 Table of ContentsPrinting DescriptionPCL CommandsHP-GL/2 CommandPJL CommandsAppendix A Ch
Paper Type Envelope #10 MonarchPaper Size 4.13"x9.5"(104.9x241.3 mm)3. 88"x7.5"(98.5x190.5 mm)Portrait/ Landscape P L P LA(dots) 2
Bit Value313029282726252423222, 1, 00:7 bit ASCII character sets1:the others0:ISO 8859/1 Latin 1 character sets1:the others0:ISO 8859/2 Latin 2 charac
GLOBAL Intellifont DATA SIZE:Refer to the FAIS document issued by AGFA Compugraphic.GLOBAL Intellifont DATA:Refer to the FAIS document issued by AGFA
TrueType Scalable FontByte0 FONT DESCRIPTOR SIZE (minimum 72)2 DESCRIPTOR FORMAT (15) FONT TYPE4 STYLE MSB RESERVED6 BASELINE POSITION8 CELL WIDTH10 C
Byte44 to 47 FONT NUMBER48 to 63 FONT NAME64 SCALE FACTOR66 MASTER UNDERLINE POSITION68 MASTER UNDERLINE THICKNESS (HEIGHT)70 FONT SCALING TECHNOLOGY
TrueType Scalable FontFONT DESCRIPTOR SIZE:These two bytes specify the number of bytes for the font descriptor.DESCRIPTOR FORMAT:This 1 byte specifies
BASELINE POSITION:The baseline position must be set to 0.CELL WIDTH:The cell must have enough space in width for the widest character.The range is fro
WIDTH TYPE, STYLE LSB, STROKE WEIGHT,TYPEFACE LSB, TYPEFACE MSB:See WIDTH TYPE, STYLE LSB, STROKE WEIGHT, TYPEFACE LSB andTYPEFACE MSB in the case of
PITCH EXTENDED, HEIGHT EXTENDED, CAP HEIGHT,FONT NUMBER, FONT NAME, SCALE FACTOR, MASTER UNDERLINEPOSITION, MASTER UNDERLINE THICKNESS (HEIGHT):See PI
These two bytes consist of SEGMENT IDENTIFIER, SEGMENT SIZE andDATA SEGMENT, and is terminated by Null Segment.SEGMENT IDENTIFIER; Each item in the se
Deciding the Character CodeSetting:ESC “*c#E”#=Decimal value of the character code (0 to 65535)This command replaces the ASCII character designated in
Paper Type CustomPaper Size maximum215.9x355.6 mm(8.5"x14")Portrait/ Landscape P LA(dots) 4,200 2,550B(dots) 2,550 4,200C(dots) 50 50D(dots)
Bitmap FontByte0 FORMAT (4) CONTINUATION (0)2 DESCRIPTOR SIZE (14) CLASS (1)4 ORIENTATION RESERVED (0)6 LEFT OFFSET8 TOP OFFSET10 CHARACTER WIDTH12 CH
Intellifont Scalable FontByte0 FORMAT (10) CONTINUATION (0)2 DESCRIPTOR SIZE (2) CLASS (3)4 CONTOUR CHARACTER DATA (in bytes) (Refer to Figure 3.13.)#
Byte0 FORMAT (10) CONTINUATION (0)2 DESCRIPTOR SIZE (2) CLASS (4)4 COMPOUND CHARACTER ESCAPEMENT6 NUMBER OF COMPONENTS8 CHARACTER CODEX OFFSETY OFFSET
TrueType Scalable FontByte0 FORMAT (15) CONTINUATION (0)2 DESCRIPTOR SIZE CLASS (15)4 (for insertion of additional descriptor data)2+Desc Size CHARACT
FORMAT:This 1 byte decides the format of the character data;Bitmap Font by 4,Intellifont Scalable Font by 10, and TrueType Scalable Font by 15.CONTINU
DESCRIPTOR SIZE:The value is fixed by 14 for the Bitmap Font. For Intellifont Scalable Font,the value is fixed by 2. For TrueType Scalable Font, the v
Bitmap FontORIENTATION:This 1 byte decides the orientation of the character; portrait by 0, landscapeby 1, reverse portrait by 2 and reverse landscape
CHARACTER DATA:The following bytes indicate the character pattern. This data is grouped inthe vertical direction and padded by the byte boundary in th
Intellifont Scalable FontCLASS:Class 3; Intellifont Scalable FontThis character is for the character data of Intellifont ScalableFont.Class 4;Compound
COMPOUND CHARACTER ESCAPEMENT:For COMPOUND CHARACTER ESCAPEMENT, refer to the FAIS documentissued by AGFA Compugraphic.NUMBER OF COMPONENTS:This indic
Coordinate SystemA coordinate system should be set up as a standard for deciding the locationwhere texts or figures are printed. The origin of the coo
TrueType Scalable FontCHARACTER DATA SIZE:The value must be equal to the sum of character Data Size, Glyph ID andTrueType Glyph Data file size.GLYPH I
203040501020 3010BaselineCharacter width=27Topoffset=22Characterheight=33Delta X=30Left offset=2Figure 3.22 Character descriptor information-portrait
2030405010203010BaselineCharacterheight=27Left offset=-22Character width=33DeltaX=30Topoffset=28Figure 3.23 Character descriptor information-landscape
A program example for the "q" character in portrait mode is as follows:100 WIDTH "lpt1:" , 255110 OPEN "lpt1:" FOR RANDO
420 PRINT #1, CHR$(0) ;430 PRINT #1, CHR$(0) ;440 PRINT #1, CHR$(0) ; CHR$(0) ;450 PRINT #1, CHR$(0) ; CHR$(0) ;460 PRINT #1, CHR$(0) ; CHR$(0) ;470 P
760 DATA &H7F, &HFF, &HFE, &H00, &H7F, &HFF, &HFE, &H00, &H3F, &HFF, &HFE, &H00770 DATA &H3F, &
A program example for the "q" character in landscape mode is as follows:100 WIDTH "1pt1:", 255110 OPEN "lpt1:" FOR RANDO
420 PRINT #1, CHR$(0) ;430 PRINT #1, CHR$(0) ;440 PRINT #1, CHR$(0) ; CHR$(0) ;450 PRINT #1, CHR$(0) ; CHR$(0) ;460 PRINT #1, CHR$(0) ; CHR$(0) ;470 P
760 DATA &H7F, &HFF, &HFC, &H03, &H80, &H7F, &HFF, &HFC, &H03, &H80770 DATA &HFF, &HFF, &HFE, &
The output of previous programs is as follows:ResidentFont:DownloadedFont:Landscape modePortrait modeq q q qFigure 3.26 Output of previous programs
Built-in FontsThe fonts except Line Printer are all scalable fonts. Proportional spacing for ascalable font can be set from 4 to 999.75 points. The va
Temporary/Permanent Font AttributeThere are two additional attributes which can be given to downloaded fonts;temporary and permanent. Only one of the
• Controlling font/characterSetting:ESC “*c#F”This command controls the font in accordance with the value in the value field #.#=0: All the fonts unde
User-Defined Symbol SetThe user can gather the characters of high frequency from a symbol set anddownload them as user-defined symbol set. The followi
HEADER SIZE:These two bytes specify the number of bytes from Header Size (byte 0) toSymbol Map. The value is 18 or more.ENCODED SYMBOL SET DESIGNATOR:
LAST CODE:These two bytes specify the last character code of symbol set.First Code and Last Code determine the range of character codes to bemapped to
Bit ASCII3029282726252423222, 1, 0West Europe extensionsEast Europe extensionsTurkishDeskTopAccent extensionsPCL extensionsMacintosh extensionsPostScr
Assigning ID CodeSetting:ESC “*c#R”#=Symbol Set ID Code (0 to 32767)This command is used to assign a symbol set ID code to a user-defined symbolset. A
MacrosA macro is a function that enables efficient operation of the system byshortening the time to send data from the computer to the printer. A prog
Downloading Macro DataSend the text or ESC sequence to be registered as the macro from thecomputer.Ending the MacroSetting:ESC “&f1X”This command
• Call macroSetting:ESC “&f3X”This is a mode to restore an executing circumstance of a program afterexecution.On receiving this command, the print
Font Pitch Style Stroke WeightClarendon Condensed ps Condensed BoldCoronet ps Italic MediumUprightMediumBoldItalicMediumBoldGaramond Antiqua ps Uprigh
• Overlay macro automaticallySetting:ESC “&f4X”Release:ESC “&f5X”This mode automatically executes the macro on every page.On receiving this co
Listed below are the overlay circumstances:Page length currentOrientation currentInput control currentCopy count currentTop margin 0.5 inchesBottom ma
Controlling a MacroThe macro has temporary and permanent attributes.The temporary attribute must be given to the macro upon storing it. These twoattri
Print ModelPrint Model is a printing function that draws images and characters filledwith anyof the printer's shading or hatch patterns pre-defin
Pattern Source image Destination resultSource transparency mode=0 (transparent)Pattern transparency mode=0 (
Pattern Source image Destination resultSource transparency mode=1 (opaque)Pattern transparency mode=0 (trans
Select Current PatternSetting:ESC “*v#T”#=0: Printed black1: Printed white2: Gray scale pattern3: Hatch pattern4: User-defined patternThis command spe
Logical OperationSetting:ESC “*l#O”#=0 to 255This command specifies a logical operation of destination, source and patternmade on RGB color space to m
case 1 Source transparency=1 (opaque)Pattern transparency=1 (opaque)Return=ROP3 (Dest, Src, Pat)Dest=DestinationSrc=SourcePat=Patterncase 2 Source tra
Value Boolean Function Value Boolean Function0123456789101112131415161718192021220DPSoonDPSonaPsonSDPonaDponPDSxnonPDSaonSDPnaaPDSxonDpnaPSDnaonSpnaPD
Font Pitch Style Stroke WeightUprightMediumBoldItalicMediumBoldCondensedMediumBoldCondensedItalicMediumBoldWingdings ps Upright MediumTable 2.2 Built-
Value Boolean Function Value Boolean Function4647484950515253545556575859606162636465666768PSDPxoxPSDnoanPsnaSDPnaonSDPSooxSnSPDSaoxSPDSxnoxSDPoxSDPoa
Value Boolean Function Value Boolean Function9293949596979899100101102103104105106107108109110111112113114DPSDxoxDPSnoanDPSDnaoxDpanPDSxaDSPDSaoxxnDSP
Value Boolean Function Value Boolean Function138139140141142143144145146147148149150151152153154155156157158159160DSPnoaDSPDxoxnSDPnoaSDPSxoxnSSDxPdxa
Value Boolean Function Value Boolean Function184185186187188189190191192193194195196197198199200201202203204205206PSDPxaxDSPDaoxnDPSnaoDsnoSPDSanaxSDx
Value Boolean Function Value Boolean Function230231232233234235236237238239240241242SDPSanaxSPxPDxanSSPxDSxaxDSPDSanaxxnDPSaoDPSxnoSDPaoSDPxnoDsoSDPno
Pixel Placement CommandSetting:ESC “*l#R”#=0: Grid intersection1: Grid centeredThis command decides how the pixels in image are printed. The default i
Advanced GraphicsAdvanced Graphics is a printing function that draws a designated pattern bydefining the height and the width of the area.This is perf
Designating the Graphics PatternSetting:ESC “*c#G”#=Gray scale pattern, hatch pattern or user-defined pattern valueThis command designates the graphic
• • Gray scale pattern (combining with ESC “*c2P”)The following 8 patterns are available in accordance with the value in the valuefield #.#=1 to 2
• • Defined hatch pattern (combining with ESC “*c3P”)The following 6 patterns are available in accordance with the value in the valuefield #.#=1
Terms for Bitmap FontCellThe term “cell” refers to the frame of the character which decides the size ofbitmap when designing a font. The horizontal li
User-Defined Pattern GraphicsThe user can designate user-defined pattern graphics (area fill) and downloadthem in the printer. The pattern graphics ca
Downloading Pattern DataSetting:ESC “*c#W” [pattern data]#=Number of Pattern data byteThis command provides you with the method to download the binary
FORMAT:This 1 byte must be set to 0.CONTINUATION:This 1 byte must be set to 0.PIXEL ENCODING:This 1 byte must be set to 1.RESERVED:This field is not u
Tiling the PatternSetting:ESC “*p#R”#=0: rotates a pattern in accordance with printing direction1: fixed patternThis command tiles the pattern related
Status ReadbackYou can gain information on available printer (user) memory, available currentfont, available symbol set or available user-defined patt
Status ResponseWhen the printer receives the status request command, the printer processesthe request of the command and stores response data in the I
Set Status Readback Location Unit CommandSetting:ESC “*s#U”Location Type Location Unit (#)0 *:invalid location1 *:current selection2 *:all locations3
Entity Status ResponsesThe status response to the inquire status readback entity command is varied.The status response depends on the type of the requ
• Macro ResponseWhen the value of the inquire entity is 1 (macro), the macro status responsesends all the macro ID in the specified location.Response
• User-Defined Pattern ResponseWhen the value of the inquire entity is 2 (user-defined pattern), the user-definedpattern response sends all the ID num
Cell widthCell heightLeftoffsetRight offsetBaselineFigure 2.5 Character cell
• Symbol Set ResponseWhen the value of the inquire entity is 3 (symbol set), the symbol set responsesends all the ID numbers of the symbol sets which
• Font Extended ResponseWhen the value of the inquire entity is 4 (font extended response), the fontextended response sends back font name and interna
Entity Error CodeThe printer will send one of the following four error codes, when an errorcondition occurs.• ERROR=INVALID ENTITYThis code is sent wh
Free Space CommandSetting:ESC “*s1M”This command sends back user available memory.The response sends back two values; total of available memory and th
Flush All Pages CommandSetting:ESC “&r#F”#=0: flushes all complete pages1: flushes all pagesThis command intermits receiving data until all the pr
MiscellaneousDisplay FunctionsSetting:ESC “Y”Release:ESC “Z”When the display function mode is set, the original control code functionsareignored and c
Automatic UnderliningSetting:ESC “&d#D”#=0: Fixed underline3: Floating underlineRelease:ESC “&d@”These commands control the automatic underlin
BackspaceCode:BSThis code moves the printing position by one column in the opposite direction ofthe current print direction. The backspacing amount de
Half Line FeedSetting:ESC “=”This command advances the printing position by half of VMICR/LF/FF ActionSetting:ESC “&k#G”This printer has the abili
Select Number of CopiesSetting:ESC “&l#X”#= Number of copies (1 to 99)This command repeatedly prints the same data by setting the desired number o
Fixed Pitch CharactersThe cell width is constant for fixed pitch characters.HMIBaselineFigure 2.6 Fixed character pitchProportional Spacing Characters
Duplex Page Side SelectionThe Duplex Page Side Selection command instructs the printer to feed papersand which side of the paper to print.The function
Simplex / Duplex PrintThis command instructs a duplex printer to print simplex or Duplex.In Simplex mode, printer prints on one side of a paper. In Du
ResetSetting:ESC “E”This command causes the printer to print any partial pages of data which havebeen received, and returns all functions under softwa
• Set the horizontal rule size to 0,• Set the vertical rule size to 0.• Set the pattern ID to 0.• Clear the push/pop stack.• Set Left Offset Registrat
Top Offset RegistrationSetting:ESC “&l#Z”#=Number of decipoints (1/720 inch)This command sets the position of the logical page along the length (l
Universal Exit Language CommandSetting:ESC “%-12345X”This command is effective in any language mode, and terminates the processing inthe current langu
PCL Picture FrameThis section shows the following:• Defining the frames in PCL and GL modes• Specifying the picture frame (ESC “*c#X”, ESC “*c#Y”)• Sp
AnchorpointPictureframePCL logical page(PCL mode in default)PictureframeAnchorpointAnchorpoint8"4"Settingplotsize(GLmode)SettingPCLpicturefr
Horizontal Size of Picture FrameSetting:ESC “*c#X”#= Horizontal size (1/720 inch)This command designates the horizontal size of the picture frame, whi
Vertical Size of Picture FrameSetting:ESC “*c#Y”#=Vertical size (1/720 inch)The command designates the vertical size of the picture frame, which is us
Paper FormattingThe printer has the following paper formatting requirements:• Page width is the distance from the left edge to the right margin of the
P1 and P2 positions are defaulted when executing the command ESC “*c#Y”.P1 is defaulted on the lower-left corner of picture frame, and P2 is defaulted
Anchor Point LocationSetting:ESC “*c#T”#=0This command designates the location of the PCL picture frame anchor pointand sets the picture frame anchor
Horizontal Plot Size of GLSetting:ESC “*c#K”#= Horizontal size in inchesThis command designates the horizontal plot size of the GL image. Thiscommand
Vertical Plot Size of GLSetting:ESC “*c#L”#= Vertical size in inchesThis command designates the GL vertical plot size of the GL image. Thiscommand spe
Entering PCL modeSetting:ESC “%#A”#=0: To specify the predefine PCL cursor position.#=1: To specify the current pen position in the GL modeThis comman
Entering GL modeSetting:ESC “%#B”#=0: To specify the redefined pen position in the GL mode.#=1: To specify the current cursor posiion in the PCL mode.
HP-GL/2 CommandCommand Group Function NameConfiguration andStatus GroupCommentDefaulting valuesInitializingInputting P1 and P2Inputting relative P1 an
Command Group Function NameVector GroupArc absoluteArc relativeAbsolute arc three pointBezier curve relativeBezier curve absoluteCirclePlotting absolu
Command Group Function NameCharacter GroupAlternate font definitionCharacter fill modeCharacter plotAbsolute directionRelative directionDefining label
HP-GL/2 CommandsGL (Graphics Language) CommandsIntroduction to GL GraphicsThis printer gives you access to two modes: PCL (Printer Control Language)mo
PCL CommandsPage FormattingFont SelectionMoving the Printing PositionRaster GraphicsMacrosPrint ModelAdvanced GraphicsStatus ReadbackMiscellaneousHP-G
Portrait Printing Mode TMBMTM: Top marginBM: Bottom marginLM: Left marginRM: Right marginSingle pageOriginPage widthPagelengthPagelength
• The commands need to be terminated by a semicolon, which is called a“terminator”, or by the next mnemonic like PA100,200;PR; or PA100,200PR; .The la
Parameter RangeParameters must be given the format needed by each GL command.Please refer to the parameter description of each command.Integer paramet
For example, the Fill Type (FT) command:FT3,100,1; Indicates that this example has three optional parameters:fill type=3 (hatching), spacing lines=10
Program100 WIDTH “LPT1:”,255110 OPEN “LPT1:” AS #1120 PRINT #1,CHR$(27);“E”;130 PRINT #1,CHR$(27);“%0B”;140 ’150 PRINT #1,“IN;”;160 PRINT #1,“SP1;”;17
270 PRINT #1,“ER2000,2000;”;280 PRINT #1,“RR2000,2000;”;290 ’300 PRINT #1,CHR$(27);“%0A”;310 PRINT #1,CHR$(12);320 ENDDraws a rectangle; the current p
Figure 3.38 Output of previous programs
Adjusting the GL ImageWhen making the image in the GL mode, the image is enlarged or reduced to fitthe size of the PCL picture frame before printing o
GL Coordinate SystemThe default GL coordinate system is distinct from the PCL coordinate system. Inthe GL mode, the printer adjusts the Cartesian coor
You can move the GL coordinate system to any point within the PCL pictureframe by designating the number of units called a coordinate.The default loca
GL & PCL Orientation InteractionsThis section shows the relationship between the GL orientation and PCL logicalpage orientation.The origin of the
Landscape Printing ModeLMSingle pagePage widthOriginPagelengthPagelengthTMBMRMPaper widthTM: Top marginBM: Bottom marginLM: Left marginRM: Right m
Plotting UnitsIn the GL mode, the X and Y axes can be expressed in two ways plotter unitsand user units.The plotter units are used to convert the numb
Pen Status and LocationPen StatusPen status means “pen” up or down. The terms “pen” and “pen position” indicatethe imaginary cursor and the current ac
Command PageEAEPEREWFPRARRWGCISMLBEdging rectangle absoluteEdging polygonEdging rectangle relativeEdging wedgeFilling polygonFilling rectangle absolut
ScalingThe default units in the GL mode is 1016 plots/inch in plotter units, and you candefine your own plotting units by the Scaling (SC) command.You
Example:IP10,10,20,20; Sets up the scaling point in the plotter units so that P1 is(10,10) and P2 is (20,20).SC0,5,0,5; Sets up user scaling so
Pen MovementThe Plot Absolute (PA) and Plot Relative (PR) allow users to move the pen tothe specified coordinates in two ways: absolute pen move and r
The Cofiguration and Status GroupThis section shows the configuration and status group commands functioningfor:• Setting up default conditions and val
When you are using the GL mode or the PCL mode, you should reset the printerat the beginning of each print job to avoid any trouble caused by data lef
CommentSetting:CO(“comment”;)The words in the double quotation is interpreted as a comment. The comment isignored by the printer.Defaulting ValuesSett
Line Type (LT): Solid line, relative mode, pattern length is4% of diagonal distance between P1 andP2Plotting Mode (PA): Absolute plottingPolygon Mode
Print Start ConditionsThis printer is a page printer. As such it will only begin printing when print startconditions are satisfied, that is, after the
InitializingSetting:IN(;)This command returns all the GL functions to the factory default settings.ESC “E” executes automatically this command.This co
Inputting P1 and P2Setting:IPP1X,P1Y(,P2X,P2Y;)orIP(;)Parameter : P1X, P1Y (,P2X, P2Y)Format : integerRange : -230 to 230-1Default :P1 lower-left co
DefaultP2P1P1P1P1P2P2P2Figure 3.43 Using IPcommand
Inputting Relative P1 and P2Setting:IRP1X,P1Y(,P2X,P2Y;)orIR(;)Parameter : P1x, P1Y (, P2X, P2Y)Format : clamped realRange : 0 to 100%Default : 0,0,10
Example: IR20,20,50,50;PCL picture frameNew P220% 50%Figure 3.44 Establishing new locations for P1 and P2If P2 is not specified, the distance
Inputting WindowSetting:IWXLL, YLL,XUR, YUR(;)orIW(;)Parameter : XLL, YLL, XUR, YUR(LL=Lower-Left, UR=Upper-Right)Format : current unitsRange : -230 t
Hard-cliplimitLogical pagePicture frameUser-defindwindow(IW command)Printable areaSoft-clip limitFigure 3.45 The effective windowThe hard-clip limit s
Rotating Coordinate SystemSetting:ROangle(;)orRO(;)Parameter : angleFormat : clamped integerRange : 0°, 90°, 180° or 270°Default : 0°This command rota
ABCABCABCABC270 180090OOOOFigure 3.46 Using the RO command
ScalingSetting:SCXMIN,XMAX,YMIN,YMAX,[,type,(,left,bottom;)]orSCXMIN,XFACTOR,YMIN,YFACTOR,type(;)orSC(;)Parameter : XMIN,XMAXYMIN,YMAXtypeFormat : rea
PCL CommandsCommand Group Function NamePage FormattingOrientationPage SizePrint DirectionTop MarginText LengthSkip PerforationLeft MarginRight MarginM
• X,Y coordinatesThe parameters represent the user-units range on the X,Y axesExample:SC0,20,0,30; Indicates 20 user units along the X-axis and 30 use
• TypeSpecifies anisotropic or isotropic scaling.Type=0: Anisotropic scalingEnables user units along the X-axis to be a different size than user units
P2 P2(20,20) (40,20)Figure 3.48 The left and bo
• XMIN, XFACTOR, YMIN, YFACTOREstablishes the P1 user unit coordinates and a ratio of plotter units to user units.XMIN,YMIN indicates the coordinate v
The Polygon GroupThis section shows the function of the polygon commands.The Polygon stores the original units (point units) in the polygon buffer and
Function Command DescriptionEdging rectangleabsoluteEADraws an outline of a rectangle defined usingabsolute coordinates.Edging polygonEPDraws an outli
The polygon data (in point units) remains in the polygon buffer until anotherpolygon command is set or the printer is initialized.The total buffer cap
To draw an outline on the point in the polygon buffer, use the EP after finishingthe polygon mode. The line type depends on the LT command.To fill an
Edging Rectangle AbsoluteSetting:EAX, Y(;)Parameter : X, Y coordinatesFormat : current unitsRange : -230 to 230-1Default : no defaultThis command draw
Edging PolygonSetting:EP(;)This command outlines the polygon stored in the current polygon buffer by thePM command.This command also outlines wedges a
Command Group Function NameMoving the Printing PositionHorizontalVerticalESC “&a#C”ESC “*p#X”ESC “&a#H”ESC “&a#R”ESC “*p#Y”ESC “&a#V”
Edging Rectangle RelativeSetting:ERX, Y(;)Parameter : X, Y incrementsFormat : current unitsRange : -230 to 230-1Default : no defaultThis command draws
Edging WedgeSetting:EW radius, start angle, sweep angle(,chord angle;)Parameter : radius start angleFormat : current units clamped realRange : -230 to
90°180°270°0°Positive startangleCurrent penlocationZero-degreePositive radiusPositive radius180°270°90°0°Current penlocationNegative startangleZero-de
• Sweep AngleSpecifies the angle of the arc in the number of degrees.positive sweep angle sets the angle counterclockwise.negative sweep angle set
This command uses the distance which is specified with a radius parameterfrom the current pen location as a radius for a wedge and draws a wedge using
Filling PolygonSetting:FP fill method(;)orFP(;)Parameter: fill methodFormat: clamped integerRange: 0 or 1Default: 0This command fills the polygon stor
Method=1: Non-Zero fill algorithmThis method determines the area to be filled as follows:1. Draws a line from a starting point inside the polygon to
Polygon Mode CommandSetting:PM polygon definition(;)orPM(;)Parameter : polygon definitionFormat : clamped integerRange : 0, 1 and 2Default : 0This com
Example:PA1000,2000; Stores (1000,2000) as the first point of polygon in the polygonbuffer.PM0; Enters the polygon mode.Subsequent spe
Pixel Placement CommandSetting:PP mode(;)orPP(;)Parameter: modeFormat: Clamped integerRange: 0 or 1Default: 1This command controls how the pixel is po
Command Group Function NameMacros Macro IDMacro ControlESC “&f#Y”ESC “&f#X”Print Model Pattern Transparency ModeSource Transparency ModeCurren
Filling Rectangle AbsoluteSetting:RAX,Y(;)Parameter : X, Y coordinatesFormat : current unitsRange : -230 to 230-1Default : no defaultThis command fill
Filling Rectangle RelativeSetting: RRX, Y(;)Parameter : X, Y incrementsFormat : current unitsRange : -230 to 230-1Default : no defaultThis command fil
Filling WedgeSetting: WG radius, start angle, sweep angle(,chord angle;)Parameter : radius start angleFormat : current units clamped realRange : -230
• Start AngleSpecifies the starting point for the arc in the number of degrees from the zerodegree point.positive start angle positions a radius cou
The Vector GroupThis section shows the vector group commands for:• Positioning absolute and relative coordinates when plotting• Drawing lines, arcs an
Function Command DescriptionArc absoluteAAShapes an arc using absolute coordinates.Arc relativeARShapes an arc using relative coordinates.Absolute arc
The PA and PR commands are used to move the pen to the specified position.You should specify the X,Y values to set the coordinates. The multiple setti
Arc AbsoluteSetting:AA Xcenter,Ycenter,sweep angle(,chord angle;)Parameter : Xcenter, Ycentersweep angle chord angleFormat : current units clamped rea
• Chord AngleSpecifies the chord angle for drawing an arc. The chord angle determines thesmoothness of a curve.Chord angle specifies an angle of a cho
Arc RelativeSetting:AR Xincrement,Yincrement, sweep angle(,chord angle;)Parameter : Xincrement,Yincrementsweep angle chord angleFormat : current units
Command Group Function NameMiscellaneousDisplay FunctionTransparent PrintUnderlining Setting ReleasePush/Pop Printing PositionHa
This command uses the specified relative distance from the current pen locationas a radius, and makes the relative location a center position, the cur
• Chord AngleSpecifies the chord angle for drawing an arc. The chord angle determines thesmoothness of a curve.Chord angle specifies an angle of a cho
Bezier Curve RelativeSetting:BR X1, Y1, X2, Y2, X3, Y3…(X1, Y1, X2, Y2, X3, Y3)Parameter: X, Y incrementsFormat: current unitsRange: -223 to 223-1Defa
Œ(0,-3072)•(2560,-2816)•(3840,2048)Ž(3072,-512)•(-768,-2560)‘(2560,5120) Starting Point(1st Control Point) Points 1, 2, and 3relative to this point(
Bezier Curve AbsoluteSetting:BZ X1, Y1, X2, Y2, X3, Y3…(X1, Y1, X2, Y2, X3, Y3)Parameter: X, Y coordinatesFormat: current unitsRange: -223 to 223-1Def
Œ(1024,1024)•(4864,6144)Ž(4096,3584)•(3328,1024)•(6656,768)‘(6656,8704) Starting Point(1st Control Point)(1024,4096)BZ1024,1024,4864,6144,4096,3584,
CircleSetting:CI radius(,chord angle;)Parameter : radius chord angleFormat : current units clamped realRange : -230 to 230-1 0.5° to 180°Default : no
=ChordangleChord0°Chord angle180°••œœ œœChord180°Chordangle360°Setstheangletothevalue(360°-)••œœœœFigure 3.56 Setting the chord angleThis command uses
Plotting AbsoluteSetting:PAX,Y(,...;)orPA(;)Parameter : X, Y coordinatesFormat : current unitsRange : -230 to 230-1Default : no defaultThis command mo
Pen DownSetting:PDX,Y(,...;)orPD(;)Parameter : X, Y coordinates/incrementsFormat : current unitsRange : -230 to 230-1Default : no defaultThis command
PCL CommandsPage FormattingPage formatting is executed by setting the following: orientation, page size,page length, top margin, text length, skip per
Polyline EncodedSetting:PE(flag)(value) coord pair...(flag)(value) coord pair;orPE(;)Parameter : flag value coordinate pairFormat : character charac
• FlagSpecifies the way to interpret subsequent values.ASCII characters are used for flags and are not encoded. The eighth bit of a flagis ignored.Exa
• valueSpecifies value set by a flag.There are three types of flags:pen number 0 or 1number of fractional bits -26 to 26X,Y coordinates realTher
The printer ignores in Base 64 or 32 the following: space, delete character,control character in parameters, 128 to 160 and 255 in ASCII.The convertin
Plotting RelativeSetting:PRX, Y(,...;)orPR(;)Parameter : X, Y incrementsFormat : current unitsRange : -230 to 230-1Default : no defaultThis command mo
The data is used in edging or filling the polygon.When using this command, the command only moves the pen location when thepen is up, and moves the pe
Pen UpSetting:PUX,Y(, ... ;)orPU(;)Parameter : X, Y coordinates/incrementsFormat : current unitsRange : -230 to 230-1Default : no defaultThis command
Relative Arc Three PointSetting:RT Xincr inter, Yincr inter,Xincr end, Yincr end(,chord angle;)Parameter : Xincr inter, Yincr interXincr end, Yincr en
• Chord AngleSpecifies chord angle for drawing an arc. The chord angle determines thesmoothness of a curve.Chord angle specifies an angle of a chord,
The Line and Fill Attributes GroupThis section shows the line and fill attribute group commands for:• Enhancing your drawings with various line types•
OrientationSetting:ESC “&l#O”#=0: Portrait printing mode1: Landscape printing mode2: Reverse portrait printing mode3: Reverse landscape printing m
Function Command DescriptionAnchor cornerACDetermines the starting point for fill patterns.Filling typeFTSelects the pattern to fill polygons.Line att
The command selects the line type in plotting a line using the LT command. Thecommand specifies line type in the specified length of patterns.The comm
The FT command selects one of the pattern types for filling a specified area withpatterns: black, hatching, cross-hatching, shading, user-pattern, hat
Anchor CornerSetting:ACX,Y(;)orAC(;)Parameter : X, Y coordinatesFormat : current unitsRange : -230 to 230-1Default : no defaultThis command determines
• Fill TypeSelects one of the fill patterns.Fill Type=1 or 2: Solid blackOption1 ignoredOption2 ignoredFill Type=3: HatchOption1 Line spaceOptio
Fill Type 3 and 4:• Option 1 sets the distance between lines in fill type. The distance is set in thecurrent units along the X-axis. If 0 is set in op
Fill Type 10:• The fill type 10 indicates gray scale level with the option 1.• The gray scale level is indicated in 0 to 100% and eight levels are sel
Line AttributesSetting:LA kind,value[,kind,value(,kind,value;)]orLA(;)Parameter : kindFormat : clamped integerRange : 1 to 3Default : 1Parameter : val
Kind=2: Specifies the line join.Value=1: Mitered join• Miter length > New miter lengthMiter is cut by the excess of a new miter.• Miter length œ Ne
Example: when miter limit is 10 and the pen width is 5mm, a new miter limit is50mm.Line ends (kind 1)Value=1
Page SizeSetting: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
Line joins (kind 2)Value=5Value=2Value=3Value=4Value=1Value=2miter length>miter limit½ pen widthmiter lengthœmiter limitmiter lengthArc joinBeveled
No join (kind 2,value 6)No join butt endNo join semicircle endNo join triangle endNo join rectangle endFigure 3.59 No join
Miter limitmiter length¥miter limitmiter limitMiter limit =Miter length/Pen widthClipped mitered joinMaximum clipped mitered join (be
Line TypeSetting:LT line type[,pattern length(,mode;)]orLT(;)orLT 99(;)Parameter : line typeFormat : clamped integerRange : -8 to 8 99Default : solid
• Line TypeSelects a line pattern.Line Type = 1 to 8: Fixed line typeA line type uses the specified pattern length. Thepattern length specified is set
8 • • • • • • • •7 • • •
• Pattern LengthSpecifies the pattern length which contains one complete line pattern.The length units is millimeters or a percentage of the diagonal
The pattern specified using this command is used with AA, AR, AT, CI, EA, EP,ER, FP, PA, PD, PE, PR, RA, RR, RT, WG commands.You should not use a line
Merge ControlSetting:MC mode, (opcode)(;)orMC(;)Parameter : mode opcodeFormat : clamped integer clamped integerRange : 0 or 1 0 to 255Default : 0 (ROP
Pen WidthSetting:PW width(,pen;)orPW(;)Parameter : width penFormat : clamped real integerRange : -32768 to 32767 0 or 1Default : dependent 1 (black)Th
PJL CommandsIntroductionPJL Command Syntax and FormatPrint Environment CompositionPJL Reset ConditionsEnvironment VariablesStatus MessageUsage of Comm
Top MarginSetting:ESC “&l#E”#=Number of linesThis command sets the top margin. The top margin indicates the margin on theupper end of the printing
• PenSpecifies the pen number to which the new width is applied.0 white1 blackUnless the pen parameter is specified, the currently selected pen wi
Raster Fill DefinitionSetting:RF index, width, height, pen number(,.. pen number;)orRF index(;)orRF(;)Parameter : index widthFormat : clamped integer
• Pen NumberMeans a pixel in the defined pattern and specifies its color.0 white1 blackThis command specifies the dot data by dot widthdot height,
Symbol ModeSetting:SM character(;)orSM(;)Parameter : characterFormat : labelRange : most printing characters(decimal codes 33 to 58,60 to 126, 161 and
Selecting PenSetting:SP pen number(;)orSP(;)Parameter : pen numberFormat : integerRange : 0 or 1Default : 0 (no pen)This command selects the pen used
Screened VectorsSetting:SV{screen type [,option1(,option2)]}(;)orSV(;)Parameter : screen type option1, option2Format : clamped integer clamped integer
Screen Type=2: User-defined raster fillOption 1 specifies the user-defined pattern indexmade by the RF command.Option 2 specifies the pen number 1
Transparency ModeSetting:TR(mode)(;)orTR(;)Parameter : modeFormat : clamped integerRange : 0 or 1Default : 1 (on)This command determines whether or no
Figure 3.62 Transparency mode ON/OFFThis command is reset by ESC “E”, IN, DF or another TR command.SourceSourceSourceOriginal destinationOriginal dest
User-Defined Line TypeSetting:UL index(,gap1,...gap20;)orUL(;)Parameter : index gapsFormat : clamped integer clamped realRange : 1 to 8 0 to 32767Defa
Text Length, Bottom MarginSetting:ESC “&l#F”#=Number of linesThis command sets the text length. Text length refers to the number of lines tobe pri
Pen Width Unit SelectionSetting:WU type(;)orWU(;)Parameter : typeFormat : clamped integerRange : 0 to 1Default : 0 (metric)This command specifies the
The Character GroupYou can add text to the image in the PCL mode or you can print text from the GLmode, when you wish to add text.“Label” used in this
Function Command DescriptionExtra spaceESRaise or reduce the space between labelcharacters and linesSelectingprimary fontFISelects a font previously a
The LB command labels characters and positions the text you want to print afterthe LB command.You should use the terminator at the end of the command,
Command Command NameAAARATBRBZDFDIDRDVINLOPAPEPRRORTArc absoluteArc relativeAblosute arc three pointBezier curve relativeBezier curve absoluteDefaulti
When the printer is reset, the following label conditions are defaulted.Symbol Set(Character Set): Roman-8 font, fixed spacingPitch: 9 characters per
The SI and SR commands specify the size of characters: the SI commandspecifies the height and width in centimeters, and the SR command specifies thesi
DI DRor commandLabel angleStick or Scalable fontsBitmap fontsFigure 3.63 Label orientationThe SL command slants characters.SL commandFigure 3.64 Chara
The SL command is invalid for bitmap fonts.In each character, the basis for each character or space is the character cell.CharacterwidthCharacter plot
Baseline: the imagenary line on which a text line is placed. Adescender of a character stretches below thebaseline.Line feed: the vertical distance be
Skip PerforationSetting:ESC “&l1L”Release:ESC “&l0L”The bottom margin is controlled by the skip perforation mode command.When the skip perfora
There are three types of fonts which you can change using the command:• Scalable fonts• Bitmap fonts• Stick fontsProportional-spacing fonts do not hav
Alternate Font DefinitionSetting:AD kind, value...(,kind,value;)orAD(;)Parameter : kind valueFormat : clamped integer clamped realRange : 1 to7 depend
Kind=4: Selects the point size for the proportional spacing by the height ofthe character cell.Default value=11.5Kind=5: Selects the character's
Character Fill ModeSetting:CF fill mode[,edge pen(;)]orCF(;)Parameter : fill mode edge penFormat : clamped integer integerRange : 0, 1, 2, or 3 -230 t
• Edge PenSpecifies whether the pen used for edging the characters is white or black.0 white edging1 black edgingThis command specifies fill patte
Character PlotSetting:CP spaces,lines(;)orCP(;)Parameter : spaces linesFormat : clamped real clamped realRange : -32768 to 32767 -32768 to 32767Defaul
• LinesSpecifies the number of lines the pen will move vertically.The number is indicated by the cell height (of the current specified fonts) × thenum
Absolute DirectionSetting:DI run,rise(;)orDI(;)Parameter : run (or cos ) rise (or sin )Format : clamped real clamped realRange : -32768 to 32767 -3276
• RiseSets a move along the Y-axis of the label directionpositive value specifies the upper direction.negative value specifies the lower direction
You should specify both run and rise parameters.Run=0, Rise≠0 plotted in vertical mode.Run≠0, Rise=0 plotted in horizontal mode.AARun=0Rise=0Run=0
Right MarginSetting:ESC “&a#M”#=Column numberRelease:ESC “9”This command defines the right margin. Enter the desired number of columnsfrom the ori
BitmapfontsOtherfontsFigure 3.68 Label direction comparison between bitmap and other fontsThis command is effective until another DI or DR command is
Relative DirectionSetting:DR run,rise(;)orDR(;)Parameter : run riseFormat : clamped real clamped realRange : -32768 to 32767 -32768 to 32767Default :
This command specifies the label direction by the relative distance between P1and P2 using the run and rise parameters.The line feed depends on the ch
• Label TerminatorSets the label terminator using this command.ESC (1bHEX), ENQ (05HEX), “;” (3bHEX) are invalid as terminators.• ModeDetermines wheth
Defining Variable Text Pathsetting:DV path(,line;)orDV(;)Prameter : path lineFormat : clamped integer clamped integerRange : 0,1,2 or 3 0 or 1Default
Path=0 (0°) Path=1 (-90°) Path=2 (-180°) Path=3 (270°)Figure 3.69 Text path example• LineSpecifies the direction of line feeding.Line=0
Path=0 (0°) Path=1 (-90°) Path=2 (-180°) Path=3 (-270°)Line=1Path=0 (0°) Path=1 (-90°) Path=2 (-180°)
Extra SpaceSetting:ES width(,height;)orES(;)Parameter : width heightFormat : clamped real clamped realRange : -32768 to 32767 -32768 to 32767Default :
Selecting Primary FontSetting:FI font ID(;)Parameter : font IDFormat : integerRange : 0 to 32767Default : no defaultThis command assigns fonts for the
LabelingSetting:LB text.. text label terminatorParameter : text ... textFormat : characterRange : any charactersDefault : no defaultThis command labe
• By the number of lines per inchSetting:ESC “&l#D”#= 1: 1 lpi2: 2 lpi3: 3 lpi4: 4 lpi6: 6 lpi8: 8 lpi12: 12 lpi16: 16 lpi24: 24 lpi48: 48 lpiEnte
Labeling OriginSetting:LO position(;)orLO(;)Parameter : positionFormat : clamped integerRange : 1 to 9, 11 to 19 and 21Default : 1This command changes
Position=1 Position=4 Position=7Position=2 Position=5 Posi
For stick fonts, the label is offset by an amount equal to one half of the specifiedcharacter's width.This command selects one of 18 printing pos
Selecting Alternate FontSetting:SA(;)This command selects the alternate font.This command selects and uses alternate font defined by the AD command. I
• nDetermines whether bitmap font is valid or invalid0 bitmap font is invalid.1 bitmap font is valid.For a standard font or an alternate font, thi
Example: The following command represents the default setting.SD 1,277,2, 0,3,9,4,11.5,5,0,6,0,7,48Symbol
Symbol Set Value Description39442645818540173205269621147817419831803082153277309341373405501565629MC TextVentura InternationalVentura USWingdingsPS M
Kind=2: Selects the spacing.Value = 0: Fixed spacing (default)Value = 1: Proportional spacingKind=3: Specifies the number of characters per inch for t
Kind=6: Selects the line thickness used in the font's design.Value =-7: Ultra thinValue =-6: Extra thinValue =-5: ThinValue =-4: Extra lightValue
Kind=7:Selects the typeface.TypefaceFamilyValue (#)TypefaceBaseValue (#)Typeface4096409941014102411341164140414441484168419742974314436243984613682603
Horizontal Motion AmountHorizontal motion amount is the amount of horizontal space between charactersand is a unit of the left and right margins in th
This command specifies the value required to select a standard font.The SS; enables you to select the specified font using this command.The kind and v
Absolute Character SizeSetting:SI width,height(;)orSI(;)Parameter : width heightFormat : clamped real clamped realRange : - 32768 to 32767 - 32768 to
1cm1cmSI1,1;1cm1cmSI-1,1;Label direction1cm1cmSI1,-1;1cm1cmSI-1,-1;Figure 3.73 Label in positive and negative parameters
This command sets the width and height in centimeters for the current specifiedfont.The parameters for width and height must be specified together. If
Designates the slant of characters with tangent of angle.tanPositive slantθtanθNegative slantFigure 3.74 Positive and negative slantThis command slant
Relative Character SizeSetting:SR width height(;)orSR(;)Parameter : width heightFormat : clamped real clamped realRange : -32768 to 32767 -32768 to 32
Example:G2.45cm1.225cmP2 (5000,5000)P1 (100,100)width=(5000-100)×10%=490 plotter unitsor1.225cmheight=(5000-100)×20%=980 plotter unitsor2.45 cmIP100,1
omitted or set to 0, this command is ignored.If this command is executed using the SB1; after a bitmap font, the bitmap fontis changed to a stick font
Transparent DataSetting:TD mode(;)orTD(;)Parameter : modeFormat : clamped integerRange : 0 to1Default : 0 (normal)This command allows a control code t
PJL CommandsIntroductionPJL (Printer Job Language) commands are a group of the commandswhich has the following functions:•Initializes or sets the pri
Font SelectionCommands that set font characteristic enable font selection of internal ordownload fonts, and fonts from external font cards.The printer
PJL Command Syntax and FormatWe are showing a PJL command example including the PJL SET command.PJL prefix PJL command Command modifier Parameter@P
<HT>:Tab (ASCII 9) <ESC>:Escape (ASCII 27)<LF>:Line feed (ASCII 10) <FF>:Form feed (ASCII 12)<CR>:Carriage return (ASCII
Print Environment CompositionThe print environment consists of the following four environments.Figure 3.75 Print environmentModified Print Environment
Factory Default EnvironmentThe Factory Default Environment is a group of the settings storedpermanently in the printer. It's impossible to change
The following figure shows how the print environment settings are changedby PJL commands, PCL commands or PJL reset condition.Figure 3.76 Paper size s
Figure 3.77 Paper size setting exampleEXECUTIVEA4A4A4LEGALLEGALLEGALLEGALLEGALLETTERLETTERLETTERWhen the PJL resetcondition occurs, theSetting returns
PJL Reset ConditionsThe print environment resets to the User Default Environment in thefollowing cases;•when the UEL command is sent•when “@PJL RESET”
Status MessageThe PJL USTATUS command makes the printer send automatically statusmessage to the printer, when the printer's status is changed, a
Usage of Command¬ Send the UEL (<ESC>%-12345X) command followed with @PJL prefixto enter into the PJL mode. The print environment returns to the
Commands/Responses Comments(Commands from Computer to Printer)<ESC>%-12345X@PJL<CR><LF>@PJL SET COPIES=2<CR><LF>@PJL SET
Primary/Secondary Font AttributeFont characteristics are set on both primary and secondary fonts, therefore twofonts can be selected.Only one of thes
Commands/Responses Comments(Commands from Computer to Printer)@PJL ENTER LANGUAGE=PCL<CR><LF><ESC>Edata...<ESC>%-12345Xenters
PJL CommandsPJL CommandsFunction Command Line PageUEL commandCommentEnter the PCL modeSet User DefaultInquire User DefaultECHOSend informationInitiali
Entering the PJL modeSetting:<ESC>%-12345XResponse: (no response)Parameter: (no parameter)This command is effective in any language mode, and te
Entering from PJL mode to PCL modeSetting:@PJL ENTER LANGUAGE=PCL[<CR>]<LF>Response: (no response)Parameter: (no parameter)This command ch
Inquiring User DefaultSetting:@PJL DINQUIRE [LPARM:PCL] variable[<CR>]<LF>Response: @PJL DINQUIRE [LPARM:PCL] variable<CR><LF>
ECHO CommandSetting:@PJL ECHO words[<CR>]<LF>Response: @PJL ECHO words<CR><LF><FF>Parameter: words•wordsEnter characters
•categoryID printer model numberCONFIG information on configurationMEMORY total of user available memoryPAGECOUNT he total number of pages printed out
Inquiring PJL Current DefaultSetting:@PJL INQUIRE [LPARM:PCL] variable[<CR>]<LF>Response: @PJL INQUIRE [LPARM:PCL] variable<CR><L
ResettingSetting:@PJL RESET[<CR>]<LF>Response: (no response)Parameter: (no parameter)This command resets all the environment variables to
USTATUS CommandSetting:@PJL USTATUS variable=value[<CR>]<LF>Response: (no response)Parameter: variable valueVariable Value FunctionDEVICE
Symbol Set IDISO 60 Norwegian V1ISO 4 United KingdomWindows 3.1 Latin 2ISO 69 FrenchISO 21 GermanISO 15 ItalianMicrosoft PublishingDeskTopPS TextMC Te
This command does not return a response to the computer. The printerautomatically sends a message in the following format, depending on thesetting by
•variable=PAGE value=ON@PJL USTATUS PAGE<CR><LF>the total number of pages printed in the current jobè<CR><LF><FF>•vari
USTATUSOFF CommandSetting:@PJL USTATUSOFF[<CR>]<LF>Response: (no response)Parameter: (no parameter)This command sets the printer not to se
JOB CommandSetting:@PJL JOB [NAME=“job name”][START=first page]èè[END=last page][<CR>]<LF>Response: (no response)Parameter: job namefirst
EOJ CommandSetting:@PJL EOJ [NAME=“job name”][<CR>]<LF>Response: (no response)Parameter: job name•job nameEnter a line of characters (maxi
(Commands sent from the computer)<ESC>%-12345X@PJL@PJL USTATUS DEVICE=ON@PJL USTATUS JOB=ON@PJL USTATUS PAGE=ON@PJL USTATUS TIMED=10@PJL JOB NAM
@PJL USTATUS TIMED<CR><LF>CODE=10001<CR><LF>DISPLAY="PRINTER READY"<CR><LF>ONLINE=TRUE<CR><LF&g
(Output)This is the first page of example ofUSTATUS Command.This is the second page.
Environment variables and ValuesEnvironment Value DetailsAUTOCONT (OFF)ONThe auto continue feature.BINDING (LONGEDGE)SHORTEDGEThe default relationship
Environment Value DetailsFORMLINES 5 to 128 The number of line per page. The change ofPAPER and ORIENTATION settings mayoverride this setting. If one
Symbol Set IDISO 6 ASCIILegalRoman-8Windows 3.0 Latin 1PC-8PC-8 Danish/NorwegianPC-850 MultilingualPi FontPC-852 Latin 2Windows 3.1 Latin 10U1U8U9U10U
Environment Value DetailsINTRAY1SIZE * (LETTER)LEGAL(A4)EXECUTIVELEDGERA3CUSTOMCOM10MONARCHC5DLB5The paper size in Multi Purpose Tray.INTRAY2SIZE * (L
Environment Value DetailsIOBUFFER ON(AUTO)I/O Buffer size of the printer. When Auto isselected, I/O Buffer size is automaticallydecided for the printe
Environment Value DetailsORIENTATION (PORTRAIT)LANDSCAPEThe paper orientation, Portrait or Landscape.PAGEPROTECT(PAGEPROTECTION)ON(AUTO)The Page prote
Environment Value DetailsPAPER (LETTER)LEGAL(A4)LEDGERA3EXECUTIVECOM10MONARCHC5DLB5CUSTOMThe paper size.PASSWORD (0) TO 65535 The password for PJL sec
Environment Value DetailsRET(EET)OFFLIGHTMEDIUMDARKWith EET turned on, the printer will smooth thejagged edges of text and line art, and improvesthe p
Environment Value DetailsFONTNUMBER 0 (or 1) to n The value for Font number. This value dependson the current font source. If the font sourceincludes
Environment Value DetailsPITCH 0.44 to 99.99(10.00)The pitch of default font in number of charactersper inch. (The default font has to be fixed-pitchs
Status CodeIF DEVICE,JOB or PAGE parameter of the PJL USTATUS command are set toON (and verbose for DEVICE) or TIMED parameter is set to time interval
Informational MessageStatus Code Display String Status10001 ON LINE The printer is in the online state andready to print.10003 WARM UP The printer is
Paper Tray Status (12xyy)Paper Tray status message occur when a tray is empty, low or medium. Papertray status message are in format 12xyy. The follow
Printing DescriptionIntroductionThe items discussed in the following sections are listed below:• Page Orientation, Paper Length, Paper Width• Printabl
Print Pitch• Case 1Setting/Primary:ESC“(s#H”Setting/Secondary:ESC “)s#H”#=Number of characters per inchThis command sets the print pitch by entering t
PJL Parser Errors (20xxx)These status codes denote PJL parser errors. The entire PJL command line isignored.Status Code Meaning20001 General Syntax er
Status Code Meaning20017 Order of LPARM:PCL and option in command line is notcorrect.20018 Alphanumeric command is not sent.20019 Numerical values hav
PJL Parser Warnings (25xxx)This group of status codes denote PJL parser warnings, which indicates thatpats of the PJL command is ignored.Status Code M
PJL Semantic Errors (27xxx)This group of status codes denote PJL semantic error. As much of thecommand is executed as possible, depending on the curre
Auto-Continuable Conditions (30xxx)This list specifies the set of PJL error codes and corresponding control paneldisplay strings for auto-continuable
Potential Operator Intervention Conditions (35xxx)This list specifies the set of PJL error codes and corresponding control paneldisplay strings for co
Operator Intervention Conditions (40xxx)This list specifies the set of PJL error codes and corresponding control paneldisplay strings for conditions w
Paper Loading (41xyy)Paper loading message are send when one of the paper input sources is put ofpaper and there is no other input source available an
Paper Jam Message (421xx)yy = Jam Location Tray or Cassette02 PAPER JAM 0104 PAPER JAM 0206 PAPER JAM 0308 DUPLEX ERROR10 DUPLEX JAMTable 3.54 Paper J
Character StyleSetting/Primary:ESC “(s#S”Setting/Secondary:ESC “)s#S”#=Character style valueValue (#) Character Style01458243264128160Upright, SolidIt
Stroke WeightSetting/Primary:ESC “(s#B”Setting/Secondary:ESC “)s#B”#=Thickness valueValue (#) Typeface-7-6-5-4-3-2-101234567Ultra ThinExtra ThinThinEx
TypefaceSetting/Primary:ESC “(s#T”Setting/Secondary:ESC “)s#T”#=Typeface valueThis command selects the design of characters.Typeface FamilyValue (#)Ty
Typeface SelectionCommandPrinter FontOne-Byte/Two-ByteTypeface DescriptorYour PrinterTwo-Byte Two-Byte Typeface selected.Two-Byte One-ByteTypeface for
Default Font SelectionThe default font command sets the font to default value.• To make the primary font default.Setting:ESC “(#@”#=3: To select all c
Moving the Printing PositionThe printing position can be moved horizontally or vertically by commands thatchange the location of printing data.Two met
Horizontal Movement• By columnsSetting:ESC “&a#C”#=Number of columnsThis command moves the current printing position to a new column position.The
Vertical Movement• • By linesSetting:ESC “&a#R”#=Number of linesThis command moves the current printing position to the same position on a newline
Raster GraphicsRaster Graphics is a printing function that prints graphic patterns by sending dotimage data by raster units (scanning line) from the c
Page Orientation, Paper Length, Paper WidthOnly single sheet paper can be used with this printer. The size of the paper isdetermined by the paper leng
Raster Graphics Presentation ModeSetting:ESC “*r#F”#=0: To print raster image in orientation of logical page#=3: To print raster image along the width
Raster WidthSetting:ESC “*r#S”#=Width in pixels of the specified resolutionThis command sets the width in pixels of the raster areas denoted when the
Start the Raster Graphics ModeSetting:ESC “*r#A”#=0 or 1This command directs the printer to start raster graphics printing as well asdeciding the star
Set Compression ModeSetting:ESC “*b#M”#=0: Unencoded1: Run-length encoding2: Tagged imaged file format (TIFF) rev. 4.03: Delta row compression5: Adapt
• Tagged Image File Format EncodingThis format has features of Unencoded and Run-length encoding.A control byte in the raster data determines whether
• Delta Row CompressionWhen a part of bytes in a row are different from those of the preceding row, thisformat identifies the difference and sends onl
Example: Indicates 2 bytes Delta row Command byte compression mode SC “*b3m2W”(00000000)2(01111111)2
An offset byte is added to the command byte.If 255 is set for additional offset bytes, offset bytes must be added until therequired offset value is en
• Adaptive CompressionThis code can be used with the other modes (#=0, 1, 2 and 3).Example:ESC “*b5m16W”03(h)00(h)0a(h)ff(h)...ff(h)04(h)00(h)05(h)
Four program samples to print the raster graphics are shown:Program sample 1: Unencoded10 OPEN "lPt1:" FOR RANDOM AS #120 WIDTH #1, 25530 PR
Portrait printing mode Landscape printing modePaper lengthPaper widthABCDEFGPaperlengthPaperwidthABCDEFGFigure2.1 Portrait and landscape orientation
290 PRINT #1, CHR$(&H0);CHR$(&H7);CHR$(&HFF);CHR$(&HFF);CHR$(&HC0);CHR$(&H0);300 PRINT #1, CHR$(27); "*b0m6W";310 PR
40 PRINT #1, CHR$(27); "*r0F" ;50 PRINT #1, CHR$(27); "*r0A" ;60 PRINT #1, CHR$(27); "*b1m2W";70 PRINT #1, CHR$(5); CHR$
310 PRINT #1, CHR$(&HFF);CHR$(&H0);CHR$(&HC0);CHR$(&H0);CHR$(&H0);320 PRINT #1, CHR$(27); "*b1m10W";330 PRINT #1r CHR$(&
Program sample 3: Tagged imaged file format (TIFF) rev. 4.010 OPEN "lpt1:" FOR RANDOM AS #120 WIDTH #1, 25530 PRINT #1, CHR$(27); "*t75
340 PRINT #1, CHR$(27); "*b2m8W";350 PRINT #1, CHR$(1);CHR$(&H0);CHR$(&H3F);CHR$(&HFF);CHR$(&HFF);CHR$(1);CHR$(&HF8);CHR
80 PRINT #1, CHR$(27); "*b3m2W";90 PRINT #1, CHR$(&H2);CHR$(&H1);100 PRINT #1, CHR$(27); "*b3m3W";110 PRINT #1, CHR$(&
430 PRINT #1, CHR$(&H0);CHR$(&H3);CHR$(&H4);CHR$(&H80);440 PRINT #1, CHR$(27); "*b3m4W";450 PRINT #1, CHR$(&H0);CHR$(&am
Sending the Raster Graphics DataSetting:ESC “*b#W”#= Number of bytes of bit image dataThis command is used to send raster graphics data. Send the bit
End Raster Graphics ModeVersion BSetting:ESC “*rB”This command designates the end of raster graphics.In addition, when this command is received,• comp
100 WIDTH "lpt1:",255110 OPEN "lptl:" AS #1120 ’130 PRINT #1,CHRS(27);"*t75R"; '75 dpi140 PRINT #1,
Printable AreaThe printable area refers to the area where texts and figures can be printed.There exists an unprintable area on the margins of the pape
450 PRINT #1,CHR$(12);460 ENDRASTER GRAPHICS ( 75 DPI)RASTER GRAPHICS (100 DPI)RASTER GRAPHICS (150 DPI)RASTER GRAPHICS (300 DPI)Figure 3.5 Raster gra
Font DownloadingThe user can select a desired font from the built-in fonts.Additionally, the printer permits the user to download fonts in HP compatib
Bitmap FontByte0 FONT DESCRIPTOR SIZE (64)2 DESCRIPTOR FORMAT (0) FONT TYPE4 STYLE MSB (0) RESERVED6 BASELINE POSITION8 CELL WIDTH10 CELL HEIGHT12 ORI
Byte0 FONT DESCRIPTOR SIZE (68)2 DESCRIPTOR FORMAT (20) FONT TYPE4 STYLE MSB (0) RESERVED6 BASELINE POSITION8 CELL WIDTH10 CELL HEIGHT12 ORIENTATION F
Bitmap FontFONT DESCRIPTOR SIZE:These two bytes specify the number of bytes for the font descriptor.DESCRIPTOR FORMAT:This 1 byte specifies the format
STYLE MSB:This 1 byte is used as style word by combining with Style LSB. Style word iscomposed as follows:Style Word = Posture + ( 4 × Width ) + ( 32
Value (#) Structure (Multiply by 32 for Style Word partial sum)012345678 to 1112 to 15161718 to 3031SolidOutlineInlineContourSolid with ShadowOutline
CELL HEIGHT:The cell must have enough space in height for the highest character.The range is from 1 to 65535.The cell height is decided in PCL coordin
ORIENTATION:This 1 byte specifies the font orientation (direction of printing); portrait isselected by 0, landscape by 1, reverse portrait by 2 and re
Symbol SetValue FieldNumberUppercaseLetterValueISO 60 Norwegian V1ISO 4 United KingdomWindows 3.1 Latin 2ISO 69 FrenchISO 21 GermanISO 15 ItalianMicro
BA DA DPortrait
Symbol SetValue FieldNumberUppercaseLetterValueWindows 3.1 Latin 5PC-TurkishISO 6 ASCIILegalRoman-8Windows 3.0 Latin 1PC-8PC-8 Danish/NorwegianPC-850
WIDTH TYPE:This 1 byte specifies the width type of the font.Value (#) Width Type-5-4-3-2023Ultra CompressedExtra CompressedCompressed or Extra Condens
STROKE WEIGHT:This 1 byte specifies the thickness of the font. The value must be within -7to 7; the plus value shows the font is thicker (Bold) while
TYPEFACE LSB,TYPEFACE MSB:These two bytes specify the typeface family value whose components arevendor and typeface family.Typeface family value 15
Typeface FamilyValue (#)Typeface BaseValue (#)Typeface409640994101410241134116414041484168419742974314436243984613682603561720445272101201218266302517
QUALITY:This 1 byte specifies the quality of the font.Value (#) Quality012Data processing (draft)Near Letter QualityLetter QualityTable 3.16 Quality v
UNDERLINE THICKNESS (HEIGHT):This 1 byte specifies the thickness of the underline in font design dots.The underline is printed with the 3 dots thickne
LAST CODE:These two bytes determine the last code of the font.PITCH EXTENDED:An extra 1 byte is added to the pitch field for precise pitch information
CAP HEIGHT:The cap height is a percentage of the Em of a font. And the cap height isused to calculate the distance from the cap line (the unaccented t
Intellifont Scalable FontByte0 FONT DESCRIPTOR SIZE (minimum 80)2 DESCRIPTOR FORMAT (10) FONT TYPE4 STYLE MSB RESERVED6 BASELINE POSITION8 CELL WIDTH1
Paper Type Letter LegalPaper Size 8. 5"x11"(215.9x279.4 mm)8. 5"x14"(215.9x355.6 mm)Portrait/ Landscape P L P LA(dots) 3,300 2,550
Byte44 to 47 FONT NUMBER48 to 63 FONT NAME64 SCALE FACTOR66 X RESOLUTION68 Y RESOLUTION70 MASTER UNDERLINE POSITION72 MASTER UNDERLINE THICKNESS (HEIG
Byte0 FONT DESCRIPTOR SIZE (minimum 88)2 DESCRIPTOR FORMAT (11) FONT TYPE (10)4 STYLE MSB RESERVED6 BASELINE POSITION8 CELL WIDTH10 CELL HEIGHT12 ORIE
Byte48 to 63 FONT NAME64 SCALE FACTOR66 X RESOLUTION68 Y RESOLUTION70 MASTER UNDERLINE POSITION72 MASTER UNDERLINE THICKNESS (HEIGHT)74 OR THRESHOLD76
Intellifont Scalable FontFONT DESCRIPTOR SIZE:These two bytes specify the number of bytes for the font descriptor.DESCRIPTOR FORMAT:This 1 byte specif
STYLE MSB:See STYLE MSB in the case of Bitmap Font.BASELINE POSITION:These two bytes specify a Y-coordinate in the design window.CELL WIDTH:The cell m
HEIGHT:The height depends on the master design height.The height is typically set to 2000.x-HEIGHT:These two bytes determine the distance from the bas
UNDERLINE THICKNESS (HEIGHT):This 1 byte must be set to 0. The Master Underline Thickness is recognizedas the information on the scalable fonts.TEXT H
CAP HEIGHT:These two bytes specify the cap height in design units.FONT NUMBER:The font number field is composed with four bytes; the lower three bytes
MASTER UNDERLINE THICKNESS (HEIGHT):This field decides the thickness of floating underline in design units.OR THRESHOLD:These two bytes are the pixel
Bit Value6362613433322, 1, 00:Standard Latin character sets1:the others0:East European Latin character sets1:the others0:Turkish character sets1:the o
Commentaires sur ces manuels