IntelliTech Intellibar M48 Reference Manual

M series
Table of Contents

Advertisement

Quick Links

M Series Label Printer
Models M48, M412, and M88
Programmer's Reference Guide
Advancing the way the world prints labels...
2013 Revision 2.1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Intellibar M48 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for IntelliTech Intellibar M48

  • Page 1 M Series Label Printer Models M48, M412, and M88 Programmer’s Reference Guide Advancing the way the world prints labels… 2013 Revision 2.1...
  • Page 2 The IntelliTech product(s) discussed in this document are warranted in accordance with the terms of the Warranty Statement accompanying each product. However, actual performance of each such product is dependent upon factors such as system configuration, customer data, and operator control.
  • Page 3: Table Of Contents

    Contents Preface ..........................Abbreviations ........................xiii Section 1 PCL Background Page Characteristics ......................1-1 Addressable Area ..................... 1-1 PCL Coordinate System ................... 1-1 Printable Area ........................1-2 Orientation ....................... 1-3 Range ........................ 1-4 PCL Portrait Orientation Print Area ..............1-5 Landscape Orientation Print Area ..............
  • Page 4 Contents Print Human-Readable Text ..................2-9 Human-Readable Positioning with Bar Code ........... 2-9 Positioning after Printing a Bar Code ............... 2-9 Printing in Notched Bar Code ................2-10 Calculate Optional Check Digit ................2-10 PDF417 Bar Code ....................2-11 Print Bar Code ......................2-12 Auto Incrementing/Decrementing Fields ..............
  • Page 5 Contents v Horizontal Control (Decipoints) ..................5-3 Horizontal Control (Dots) ....................5-4 Horizontal Control (Control Codes) ................5-4 CR – Carriage Return ....................5-4 SP – Space........................ 5-4 BS – Backspace ......................5-4 HT – Horizontal Tab ....................5-5 Vertical Control (Rows) ....................5-5 Vertical Control (Decipoints) ..................
  • Page 6 Contents Transparent Print Data ....................6-15 Underline Command ....................... 6-16 HPGL/2 Font Selection ....................6-16 Primary Font (FI) ..................... 6-16 Secondary Font (FN) ....................6-17 Scalable or Bitmap Fonts (SB)................. 6-18 Select Standard Font (SS) ..................6-19 Select Alternate Font (SA) ..................6-19 Absolute Direction (DI) ...................
  • Page 7 Contents vii Cell Width (UI) ......................8-5 Cell Height (UI) ....................... 8-5 Orientation (UB) ...................... 8-5 Spacing (B) ......................8-5 Symbol Set (UI) ....................... 8-5 Pitch (UI)........................8-7 Height (UI) ....................... 8-8 x#Height (UI) ......................8-8 Width Type (SB) ...................... 8-8 Style (UB) ........................
  • Page 8 viii Contents Section 9 HP PCL Graphics Commands Raster Graphics ....................... 9-1 Raster Graphics Resolution ..................9-3 Raster Graphics Presentation ................... 9-3 Raster Height Command ..................9-4 Raster Width Command ................... 9-5 Start Raster Graphics ....................9-5 Raster Y Offset Command ..................9-6 Set Compression Method Command ...............
  • Page 9 Contents ix Number of Pens (NP) ..................9-26 Pen Width (PW) ....................9-26 Pen Width Unit Selection (WU) ............... 9-26 Select Pen (SP) ....................9-27 Symbol Mode (SM) ..................9-28 Fill Type (FT) ....................9-29 Anchor (AC) ..................... 9-30 Raster Fill Definition (RF) ................9-30 User Defined Line Type (UL) ................
  • Page 10 Contents Initialize (IN) ....................9-50 Rotate Coordinate System (RO) ............... 9-51 Advance Full Page (PG) ................... 9-52 Replot (RP) ....................... 9-53 Section 10 HP PCL Macro Commands and Programming Hints Creating a Macro ......................10-1 Controlling a Macro ......................10-1 Temporary/Permanent Macros ..................
  • Page 11 Contents xi Orientation Features ..................4-5 Top Margin Cursor Position ................4-8 Cursor Positioning .................... 5-2 Physical Coordinate System ................8-1 Character Cell ....................8-2 Character Descriptor and Data Format ............. 8-12 Character Descriptors/Data Continuation Block ..........8-13 Portrait Character Example ................8-15 Landscape Character Example ................
  • Page 12: Preface

    Preface This IntelliBar M Series Programmer’s Reference Guide contains programming and hardware interface information written for programmers who want to generate labels from a data stream. An understanding of the HP PCL language, ASCII coding, hexadecimal numbers, and BASIC programming is useful when referencing several of the sections in this manual. The manual is organized as follows: A list of the abbreviations used in this manual follows the preface.
  • Page 13: Related Documents

    "This information is subject to change without notice. This information is provided "as is" without either express or implied warranty. IntelliTech International, Inc. disclaims any and all warranties with regard to this information. IntelliTech shall not be liable in any event for any special, indirect or consequential damages or any damages whatsoever...
  • Page 14 Preface xxiii resulting from loss of data, profits or use, for any reason or in any action, arising out of or in connection with the use or performance of this information. "...
  • Page 15: Section 1 Pcl Background

    Section 1 PCL Background PAGE CHARACTERISTICS This section describes the system and page characteristics. The IntelliBar printer defines a label (or page) by using the HP PCL coordinate system. Addressable Area The addressable area describes the area within which the active printing position (or cur- sor) can move to print.
  • Page 16: Printable Area

    PCL Background Figure 1-1 PCL Coordinate System Points within the PCL coordinate system can be expressed in dots, decipoints, columns (for the x-axis) and rows (for the y-axis). The dot represents the smallest printable point with a size equal to 1/300 inch. Printer reso- lution refers to the number of dots per inch.
  • Page 17: Orientation

    PCL Background 4.625 Inches (117.475 mm) maximum web width (Model 48 and 412) 9.625 Inches (244.475 mm) maximum web width (Model 88) Printable widths: 4.5 Inches (114.3 mm) maximum (Model 48 and 412) .08 Inches (2mm) Unprintable Area 8.75 Inches Top and Bottom (222.25 mm) maximum AAAAAAA........AAAA...
  • Page 18: Range

    PCL Background Range The IntelliBar printer can print in four different orientation ranges:  portrait (0 degrees rotation)  landscape (90 degrees rotation)  reverse portrait (180 degrees rotation)  reverse landscape (270 degrees rotation). This range of orientations provides tremendous versatility for printing complex label de- signs.
  • Page 19: Pcl Portrait Orientation Print Area

    PCL Background PCL Portrait Orientation Print Area Figure 1-4 shows the PCL portrait orientation print area. Figure 1-4 PCL Portrait Orientation Print Area Landscape Orientation Print Area Figure 1-5 shows the landscape orientation print area.
  • Page 20: Character Clipping

    PCL Background Figure 1-5 Landscape Orientation Print Area Character Clipping The printable area has tightly defined boundaries. If any part of a character falls outside of the printable area, it will not print. The printer will treat the character as a space (see Figure 1-6).
  • Page 21: Raster Graphic Clipping

    IntelliTech International, Inc. disclaims any and all warranties with regard to this information. IntelliTech shall not be liable in any event for any special, indirect or consequential damages or any damages whatsoever resulting from loss of data, profits or use, for any reason or in any action, arising out of or in connection with the use or...
  • Page 22: Print And Format Command Extensions

    Section 2 IntelliBar M Series Extensions to HP PCL Commands This section describes IntelliBar M Series HP PCL print and format command extensions and bar code generation command extensions. PRINT AND FORMAT COMMAND EXTENSIONS The following print and format extension commands have been added to the existing IntelliBar HP PCL5 command set to take full advantage of features found in the printer.
  • Page 23: Variable Form Length

    IntelliBar M Series Extensions to HP PCL Commands Variable Form Length ESC !f1Z Decimal: 027 033 102 049 090 Hex: 1B 21 66 31 5A Use the Variable Form Length command to define the size of printable area on the label, clarify the label length, and eliminate character clipping.
  • Page 24 IntelliBar M Series Extensions to HP PCL Commands Continuous Media For continuous media, setting the Variable Form Length command causes a soft engine reset to be executed with the label pitch length set to the form length +2 mm gap. Therefore, the logical paper length (bitmap size) and the paper movement are always synchronized.
  • Page 25: Disabling Variable Form Length

    IntelliBar M Series Extensions to HP PCL Commands If no Variable Form Length command is received, or the form length is set to 0, or a reset (ESC E) command is received, the logical paper length and the paper movement are determined by the value measured by the control panel’s “Automatic”...
  • Page 26: Print Density

    IntelliBar M Series Extensions to HP PCL Commands Print Density ESC !d##A Decimal: 027 033 100 ## 65 Hex: 1B 21 64 ## 41 ##: print head voltage adjustment value This command lets you adjust the black/white contrast between the output and the label (print density) by adjusting the temperature of the print head.
  • Page 27: Print And Cut

    IntelliBar M Series Extensions to HP PCL Commands Print and Cut ESC !n##C Decimal: 027 033 110 ## 067 Hex: 1B 21 6E ## 43 where ## equals the cut-off frequency (1 to 99, default = 1) Use this command to control how many labels pass through the output slot before a cutting action occurs.
  • Page 28: Set Bar Code Type

    IntelliBar M Series Extensions to HP PCL Commands Set Bar Code Type ESC!b#C Decimal: 027 033 098 # 067 where # is a number that sets the bar code type as follows: only print text (default) UPC-A UPC-E Code 39 12 Code 93 ...
  • Page 29: Set Bar Code Height (Dots)

    IntelliBar M Series Extensions to HP PCL Commands Set Bar Code Height (Dots) ESC!b#J Decimal: 027 033 098 # 074 where # is a number that sets the bar code height in picture elements (pixels) (1/300 inch) Default = 300 pixels (1 inch) Set Bar Code Width (Dots) ESC!b#N Decimal:...
  • Page 30: Set Upc-E Bar Code Method

    IntelliBar M Series Extensions to HP PCL Commands Set UPC-E Bar Code Method ESC!b#E Decimal: 027 033 098 # 069 where # is a number that sets the UPC-E bar code method as follows: Requires 11 digits to print 6 digit bar code (default) System 0 (6 digit input string) System 1 (6 digit input string) Print Human-Readable Text...
  • Page 31: Printing In Notched Bar Code

    2-10 IntelliBar M Series Extensions to HP PCL Commands Printing in Notched Bar Code The NOTCHED option only applies to UPC-A, UPC-E, EAN-8, and EAN-13 bar code types (and only if 2 or 5 supplemental digit code is not included). If the supplemental digits are included in these four bar code types, NOTCHED printing is ignored and printing defaults to below the bar code.
  • Page 32: Pdf417 Bar Code

    IntelliBar M Series Extensions to HP PCL Commands 2-11 Setting the Optional Check Digit to 2 has the following effect: Codabar calculates Mod 10 checksum. MSI Plessey calculates 1 Mod 11 and Mod 10 checksum. PDF417 Bar Code PDF417 bar code capability is implemented with the following features. Additional # for Bar Code Type selection: ESC!b#c –...
  • Page 33: Print Bar Code

    2-12 IntelliBar M Series Extensions to HP PCL Commands ESC!b#V – Set Column count used for sizing the PDF symbol. Default = 0 Range: 0 through 30 If both ROW and COLUMN count are defaulted to 0, the bar code aspect ratio is set to 1:2, i.
  • Page 34 IntelliBar M Series Extensions to HP PCL Commands 2-13 ESC!b#Z where # is a number that enables/disables printing of leading zeroes in incrementing fields as follows: Disable (default). Use spaces as placeholders. When the field value is zero, the final zero is not suppressed. Enable (use zeroes as placeholders).
  • Page 35: Bar Code Generation Example

    IntelliTech International, Inc. disclaims any and all warranties with regard to this information. IntelliTech shall not be liable in any event for any special, indirect or consequential damages or any damages whatsoever resulting from loss of data, profits or use, for any reason or in any action, arising out of or in connection with the use or...
  • Page 36: Section 3 Hp Pcl Print Commands

    Section 3 HP PCL Print Commands You can easily control printer operation using four standard HP PCL print commands. These commands, or escape sequences, allow you to:  restore user default settings (reset)  select the number of copies needed for each label ...
  • Page 37: Long-Edge (Left) Offset Registration

    HP PCL Print Commands LONG-EDGE (LEFT) OFFSET REGISTRATION ESC&!#U Decimal: 027 038 108 #...#085 Hex: 1B 26 6C #...# 55 #: number of decipoints (1/720 inch) Default = 0 Range = -32767 to 32767 This command designates the position of the logical page across the width (short side) of the physical page.
  • Page 38 IntelliTech International, Inc. disclaims any and all warranties with regard to this information. IntelliTech shall not be liable in any event for any special, indirect or consequential damages or any damages whatsoever resulting from loss of data, profits or use, for any reason or in any action, arising out of or in connection with the use or...
  • Page 39: Section 4 Hp Pcl Page Format Commands

    Section 4 HP PCL Page Format Commands In addition to using print commands to control printer operation, you can use page format commands to set up all your labels. These commands or escape sequences allow you to:  select page size and length ...
  • Page 40: Page Length

    HP PCL Page Format Commands NOTE: The IntelliBar M Series does not re- spond to this command. When the printer receives the page size command, it will print subsequent labels using the user default settings for the top margin, text length, and left and right margins. The macro overlay is disabled and the cursor position moves to the left edge of the addressable print area on the top margin of the next label.
  • Page 41 HP PCL Page Format Commands Table 4-1 Page Lengths for Portrait Orientation LINES PER INCH Page Size Letter Legal Executive Table 4-2 Page Lengths for Landscape Orientation LINES PER INCH Page Size Letter – – Legal Executive You can print a legal-size page in landscape orientation by starting in portrait orientation and setting the page length using ESC&l84P.
  • Page 42: Paper Source

    HP PCL Page Format Commands PAPER SOURCE ESC &l#H Decimal: 027 038 108 # 072 Hex: 1B 26 6C # 48 #: 0 = print the current label 1 = feed paper from paper cassette 2 = feed paper from manual feed slot Use this command to select either the paper cassette or the manual feed feature.
  • Page 43: Print Direction

    HP PCL Page Format Commands Figure 4-1 Orientation Features PRINT DIRECTION ESC &l#P Decimal: 027 038 097 #...# 080 Hex: 1B 26 61 #...# 50 #: 0 = 0 rotation 90 = 90 counterclockwise rotation 180 = 180 counterclockwise rotation 270 = 270 counterclockwise rotation Default = 0...
  • Page 44: Left Margin

    HP PCL Page Format Commands Changing the print direction causes the following to occur:  The print origin moves with the logical page rotation. For example, rotating a de- fault page (Portrait orientation, 0 print direction) 90 causes data to print in the landscape direction across the “portrait”...
  • Page 45: Right Margin

    HP PCL Page Format Commands RIGHT MARGIN ESC &a#M Decimal: 027 038 097 #...# 077 Hex: 1B 26 61 #...# 4D #: column number Use the right margin command to set the right margin to the right edge of a column you specify.
  • Page 46: Clear Horizontal Margins

    HP PCL Page Format Commands This position will be at the baseline of a character to provide the correct character position in a character cell. Figure 4-2 shows the relationship of the cursor position to the top mar- gin and the VMI. NOTE: The first line of the addressable print area is 0.
  • Page 47: Text Length

    HP PCL Page Format Commands TEXT LENGTH ESC &l#F Decimal: 027 038 108 #...# 070 Hex: 1B 26 6C #...# 46 #: number of lines Use the text length command to set the number of lines available for printing text within the addressable print area.
  • Page 48: Horizontal Motion Index

    4-10 HP PCL Page Format Commands HORIZONTAL MOTION INDEX ESC &k#H Decimal: 027 038 107 #...# 072 Hex: 1B 26 6B #...# 48 #: number of 1/120 increments Use the horizontal motion index (HMI) to set the distance between columns. You can spec- ify a value from 0 to 840.
  • Page 49: Line Spacing

    IntelliTech International, Inc. disclaims any and all warranties with regard to this information. IntelliTech shall not be liable in any event for any special, indirect or consequential damages or any damages whatsoever resulting from loss of data, profits or use, for any reason or in any action, arising out of or in connection with the use or...
  • Page 50: Section 5 Hp Pcl Cursor Position Commands

    Section 5 HP PCL Cursor Position Commands The IntelliBar M Series prints with an active printing position typically referred to as the cursor position. You can use several commands to move the cursor for customized applica- tions.  Cursor position commands deal with the following features. ...
  • Page 51: Cursor Addressing Units

    HP PCL Cursor Position Commands Figure 5-1 Cursor Positioning CURSOR ADDRESSING UNITS All position commands are expressed in PCL coordinate system units on an x-y axis. The x-axis units can be dots, decipoints, or columns. The y-axis units can be dots, decipoints, or rows.
  • Page 52: Horizontal Control (Columns)

    HP PCL Cursor Position Commands HORIZONTAL CONTROL (COLUMNS) ESC &a#C Decimal: 027 038 097 # 067 Hex: 1B 26 61 # 43 #: number of columns Use this horizontal control command to move the current horizontal cursor (or active print position) to a new column position on the current line.
  • Page 53: Horizontal Control (Dots)

    HP PCL Cursor Position Commands HORIZONTAL CONTROL (DOTS) ESC *p#X Decimal: 027 042 112 # 088 Hex: 1B 2A 70 # 58 #: number of dots Use this horizontal control command to move the current horizontal cursor (or active print position) to a new position on the current line.
  • Page 54: Ht - Horizontal Tab

    HP PCL Cursor Position Commands When used with proportionally-spaced fonts, the backspace centers the overstriking charac- ter on the character being overstruck. After printing the overstrike character the cursor po- sition will be at the same position before the backspace. Each movement back equals the distance of the last symbol or space.
  • Page 55: Vertical Control (Decipoints)

    HP PCL Cursor Position Commands VERTICAL CONTROL (DECIPOINTS) ESC &a#V Decimal: 027 038 097 # 086 Hex: 1B 26 61 # 56 #: number of decipoints (1/720 inch) Use this vertical control command to move the current vertical cursor (or active print posi- tion) along the y-axis.
  • Page 56: Half-Line Feed)

    HP PCL Cursor Position Commands HALF-LINE FEED) ESC = Decimal: 027 061 Hex: 1B 3D Use the half-line feed command to move the cursor down one-half line feed to the same character position. The distance is one-half of the current VMI or line spacing setting. VERTICAL CONTROL (CONTROL CODES).
  • Page 57: Push/Pop Control)

    IntelliTech International, Inc. disclaims any and all warranties with regard to this information. IntelliTech shall not be liable in any event for any special, indirect or consequential damages or any damages whatsoever resulting from loss of data, profits or use, for any reason or in any action, arising out of or in connection with the use or...
  • Page 58: Section 6 Hp Pcl Font Characteristics

    Section 6 HP PCL Font Characteristics You can print documents using a variety of fonts. For example, you can use a large font for the title or company name, a standard-size font for the body of the label, and a bold or italic font to highlight key words or phrases.
  • Page 59: Priority Of Characteristics

    HP PCL Font Characteristics Priority of Characteristics The printer first selects a font based on the priority of the characteristics. The priority of the characteristics, from highest to lowest, is shown in the following list. Symbol Set Spacing Pitch Point Size (Height) Style Stroke Typeface...
  • Page 60: Number Of Fonts

    HP PCL Font Characteristics Number of Fonts Table 6-1lists the maximum number of fonts that the IntelliBar M Series can manage from the three font storage locations.. Table 6-1 Number of Fonts Font Source Maximum Number of Fonts Number of Fonts Per Label Download Up to 32 fonts The IntelliBar M Series can...
  • Page 61: Primary And Secondary Fonts

    Courier Even though only the characteristics of the new font that differ from those of the previously designated font must be sent, IntelliTech recommends that all of the characteristics be sent to ensure that the correct font gets selected. PRIMARY AND SECONDARY FONTS The printer maintains two independent font characteristic tables for use in selecting a primary font and a secondary font.
  • Page 62 HP PCL Font Characteristics ESC(ID Primary symbol set ID = Symbol Set ID number Decimal: 027 040 ID Hex: 1B 28 ID ESC)ID Secondary Symbol Set ID = Symbol Set ID number Decimal: 027 041 ID Hex: 1B 29 ID If the specified symbol set does not exist, the default symbol set will be used.
  • Page 63: Iso Symbol Sets

    HP PCL Font Characteristics Table 6-4 Defined Symbol Sets (cont’d) Symbol Set Name Symbol Set ID *ISO 17: Spanish *ISO 21: German *ISO 25: French *ISO 57 Chinese *ISO 60 Norwegian version 1 *ISO 60 Norwegian version 2 ISO 69 French *ISO 84 Portuguese *ISO 85: Spanish PC–8...
  • Page 64: Spacing

    HP PCL Font Characteristics Table 6-5 ISO Substitution Characters SPACING Inter-character spacing can be specified as either proportional or fixed by sending the following commands. ESC(s#P Primary spacing Decimal: 027 040 115 049 080 (proportional spacing) 027 040 115 048 080 (fixed spacing) Hex: 1B 28 73 31 50 (proportional spacing) 1B 28 73 30 50 (fixed spacing)
  • Page 65: Pitch

    HP PCL Font Characteristics When proportional spacing is specified and a proportionally-spaced font is not available, a fixed pitch font with the current pitch specification is selected. The factory default primary and secondary spacings are fixed. The user default primary and secondary spacings are implicitly set by selection of a user default font from the control panel (refer to Section 3).
  • Page 66: Set Pitch Mode

    HP PCL Font Characteristics SET PITCH MODE ESC&k0S 10.0 characters per inch Decimal: 027 038 107 048 083 Hex: 1B 26 6B 30 53 ESC&k2S Compressed Mode (16.5 - 16.7 character per inch) Decimal: 027 038 107 050 083 Hex: 1B 26 6B 32 53 ESC&k4S Elite Mode (12.0 characters per inch) Decimal 027 038 107 052 083...
  • Page 67: Style

    6-10 HP PCL Font Characteristics STYLE Style designates either upright or italic font. ESC(s#S Primary Style Decimal: 027 040 115 # 083 Hex: 1B 28 73 # 53 ESC)s#S Secondary Style Decimal: 027 041 115 # 083 Hex: 1B 29 73 # 53 #: 0 = Upright 1 = Italic If the requested style is not present, this characteristic is ignored during font selection.
  • Page 68 HP PCL Font Characteristics 6-11 –7 Ultra Thin –6 Extra thin –5 Thin –4 Extra light –3 Light –2 Demi light –1 Semi light Medium, Book, or Text Semi bold Demi bold Bold Extra bold Black Extra black Ultra Black If the specified stroke weight is greater than or equal to 0 and is not available, the next thicker available stroke weight is selected.
  • Page 69: Typeface

    6-12 HP PCL Font Characteristics TYPEFACE Typeface designates the design of the font.. ESC(s#T Primary typeface Decimal: 027 040 115 # 084 Hex: 1B 28 73 # 54 ESC)s#T Secondary typeface Decimal: 027 041 115 # 084 Hex: 1B 29 73 # 54 #: Typeface value (see Table 6-7).
  • Page 70: Orientation

    HP PCL Font Characteristics 6-13 Table 6-7 Typeface Values Value (#) Typeface Line Printer Courier Letter Gothic 4148 Univers 4101 CG Times ORIENTATION The orientation command designates the position of the logical page and direction of print with respect to the physical page. ESC&l#O #: 0 = portrait 1 = landscape...
  • Page 71 6-14 HP PCL Font Characteristics Table 6-8 Font Selection Characteristic Value Escape Sequence Symbol set ASCII ESC(0U Spacing Fixed ESC(s0P Pitch 10 cpi ESC(s10H Height 12 point ESC(s12V Style Upright ESC(s0S Stroke weight Bold ESC(s3B) Typeface Courier ESC(s3T The following escape sequences could be sent to the printer to select a primary font with the above characteristics: ESC(0U ESC(s0P ESC(s10H ESC(s12V ESC(s0S ESC(s3B ESC(s3T...
  • Page 72: Selection Of The Default Font

    HP PCL Font Characteristics 6-15 SELECTION OF THE DEFAULT FONT Default font sets all of the font characteristics to those of the user default font.. ESC(3@ Default primary font characteristics Decimal: 027 040 051 064 Hex: 1B 28 33 40 ESC)3@ Default secondary font characteristics Decimal: 027 041 051 064...
  • Page 73: Underline Command

    6-16 HP PCL Font Characteristics UNDERLINE COMMAND The Underline commands control automatic text underlining.. ESC&d#D Enable underline Decimal: 027 038 100 # 068 Hex: 1B 26 64 # 44 #: 0 = Fixed position 3 = Floating position ESC&d@ Disable underline Once underlining is enabled, any positive horizontal movement causes an underline to be drawn.
  • Page 74: Secondary Font (Fn)

    HP PCL Font Characteristics 6-17 Table 6-9 Primary Font Command Parameters Parameter Format Functional Range Default font_ID integer 0 to 32767 None This command does not select the font for text printing if you are currently using the secondary (alternate) font. The FI (and FN) commands implicitly change the value of the SB command (scalable or bitmapped fonts).
  • Page 75: Scalable Or Bitmap Fonts (Sb)

    6-18 HP PCL Font Characteristics Scalable or Bitmap Fonts (SB) SB [n;] or SB [;] n: 0 - Scalable fonts only 1 - Bipmap fonts allowed No parameter - Defaults to scalable fonts. Equivalent to SB0. This command specifies which types of fonts are used for text printing commands. It allows you to restrict font selection to only scalable fonts, disregarding bitmap fonts.
  • Page 76: Select Standard Font (Ss)

    HP PCL Font Characteristics 6-19 Select Standard Font (SS) This command selects the standard font (already designed by the Standard Font Definition (SD) command) for subsequent text printing. Use the SS command to shift from the currently selected alternate font to the designated standard font. SS [;] The SS command tells the printer to print subsequent text printing commands using characters from the standard symbol set designated by the SD command.
  • Page 77 6-20 HP PCL Font Characteristics NOTE: Bit map characters are always printed orthogonally to the page. Scalable characters print in the direction specified. Using the DI (and DR) command, you can therefore place text anywhere on the page in any orientation. Table 6-13 Absolute Direction Command Parameters Parameter Format...
  • Page 78: Relative Direction (Dr)

    HP PCL Font Characteristics 6-21 Relative Direction (DR) This command specifies the the direction in which text characters are printed, relative to the location of scaling points P1 and P2. The text printing direction is adjusted when P1 and P2 change so that the printed text maintains the same relationship to the scaled data. Use the DR command to change the printing direction when you are printing text labeling curves in line charts, schematic drawings, blueprints, and survey boundaries.
  • Page 79: Relative Character Size (Sr)

    6-22 HP PCL Font Characteristics No parameters - Character size is as specified by the SD (standard font definition) and AD (alternate font definition) commands. Width - Specifies the width of the nominal character in centimeters. A negative width parameter mirrors text characters in the right-to-left direction. NOTE: Changing character size also changes the width of line used to draw Stick font characters.
  • Page 80: Character Slant (Sl)

    HP PCL Font Characteristics 6-23 NOTE: Changing character size also changes the apparent stroke weight of text characters; the printer adjusts characters relative to changes in P1/P2. As long as the aspect ratio remains the same with changes in P1/P2, characters will have the same appearance relative to the new P1/P2 rectangle.
  • Page 81: Extra Space (Es)

    6-24 HP PCL Font Characteristics The SL command only affects each character relative to an imaginary line beside the text characters. The direction or placement of the text on the drawing does not affect the SL command; neither do the settings of the P1 and P2 scaling points. (The DI and DR commands, however, do affect the slant direction, since the base of a character always stays on the baseline of the text.
  • Page 82: Standard Font Definition (Sd)

    HP PCL Font Characteristics 6-25 Standard Font Definition (SD) This command defines the standard font and its characteristics: symbol set, font spacing, pitch, height, posture, stroke weight, and typeface. SD kind,value ... [,kind,value;] or SD [;] Table 6-19 Standard Font Definition Command Parameters Parameter Format Functional Range...
  • Page 83: Alternate Font Definition (Ad)

    6-26 HP PCL Font Characteristics Alternate Font Definition (AD) This command is similiar to the Standard Font Definition (SD) command that defines the primary HPGL/2 font. In addition the AD command defines an alternate HPGL/2 font and its characteristics: symbol set, font spacing, pitch, height, posture, stroke weight, and typeface.
  • Page 84: Character Fill Mode (Cf)

    HP PCL Font Characteristics 6-27 NOTE: When selecting fonts, the different characteristics (symbol set, spacing, pitch, etc.) are prioritized as shown in Table , with symbol being the highest priority and typeface being the lowest. The font selection priority is the same for HPGL/2 as for PCL font selection.
  • Page 85: Label Origin (Lo)

    6-28 HP PCL Font Characteristics Edge pen - For characters that are not to be edged, this parameter indicates the pen that is used to edge the character (black or white). 0: No edging 1: Black edging. The outline pen width is not selectable, but varies in thickness in proportion to the point size of the font.
  • Page 86: Label (Lb)

    HP PCL Font Characteristics 6-29 When you embed carriage return characters in text, each portion of the text character is positioned according to the text origin, just as if they were written as separate label (LB) commands. An LO command remains in effect until another LO command is executed, or the printer is initialized or set to its default conditions.
  • Page 87: Define Label Terminator (Dt)

    6-30 HP PCL Font Characteristics Define Label Terminator (DT) This command specifies the character to be used as the label terminator and whether it is printed. Use the DT command to define a new label terminator if you desire a different one or if your computer cannot use the default (ETX, decimal code 3) sequence.
  • Page 88: Transparent Data (Td)

    HP PCL Font Characteristics 6-31 Table 6-27 Character Plot Command Parameters Parameter Format Functional Range Default spaces clamped real -32768 to 32767 None lines clamped real -32768 to 32767 None The CP command includes an automatic pen down function. When the CP command completes, the original pen up/down status is restored.
  • Page 89: Define Variable Text Path (Dv)

    6-32 HP PCL Font Characteristics Table 6-28 Transparent Data Command Parameters Parameter Format Functional Range Default mode clamped integer 0 or 1 0 (normal) The printer interprets the parameters as follows: No parameters - Defaults the text printing mode to normal. Equivalent to (TD0). Mode - Selects the normal or transparent data mode for text printing.
  • Page 90 IntelliTech International, Inc. disclaims any and all warranties with regard to this information. IntelliTech shall not be liable in any event for any special, indirect or consequential damages or any damages whatsoever resulting from loss of data, profits or use, for any reason or in any action, arising out of or in connection with the use or...
  • Page 91: Section 7 Hp Pcl Font Management And Soft Font Downloading

    Section 7 HP PCL Font Management and Soft Font Downloading The IntelliBar M Series printers have eight internal fonts. You can add more fonts by downloading soft fonts. Font management provides mechanisms for downloading and us- ing soft fonts while providing the means for controlling which soft fonts are saved in user memory (RAM) or deleted.
  • Page 92: Temporary/ Permanent Fonts

    HP PCL Font Management and Soft Font Downloading  Make sure there is sufficient space in the printer memory before downloading fonts. Because you cannot determine exactly how much memory is free, you should initialize the printer to clear memory whenever possible before download- ing soft fonts.
  • Page 93: Font Selection By Id

    "This information is subject to change without notice. This information is provided "as is" without either express or implied warranty. IntelliTech International, Inc. disclaims any and all warranties with regard to this information. Intel- liTech shall not be liable in any event for any special, indirect or consequential damages or any damages whatsoever re- sulting from loss of data, profits or use, for any reason or in any action, arising out of or in connection with the use or performance of this information.
  • Page 94: Section 8 Hp Pcl Soft Font Design

    Section 8 HP PCL Soft Font Design A font descriptor and one or more character descriptors define a soft font. A font descriptor is a block of data used to communicate font characteristics to the printer. A character descriptor specifies the position and shape of an individual character and the implied movement of the cursor after printing the character.
  • Page 95: Font Descriptor Format

    HP PCL Soft Font Design Figure 8-2 shows a character cell. PORTRAIT Figure 8-2 Character Cell FONT DESCRIPTOR FORMAT A unique ID number should be designated prior to the download of a font descriptor. If an existing font is already associated with the ID, the existing font is deleted during the down- load of the font descriptor.
  • Page 96 HP PCL Soft Font Design 8-3 Table 8-1 Font Descriptor Format Byte 15 (MSB) (LSB) 0 Font Descriptor Size (64) Header format (0) Font type Style MSB Reserved Baseline position Cell width Cell height Orientation Spacing Symbol set Pitch (default HMI) Height x - Height Width type...
  • Page 97: Font Descriptor Size (Ui)

    HP PCL Soft Font Design NOTE: The following notation is used to define the data type of each field in the font descriptor described in the following subsections. :Boolean (0,1) (UB) :Unsigned Byte (0 # 225) (SB) :Signed Byte (-128 # 127) (UI) :Unsigned Integer (0 # 65535) (SI)
  • Page 98: Baseline Distance (Ui)

    HP PCL Soft Font Design 8-5 Baseline Distance (UI) Specifies the distance from the top of the cell to the baseline. The baseline is an imaginary dot row on which all of the characters in a line stand. The measurement of this distance is in PCL coordinate system dots.
  • Page 99 HP PCL Soft Font Design Table 8-3 Symbol Set Values Symbol Set Value Termination Symbol Set Name Field Character Value HP Math–7 HP Line Draw ISO 60: Norwegian version 1 *ISO 61: Norwegian version 2 HP Roman Extensions ISO 4: United Kingdom *ISO 25: French ISO 69: French *HP German...
  • Page 100: Pitch (Ui)

    HP PCL Soft Font Design 8-7 Table 8-3 Symbol Set Values (cont’d) Symbol Set Value Termination Symbol Set Name Field Character Value *ISO 14: JIS ASCII *ISO 57: Chinese Technical–7 HP Math–8 ECMA–94 Latin 1 OCR A OCR B ISO 11: Swedish Names *HP Spanish ISO 17: Spanish...
  • Page 101: Height (Ui)

    HP PCL Soft Font Design Height (UI) Specifies the design height of the font in quarter-dot units. This value, converted to points, is used as the height characteristics value of the font. A PCL point is 1/72 (0.01389) inch. The IntelliBar M Series supports a height range of 0 to 10,922 quarter-dots. Any values greater than 10,922 are set to 10,922.
  • Page 102: Typeface

    HP PCL Soft Font Design 8-9 Typeface Specifies the least significant byte of the typeface of the font (see Table 8-5). Table 8-5 Typeface Values Value Typeface Line Printer Courier Helv TmsRmn Letter Gothic Prestige Presentations Serif Style (UB) Specifies one of the serif styles defined in Table 8-6. Table 8-6 Serif Style Values Value Serif Style...
  • Page 103: Underline Height (Ub)

    8-10 HP PCL Soft Font Design Underline Height (UB) Specifies the thickness of the underline in dots. The IntelliBar M Series always uses a three-dot thickness for an underline. Text Height (UI) Specifies the font's optimum inter-line spacing in quarter-dot units. The IntelliBar M Series does not use this field.
  • Page 104 HP PCL Soft Font Design 8-11 To download a font header for a portrait Roman-8, 10 pitch, 12 point, upright, medium, Courier font, with an ID number of one, send: ESC*c1D (set Font ID to 1) ESC)s64W [64 bytes of font header data] Table 8-7 lists the font header data.
  • Page 105: Character Descriptor And Data Format

    8-12 HP PCL Soft Font Design Font Header Data (cont’d) Table 8-7 Field Name Value Description Pitch Extended Height Extended Reserved Reserved Reserved Font Name Courier 10 CHARACTER DESCRIPTOR AND DATA FORMAT A unique character code must be designated prior to the download of a character descriptor and data.
  • Page 106: Format (Ub)

    HP PCL Soft Font Design 8-13 NOTE: The following notation is used to define the data type of each field in the character de- scriptor. :Boolean (0,1) (0 — 255) (UB) : Unsigned Byte (-128 — 127) (SB) :Signed Byte (0 —...
  • Page 107: Descriptor Size (Ub)

    8-14 HP PCL Soft Font Design Descriptor Size (UB) Specifies the size of the character descriptor in bytes. The IntelliBar M Series uses a de- scriptor size of 14. Class (UB) Specifies the format of the character data. The IntelliBar M Series uses 1 as the character data format number.
  • Page 108: Delta X (Si)

    HP PCL Soft Font Design 8-15 Delta X (SI) Specifies the number of quarter-dot units by which the horizontal position within the logi- cal page coordinate system will be incremented after printing the character. This value is only used by the printer when the font is proportionally spaced. The valid range for delta X is 0 to 16800.
  • Page 109: Character Code

    8-16 HP PCL Soft Font Design Figure 8-6 Landscape Character Example CHARACTER CODE The character code sequence establishes the decimal code that will be associated with the next character downloaded. This single byte value is used to reference the character for printing.
  • Page 110 HP PCL Soft Font Design 8-17 For example, to download the character descriptor and data for a portrait, 10 Pitch, 12 point, upright medium, Courier lowercase “y”, send: ESC*c121E (121 is the decimal character code for an ASCII lowercase “y”) ESC(s144W [character descriptor and data] Table 8-8 lists the character format, continuation, and descriptor data.
  • Page 111: Portrait Character Data Example

    8-18 HP PCL Soft Font Design Figure 8-7 Portrait Character Data Example To download the character descriptor and data for a landscape, 10 pitch, 12 point, upright, medium, Courier lowercase “y”, send: ESC*c121E (121 is the decimal character code for an ASCII lowercase “y”) ESC(s124W [character descriptor and data] Character format, continuation, and descriptor data are listed in Table 8-9.
  • Page 112 HP PCL Soft Font Design 8-19 Table 8-9 Landscape Character Descriptor Data Field Name Value Description Format Continuation Descriptor Size Class Orientation Reserved –22 Left Offset Top Offset Character Width Character Height Delta X 30 dots Figure 8-8 shows a landscape character data example.
  • Page 113: Landscape Character Data Example

    "This information is subject to change without notice. This information is provided "as is" without either express or implied warranty. IntelliTech International, Inc. disclaims any and all warranties with regard to this information. Intel- liTech shall not be liable in any event for any special, indirect or consequential damages or any damages whatsoever re- sulting from loss of data, profits or use, for any reason or in any action, arising out of or in connection with the use or performance of this information.
  • Page 114: Section 9 Hp Pcl Graphics Commands

    Section 9 HP PCL Graphics Commands PCL provides several forms of graphics functionality. Included is the ability to build dot- per-bit raster images, create pre-defined patterns, fill or shade rectangular areas with pre- defined patterns, and print vector graphics using the HPGL/2 graphics language. NOTE: For detailed information on the commands described in this section, refer to the PCL5 printer language document set available...
  • Page 115: Star-Shaped Raster Image

    HP PCL Graphics Commands Figure 9-1 Star-Shaped Raster Image...
  • Page 116: Raster Graphics Resolution

    HP PCL Graphics Commands Raster Graphics Resolution Raster graphics can be printed at 300, 150, 100 or 75 dots-per-inch. This command designates the resolution of subsequent raster data transfers. ESC*t#R Decimal: 027 042 116 # 082 Hex: 1B 2A 74 # 52 #: 75 dots-per-inch 100 - 100 dots-per-inch 150 - 150 dots-per-inch...
  • Page 117: Raster Height Command

    HP PCL Graphics Commands This command specifies the orientation of the raster image on the logical page. A value of 0 means that a raster row prints in the positive X-direction of the PCL coordinate system. (The print direction translates the PCL coordinate system.) A value of 3 means that the raster graphics prints along the width of the physical page, regardless of the logical page orientation.
  • Page 118: Raster Width Command

    HP PCL Graphics Commands Raster Width Command ESC*r#S Decimal: 027 042 114 #..# 083 Hex: 1B 2A 72 #..# 53 #: width in pixels of the specified resolution Default = depends on the raster presentation mode setting 0: width = width of logical page – left graphics margin 3: width = dimension of logical page along paper length –...
  • Page 119: Raster Y Offset Command

    HP PCL Graphics Commands Raster Y Offset Command ESC*b#Y Decimal: 027 042 098 #..# 089 Hex: 1B 2A 62 #..# 59 # = number of raster lines of vertical movement Range = 0 - 32767 This command moves the cursor position vertically the specified number of raster lines from the current raster position in the raster area.
  • Page 120: Transfer Raster Data

    HP PCL Graphics Commands  delta row compression  adaptive compression The choice of compression methods affects both the amount of code needed to generate a raster graphics image and the efficiency with which the image is printed. Compressed data formats allow for efficient transfer of data from the host system to the printer.
  • Page 121: Raster Graphics Example

    HP PCL Graphics Commands RASTER GRAPHICS EXAMPLE To transfer a raster graphic image (see Figure 9-4) in the shape of an star, perform the following steps: Position the cursor: ESC*p300x400Y This moves the cursor to dot position (300, 400) within the PCL coordinate system.
  • Page 122: Example Of Raster Graphic Image Data

    HP PCL Graphics Commands Figure 9-4 Example of Raster Graphic Image Data...
  • Page 123: Fill Graphics

    9-10 HP PCL Graphics Commands This prints the star as shown in Figure 9-5. Figure 9-5 Example of Raster Graphic ImageTransfer FILL GRAPHICS PCL includes sequences for filling or shading rectangular areas with pre-defined patterns. Rectangular areas are printed in the orientation of the addressable area. An area's width extends in the positive X-direction of the PCL coordinate system;...
  • Page 124: Horizontal Rectangle Size (Dots)

    HP PCL Graphics Commands 9-11 Horizontal Rectangle Size (Dots) This horizontal rectangle size command specifies the rectangle width in dots. ESC*c#A Decimal: 027 042 099 # 065 Hex: 1B 2A 63 # 41 #: Number of dots The factory default horizontal rectangle size is 0. Vertical Rectangle Size This vertical rectangle size sequence specifies the rectangle height in decipoints.
  • Page 125: Area Fill (Pattern Id)

    9-12 HP PCL Graphics Commands Area Fill (Pattern ID) This sequence specifies the level of shading or type of pattern fill to be used when filling a rectangular area. ESC*c#G Decimal: 027 042 099 # 071 Hex: 1B 2A 63 # 47 The value field (#) identifies the level of shading or type of HP-defined pattern.
  • Page 126: Shading Levels

    HP PCL Graphics Commands 9-13 Figure 9-6 Shading Levels...
  • Page 127: Fill Patterns

    9-14 HP PCL Graphics Commands Figure 9-7 Fill Patterns...
  • Page 128: Fill Rectangle Area

    HP PCL Graphics Commands 9-15 Fill Rectangle Area This sequence fills a rectangular area of the specified width and height. ESC*c#P Decimal: 027 042 099 #..# 080 (#..# = 48 through 53) Hex: 1B 2A 63 #..# 50 (#..# = 30 through 35) #: 0 = Solid fill 1 = Erase (Solid white area fill) 2 = Shaded fill...
  • Page 129: Solid Fill Example

    9-16 HP PCL Graphics Commands Print the rule: ESC*c0P This example prints the following (see Figure 9-8): Figure 9-8 Solid Fill Example To print a 3- x 5-inch 25% shaded rectangle, perform the following steps. Position the cursor: ESC*p300x400Y This moves the cursor to dot position (300, 400) within the PCL coordinate system.
  • Page 130: Shaded Fill Example

    HP PCL Graphics Commands 9-17 This example prints the following (see Figure 9-9): Figure 9-9 Shaded Fill Example To print a 3- x 5-inch rectangular area filled with a horizontal line pattern, perform the following steps: Position the cursor: ESC*p300x400Y This moves the cursor to dot position (300, 400) within the PCL coordinate systems.
  • Page 131: Pcl Print Model

    9-18 HP PCL Graphics Commands Figure 9-10 Patterned Fill Example PCL PRINT MODEL The Print Model feature allows images and characters to be filled with any of the printer’s pre-defined shading or cross-hatched patterns. Images include any raster graphic, such as those described previously in this section (see “Raster Graphics”), a rectangular fill area (see “Fill Graphics”), or a character or characters selected from a font.
  • Page 132: Select Source Transparency Mode

    HP PCL Graphics Commands 9-19  source transparency mode Source transparency mode is the transparency or opaqueness of the source image’s white pixels (the “0” bits) as they are applied to the destination image. Setting the source transparency mode to 1 (opaque) applies the source image white pixels to the destination image;...
  • Page 133: Select Pattern Transparency Mode

    9-20 HP PCL Graphics Commands Select Pattern Transparency Mode ESC*v0O (transparent) Decimal 027 042 118 048 079 Hex: 1B 2A 76 30 43 ESC*v1O (opaque) Decimal 027 042 118 049 079 Hex: 1B 2A 76 31 43 This command sets the pattern’s transparency mode to transparent or opaque. A transparency mode of “0”...
  • Page 134: Hpgl/2 Plot Vertical Size

    HP PCL Graphics Commands 9-21 The horizontal HPGL/2 plot size determines the horizontal scaling factor used to fit the drawing into the PCL Picture Frame. For example, if the horizontal HPGL/2 plot size is specified as 12 inches and the PCL Picture Frame width is 4 inches, the horizontal scaling factor would be 3:1;...
  • Page 135: Picture Frame Horizontal Size (Decipoints)

    9-22 HP PCL Graphics Commands A parameter value of 0 (ESC*c0T) specifies that the picture frame anchor point should be set to the cursor position. Sending a cursor move command prior to sending this command places the picture frame anchor in the desired location. All parameter values other than zero are ignored, but if you do not send a Set Picture Frame Anchor Point command, the printer defaults the anchor point to the left edge of the logical page and the default top margin.
  • Page 136: Picture Frame Vertical Size (Decipoints)

    HP PCL Graphics Commands 9-23 If an HPGL/2 plot size is specified, the horizontal picture frame size is used to determine the horizontal scaling factor used for scaling the image to fit in the picture frame. Picture Frame Vertical Size (Decipoints) ESC*C#Y Decimal: 027 042 99 #..# 089...
  • Page 137: Enter Hpgl/2 Mode

    9-24 HP PCL Graphics Commands Enter HPGL/2 Mode ESC %#B Decimal: 027 037 ### 066 (### = 048 through 049) Hex: 1B 25 ## 42 (## = 30 through 31) #: 0 = Position pen at previous HPGL/2 pen position 1 = Position pen at current PCL cursor position This command causes the printer to interpret subsequent commands as HPGL/2 commands, instead of PCL language commands.
  • Page 138: Line Attributes (La)

    HP PCL Graphics Commands 9-25 Table 9-1 Line Type Command Parameters Parameter Format Functional Range Default line type (fixed or adaptive) clamped integer -8 to 8 solid line restores previous line type pattern length clamped real > 0 4% of the distance between scaling points P1 and P2 mode (relative or absolute)
  • Page 139: Number Of Pens (Np)

    9-26 HP PCL Graphics Commands Kind - Specifies the line attribute for which you are setting a value. Value - Defines the characteristics of the attribute specified by the kind parameter. Number of Pens (NP) NP [n;] n: 2, 4, or 8 This command is not supported in the IntelliBar M Series.
  • Page 140: Select Pen (Sp)

    HP PCL Graphics Commands 9-27 No parameters - Defaults type parameter to 0 (metric) and all pen widths to 0.35 mm. Type - Specifies how the width parameter of the pen width (PW) command is interpreted. 0: Metric. Interprets the pen width parameter in millimeters. Specifying type 0 defaults all pen widths to 0.35 mm.
  • Page 141: Symbol Mode (Sm)

    9-28 HP PCL Graphics Commands Symbol Mode (SM) SM character[;] or SM [;] This command draws the specified symbol at each X, Y coordinate point using the PA, PD, PE, PR, and PU commands. Use the SM command to create scattergrams, indicate points on geometric drawings, and differentiate data points on multiline graphs.
  • Page 142: Fill Type (Ft)

    HP PCL Graphics Commands 9-29 Fill Type (FT) FT fill type[,option1[,option2;]] or FT [;] This command selects the shading pattern used to fill polygons (FP), rectangles (RA or RR), wedges (WG), or characters (CF). Use the FT command to enhance drawings using solid fill, shaded fill, parallel lines (hatching), cross-hatch, patterned (raster) fill, or PCL user-defined patterns.
  • Page 143: Anchor (Ac)

    9-30 HP PCL Graphics Commands Anchor (AC) AC X,Y[;] or AC [;] This command positions the starting point of any fill pattern. Use AC to ensure that the selected fill pattern is positioned as expected within the figure. Table 9-9 Anchor Command Parameters Parameter Format Functional Range...
  • Page 144: User Defined Line Type (Ul)

    HP PCL Graphics Commands 9-31 Index - Specifies the index number of the pattern being defined. Eight patterns can exist concurrently. When you send RF with an index parameter only (Rfn), the corresponding pattern is defaulted to solid fill. Width, Height - Specifies the width and height (in pixels) of the pattern being defined. Pen number - Represents a pixel in the pattern being defined and indicates its color (black or white) 0: white...
  • Page 145: Screened Vectors (Sv)

    9-32 HP PCL Graphics Commands Gaps - Specifies alternate pen-down and pen-up stretches in the line type pattern; if gaps are numbered starting with 1, odd numbered gaps are pen-down moves, even numbered gaps are pen-up moves. The first gap is a pen-down move. Gap values are converted to percentages of the LT command’s pattern length parameter.
  • Page 146: Transparency Mode (Tr)

    HP PCL Graphics Commands 9-33 Transparency Mode (TR) TR [n][;] or TR [;] n: 0 - Transparency mode is off 1 - Transparency mode is on No parameter - Defaults to transparency mode = on. Equivalent to (TR1;). This command defines how the white areas of the source graphics image affect the destination graphics image.
  • Page 147: Vector Group Commands

    9-34 HP PCL Graphics Commands Vector Group Commands The HPGL/2 vector group commands described below enable you to achieve the following results in your programs  use absolute and relative coordinates when plotting  draw lines and arcs encode coordinates to increase your printer’s throughput. ...
  • Page 148: Arc Relative (Ar)

    HP PCL Graphics Commands 9-35 Arc Relative (AR) AR X sweep angle[, chord angle;] increment, incrementent, This command draws an arc using relative coordinates which starts at the current pen location and pivots around the current center point. Table 9-15 Arc Relative Command Parameters Parameter Format Functional Range...
  • Page 149: Plot Absolute (Pa)

    9-36 HP PCL Graphics Commands Plot Absolute (PA) PA X,Y [, ... ;] or PA[;] This command establishes absolute plotting and moves the pen to the specified absolute coordinates from the current pen position. Table 9-17 Plot Absolute Command Parameters Parameter Format Functional Range...
  • Page 150: Pen Down (Pd)

    HP PCL Graphics Commands 9-37 The printer interprets the parameters as follows: No parameters - Defaults to relative plotting mode for subsequent commands. X, Y coordinates - Specifies incremental moves relative to the current pen location. When you include more than one relative coordinate pair, the pen moves to each point in the order given (relative to the previous point) using the current pen up/down status.
  • Page 151: Relative Arc Three Point (Rt)

    9-38 HP PCL Graphics Commands Table 9-20 Pen Up Command Parameters Parameter Format Functional Range Default X, Y coordinates/increments currents units to 2 None This command emulates a pen plotter that must raise the pen to prevent drawing stray lines on the page.
  • Page 152: Polyline Encoded (Pe)

    HP PCL Graphics Commands 9-39 Polyline Encoded (PE) PE [flag[value]]coord_pair ... [flag[value]]coord_pair ; or PE; This command incorporates the PA, PR, PU, PD, and SP commands into an encrypted format that substantially decreases the size of your file and the time required for data transmission.
  • Page 153: Polygon Group Commands

    9-40 HP PCL Graphics Commands Table 9-23 Polyline Encoded Command Value Parameters Value Format Range pen number integer 0 to 1 number of fractional binary bits integer -26 to 26 X, Y coordinates - Specifies a coordinate pair encoded into a base 64 (default) or base 32 equivalent.
  • Page 154: Edge Rectangle Absolute (Ea)

    HP PCL Graphics Commands 9-41 Chord angle - Specifies the chord angle used to draw the arc. The default chord angle is 5 The chord angle specifies, in degrees, the maximum angle created when lines from each of the chord intersect the center point of the circle. The smaller the chord angle, the smoother the curve.
  • Page 155: Fill Rectangle Relative (Rr)

    9-42 HP PCL Graphics Commands The RA command defines and fills a rectangle using absolute X, Y coordinates and the current pen, current line, and current fill types. The RA command performs an automatic pen down. When command execution completes, the original pen location and up/down status are restored.
  • Page 156: Edge Rectangle Relative (Er)

    HP PCL Graphics Commands 9-43 Edge Rectangle Relative (ER) ER X,Y[;] This command defines and outlines a rectangle using relative coordinates (increments). Use the ER command when drawing charts or schematic diagrams that require rectangles. Table 9-28 Edge Rectangle Relative Command Parameters Parameter Format Functional Range...
  • Page 157: Edge Wedge (Ew)

    9-44 HP PCL Graphics Commands The only difference between the WG command and the EW (edge wedge) command is that the WG command produces a filled wedge, and the EW command produces an outlined wedge. Edge Wedge (EW) This command outlines any wedge. Use the EW command to draw sections of pie charts. EW radius,start angle,sweep angle[,chord angle;] Table 9-30 Edge Wedge Command Parameters Parameter...
  • Page 158: Fill Polygon (Fp)

    HP PCL Graphics Commands 9-45 No parameters - Clears the polygon buffer and enters polygon mode. Equivalent to (PM0). Polygon definition - Defines polygon mode status as follows: 0: Clears the polygon buffer and enters polygon mode 1: Closes the current polygon (or subpolygon) and remains in polygon mode; all commands sent following PM1 but before PM2 (or the next PM1) are stored as one subpolygon.
  • Page 159: Edge Polygon (Ep)

    9-46 HP PCL Graphics Commands Edge Polygon (EP) This command outlines the polygon currently stored in the polygon buffer. Use the EP command to edge polygons defined in polygon mode or with fill rectangle and wedge commands (RA, RR, and WG). EP [;] The EP command fills any polygon that is currently in the polygon buffer.
  • Page 160: Input Window (Iw)

    HP PCL Graphics Commands 9-47 Table 9-33 Scale Command Parameters Parameter Format Functional Range Default real to 2 None real to 2 None type clamped integer 0, 1, or 2 left clamped real 0 to 100% bottom clamped real 0 to 100% real to 2 None...
  • Page 161: Input Relative P1 And P2 (Ir)

    9-48 HP PCL Graphics Commands X, Y coordinates - Specifies the opposite, diagonal corners of the window area, usually the lower left (LL) and upper right (UR) corners. Coordinates are interpreted in the current units: as user-units when scaling is on; as plotter units when scaling is off. When scaling is on, subsequent changes to P1 and P2 move the window in relation to the physical page, but keep the same user coordinate locations.
  • Page 162: Default Values (Df)

    HP PCL Graphics Commands 9-49 Default Values (DF) This command returns the printer’s HPGL/2 settings to the factory default paremters. Use the DF command to return the printer to a known state while maintaining the current locations of P1 and P2 (unlike the IN command described next in this section). When you use the DF command at the beginning of a command sequence, graphics parameters such as character size, slant, or scaling are defaulted.
  • Page 163: Initialize (In)

    9-50 HP PCL Graphics Commands Table 9-36 Default Settings (cont’d) Function Command Default Condition Polygon Mode Polygon buffer cleared Raster Fill Solid black Scalable or Bitmap Fonts Scalable fonts only Scale User-unit scaling off Screened Vectors No screening Standard Font Definition Stick Font (11.5 point, 9 characters per inch, upright, medium)
  • Page 164: Rotate Coordinate System (Ro)

    HP PCL Graphics Commands 9-51 The IN command sets the printer to the same conditions as the default (DF) command, plus the following:  raises the pen (PU)  returns the pen location to the lower-left corner of the PCL Picture Frame (PA0,0) ...
  • Page 165: Advance Full Page (Pg)

    9-52 HP PCL Graphics Commands Advance Full Page (PG) This HPGL/2 command is ignored by the printer since it could cause undesirable results when importing plots. A page eject can be accomplished only from the PCL printer language mode. The following PCL commands cause a conditional page eject, meaning that a page is ejected if there is any printable data in the print buffer: ...
  • Page 166: Replot (Rp)

    IntelliTech International, Inc. disclaims any and all warranties with regard to this information. IntelliTech shall not be liable in any event for any special, indirect or consequential damages or any damages whatsoever resulting from loss of data, profits or use, for any reason or in any action, arising out of or in connection with the use or...
  • Page 167: Section 10 Hp Pcl Macro Commands And Programming Hints

    Section 10 HP PCL Macro Commands and Programming Hints Your printer uses several commands during a typical print operation. During some opera- tions the same print routine may be repeated several times. PCL provides a macro feature so you can reduce the number of commands sent to the printer. A macro is a collection of escape sequences, control codes, and data downloaded to the printer that can be initiated through a single command.
  • Page 168: Temporary/Permanent Macros

    10-2 HP PCL Macro Commands and Programming Hints When a macro is executed, the macro starts its routine using the modified print environ- ment. Any parameter changes made during the execution are recorded in the modified print environment. The changes remain after the macro routine has finished execution. When a macro is called, the macro starts its routine using the modified print environment.
  • Page 169: Macro Id

    HP PCL Macro Commands and Programming Hints 10-3 NOTE: Temporary and permanent macros are deleted from the printer memory any time power to the printer is turned off. MACRO ID The macro ID sequence specifies an identification number for use in subsequent macro routines.
  • Page 170: Macro Example

    10-4 HP PCL Macro Commands and Programming Hints Other than call and execute, you can not place macro control statements within a macro. You cannot use a printer reset command in a macro. Do not place font management commands in a macro. You cannot download, delete, or make a font permanent in a macro.
  • Page 171: Programming Hints

    HP PCL Macro Commands and Programming Hints 10-5 PROGRAMMING HINTS The following paragraphs provide information for use during PCL software development. End of Line Wrap ESC&s0C (enabled) Decimal: 027 038 115 048 067 Hex: 1B 26 73 30 43 ESC&s1C (disabled) Decimal: 027 038 115 049 067 Hex:...
  • Page 172 "This information is subject to change without notice. This information is provided "as is" without either express or implied warranty. IntelliTech International, Inc. disclaims any and all warranties with regard to this information. Intel- liTech shall not be liable in any event for any special, indirect or consequential damages or any damages whatsoever re- sulting from loss of data, profits or use, for any reason or in any action, arising out of or in connection with the use or performance of this information.
  • Page 173 A specific SAP printer Device Type provides the interface between the SAP Spooler and a particular printer. IntelliTech has developed SAP Device Types for IntelliBar M Series printers that provide bar code label printing capability for a wide range of media.
  • Page 174 IntelliBar M Series SAP Device Type Commands 11-2 INTELLIBAR M SERIES ABAP LIST AND SAPSCRIPT FORMAT TYPES Eight ABAP List Format Types for the IntelliBar M Series Device Types are directly inherited from the HPLJIIID Device Type. All SAPScript Format Types for IntelliBar M Series Device Types are customized. The printer initialization (Default) Format Types are described in Table 11-1 below: Table 11-1 IntelliBar M Series Initialization Format Types Format Type...
  • Page 175: Sap Standard Bar Code Print Controls

    IntelliBar M Series SAP Device Type Commands 11-3 INCH8 2400 (= 8 inches/203 mm) LEGAL 4200 (= 14 inches/356 mm) LETTER 3300 (= 11 inches/279 mm) LINE_21 1050 (= 3.5 inches/89 mm) LINE_22 1100 (= 3.67 inches/93 mm) Table 11-3 IntelliBar M Series Device Type Default Print Speed Command Values IntelliBar M Series Default Print Speed Command Device Type...
  • Page 176 IntelliBar M Series SAP Device Type Commands 11-4 RSPOS Reservation item, Technical bar code type: Code 128 RUECKNR Completion confirmation number, Technical bar code type: Code 128 NOTE: SAP specifies the maximal data lengths for the twelve HPJLIIID bar codes. For example, for the ARTNR Command SAP specifies the length parameters as a minimum of 1 symbol and maximum of 10 symbols.
  • Page 177 IntelliBar M Series SAP Device Type Commands 11-5 INTELLIBAR M SERIES SAP DEVICE TYPE PRINT CONTROL COMMANDS In addition to the standard HP PCL5 commands supported by the IntelliBar M Series ZITC_XXX Device Types, IntelliBar M Series printers use custom PCL Command extensions that enable thermal label printing functions and provide access to internal printer resident bar code fonts.
  • Page 178 IntelliBar M Series SAP Device Type Commands 11-6 ZPS07 Set Print Speed = 4" (100 mm)/sec ESC!p100S ZPS08 Set Print Speed = 5" (120 mm)/sec ESC!p120S ZPS09 Set Print Speed = 6" (150 mm)/sec ESC!p150S ZPS10 Set Print Speed = 8" (200 mm)/sec ESC!p200S ZPS11 Set Print Speed = 10"...
  • Page 179 IntelliBar M Series SAP Device Type Commands 11-7 Setting Print and Cut Frequency NOTE: The Set Print and Cut command allowable range = 1 to 99. ZPC01 Print and Cut frequency = 1 ESC!n1C ZPC02 Print and Cut frequency = 2 ESC!n2C through through...
  • Page 180 IntelliBar M Series SAP Device Type Commands 11-8 Setting Bar Code Width in Dots NOTE: 1 Dot = 1/300 inch. The Set Bar Code Width command allowable range = 1 to 6 Dots. ZBCW1 Set Bar Code Width (Dots) = 1 ESC!b1N ZBCW2 Set Bar Code Width (Dots) = 2 Default...
  • Page 181 IntelliBar M Series SAP Device Type Commands 11-9 Setting Optional Check Digit Calculation ZCOC0 Calculate Optional Check Digit, 0 Disable, Default ESC!b0K ZCOC1 Calculate Optional Check Digit, 1 Enable ESC!b1K ZCOC2 Calculate Optional Check Digit, 2 Enable optional second check ESC!b2K digit Setting Print Text String Characters as Bar Code...
  • Page 182 IntelliBar M Series SAP Device Type Commands 11-10 Setting PDF417 Error Correction Code as a Percentage of Data Words NOTE: The Set PDF417 Error Correction Code as a Percentage of Data Words command allowable range = 0 through 400. Z7000 PDF417: ECC Level as a Percentage = 0 ESC!b10P Z7001...
  • Page 183 IntelliBar M Series SAP Device Type Commands 11-11 Setting PDF417 Y Scale NOTE: The Set PDF417 Y Scale command allowable range = 1 through 10. Z17Y1 PDF417: Set Y Scale, 1 ESC!b1Y Z17Y2 PDF417: Set Y Scale, 2 ESC!b2Y Z17Y3 PDF417: Set Y Scale, 3, Default ESC!b3Y Z17Y4...
  • Page 184: Index

    Index push/pop control, 5-8 —B— vertical control (control codes), 5-7 vertical control (decipoints), 5-6 Bar code generation example, 2-14 vertical control (dots), 5-6 —C— vertical control (rows), 5-5 Character descriptor and data format, 8-12 —E— character data, 8-15 Escape sequences, 2-1 character height, 8-14 character width, 8-14 —F—...
  • Page 185 Index-2 height, 8-8 HPGL/2 font selection, 6-16 height extended, 8-10 absolute character size, 6-21 orientation, 8-5 absolute direction, 6-19 pitch, 8-7 alternate font definition, 6-26 pitch extended, 8-10 character fill mode, 6-27 serif style, 8-9 character plot, 6-30 spacing, 8-5 character slant, 6-23 stroke weight, 8-8 define label terminator, 6-30...
  • Page 186 Index-3 user defined line type, 9-31 bar code height, 2-7, 2-8 bar code ratio, 2-8 —M— bar code subset mode, 2-8 bar code type, 2-7 Macro commands and programming hints, bar code width, 2-8 10-1 calculate optional check digit, 2-10 controlling a macro, 10-1 PDF417, 2-11 creating a macro, 10-1...
  • Page 187 Index-4 —V— positioning with bar code, 2-9 printing in notched bar code, 2-10 Variable form length, 2-2 Programming hints, 10-5 disabling, 2-2, 2-4 display functions mode, 10-5 setting, 2-2 end of line wrap, 10-5 Vector graphics, 9-20 HPGL/2 plot horizontal size, 9-20 —R—...

This manual is also suitable for:

Intellibar m412Intellibar m88

Table of Contents