HP 700 HP PCL Commands, Control Codes and Special Character Codes, Testing Commands, Print Modes

Page 25

HP PCL Commands

10.0HP PCL Commands

10.1Control Codes and Special Character Codes

The following commands initiate printer control functions:

10.1.1Escape

Provides supplementary control of printer functions. The escape character itself is a prefix for the string of one or more characters that follow. Once an escape character is received by the printer, normal text processing is suspended, and the contents of the print data stream are interpreted as a printer command, until the command has been activated by a command termi- nation character, or the escape sequence has been determined to be invalid.

10.2Testing Commands

Transparent Data Mode, and Display Functions modes (both of them) are used for testing pur- poses, to allow you to print the actual setup strings rather than having HP PCL actually inter- pret and execute them.

You can use either Print Modes -or- the Display Functions Mode On and Off commands - whichever is more intuitive in your programming environment.

10.3Print Modes

10.3.1Transparent Data Mode

TABLE 2.

 

 

 

 

 

Transparent Data Mode - Esc & p # X

 

 

Value

 

DJ600

DJ610C

DJ660C

DJ670C

DJ680C

DJ690C

DJ695C

DJ810C

DJ830C

DJ850C

DJ870C

DJ880C

DJ890C

DJ895C

DJ970C

HP2000C

 

EFFECT

#

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 . . n

 

4

4

4

4

4

4

4

4

4

4

4

4

4

4

4

4

 

Prints all data rather than execut-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ing it.

Default

 

n/a

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Range

 

0 to 32767 - command is ignored for out of range values

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Prints the graphic symbols associated with hidden control code characters.

All subsequent character codes, for the specified number of bytes, are printed with the current font attributes. The parser ignores all control codes, including the Esc character. Instead, the code’s graphic symbol in the current symbol set is printed. For example, in the PC-8 symbol set, Esc is printed as a left arrow.

HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide

25

Image 25
Contents Hewlett-Packard Vancouver Site Printing History Preface and Printing HistoryWhich printers are covered by this guide1 About this Developer’s GuideSpecial Note HP DeskJet 710C, 720C and 820C Series printers Special NotesTable of Contents HP PCL Commands Fonts HP LaserJet Bitmap Character Definition Printer Commands How This Developer’s Guide Works SettingLength set to 66 lines Length is set, in numberCommand Usage Table E Command Summary DCommand Options F Command Option Recognition Grid GImportant Point Detailed Command DescriptionHP PCL Commands What are Printer Commands?Introduction to HP PCL History of HP PCL Printer LanguageTwo-Character Escape Sequences Syntax of Escape SequencesParameterized Escape Sequences Esc & l 1 O Esc Logical Page, Physical Text AreaCurrent Active Position CAP LayoutCAP Reference Point CAP PositionPrint Environment Merged Text and Graphics Priority of Feature Set Commands Follow SpecificationsProgramming Hints Leverage from Previous ProgramsTime Savers Priority of CommandsProgramming Hints Testing Commands HP PCL CommandsControl Codes and Special Character Codes Print ModesDisplay Functions Mode OFF Display Functions Mode onDisplay Functions turned on Display Functions turned offText Enhancements CR = CR, LF LF = LF FF = FF CR = CR LF = LF FF = FFCR = CR LF = CR, LF FF = CR = CR, LF LF = CR, LF FFDisables End-of-Line Wrap Enables End-of-Line WrapEnd-of-Line Wrap Job Control Reset Esc EPrinter Control Gray Balance Default ModesGray Balance Dry Timer Defaults Dry TimerPrint Quality EconoFast mode selectedNormal quality selected Best quality selectedBond paper Plain paperSpecial paper HP Premium Inkjet PaperHP PCL Commands Self-Test Esc z Printer DiagnosticsLength Line Values ControlSize set to that indicated SizeBy value index in the following TablesValue Description Print current page source is Load z-fold media bannersUnchanged Load from trayPortrait OrientationLandscape Reverse PortraitNumber of 1/120 inch Horizontal Motion IndexIncrements Number of 1/48 inch increments Vertical Motion IndexBetween rows Out of range valuesSets the number of lines printed Line SpacingPer inch Clear Horizontal MarginsSets the left margin to the left Left MarginEdge of the specified column Right MarginTop Margin Lines-per-inch settingTop margin is set to specified Number of lines at the currentEnables perforation skip mode Disables perforation skip modeSets length of the text area, Lines, from the top marginHP PCL Commands Backspace Horizontal Positioning CommandsCarriage Return SpaceHorizontal Tab FormfeedMoves CAP horizontally by Move CAP Horizontal DecipointsSpecified number of decipoints InchLimit Specified number of columnsSpecified number of HP PCL UnitsHP PCL Commands Move CAP Vertical Rows Vertical Positioning CommandsMoves CAP to the same Column position on a new lineMoves CAP to a new position Move CAP Vertical DecipointsAlong the vertical axis Moves CAP specified number Move CAP Vertical HP PCL UnitsHP PCL units along the Y AxisFont Selection Font Symbol SetFont Selection by Attribute Symbol Set Name TIS TAPCI23 Proportional spacing Fixed spacingInter character spacing for Current font is setHeight for current font is set Font HeightFont Style Specified characteristics areApplied to font style request Matching Algorithm Ultra thin Book or text weightExtra thin ThinFont with indicated ID is Font Selection by IDSelected Downloading Fonts Font ID Esc * c # DDownload Font Download Font Esc s # W font definitionDownload Character Character CodePermanent, and soft Delete all fonts tempDelete all temporary fonts Temp, permanent, and softCommands Locked Out of Raster Mode Raster ModeCommands Allowed in Raster Mode Raster GraphicsCommand processing Printer returns to text modeStart graphics at logical Left boundary current verticalGraphics data printed at 100 dpi Graphics data printed at 75 dpiGraphics data printed at 150 dpi Graphics data printed at 300 dpiSource Raster Width Current resolutionaRaster region width is set to Specified number of pixels atCursor is moved specified OffsetNumber of raster lines of vertical MovementSpecified number of bytes Raster Data TransferGraphics data for a single plane Data is set to the printer.Following specified number Transfer Raster by Row/BlockData bytes sent to the printer as DataRaster Compression Has precedence if it is met before the literal run count Method 2 Tagged Image File Format Encoding Tiff revisionMethod 3 Delta Row Encoding Replacement count 1 Left offset from the current byte ODelta ROW Example Row 1 Esc * b 3 m 2 W 00000001 Method 9 Compressed Replacement Delta Row EncodingRow 2 Esc * b 2 W Row 3 Esc * b 5 W 000000000000111100100010101010101010Control Bit = Control BitHP PCL Commands Single plane K palette ColorPlanes, device CMY palette Planes, device RGB paletteWhite no ink Black Black/Yellow Black/Magenta Specified by the given index Foreground ColorCurrent palette Planes per Row Index Color Planes per Row Index Color Printed Standard Bitmap Font Definition FontsFormat Resolution-Specified Bitmap Font Definition Font Descriptor Size Uint Symbol Set Type UbyteDescriptor Format Ubyte Style MSB Uint Font Type UbyteCell Width Uint Baseline Position UintCell Height Uint Orientation UbyteSpacing Bool Symbol Set UintCharacter Set UINT16 Pitch UintHeight Uint Stroke Weight SbyteXHeight Uint Width Type SbyteTypeface Family Value Typeface LSB/MSB UbyteQuality Serif Style UbyteUnderline Position Sbyte PlacementUnderline Thickness Ubyte Text Height UintLast Code/Number of Chars Uint First Code UintPitch Extended Ubyte Height Extended UbyteCap Height Uint Resolution UintFont Number Uint Font Name ASC16Font Scaling Technology CopyrightSegment Size 102Resolution UINT16 Bitmap Resolution Segment103 Character Enhancement Segment Stroke Weight UINT32Style UINT32 104105 Sizing UINT16Full-Width-Space Character Code UINT16 Dual-Pitch-Space Char SegmentHalf-Width-Space Character Code 106Format Ubyte HP LaserJet Bitmap Character Definition107 Descriptor Size Ubyte Continuation BoolClass Ubyte 108109 Class 2 Compressed Bitmap Character Data 110 Top Offset Sint Left Offset SintCharacter Width Uint Character Height UintCharacter Data Delta X Sint112 Esc & l # H Banner Printing113 Margins Command SequenceMoving to a New Logical Unloading Continuous MediaPower-Off with Continuous Media Power-On with Continuous MediaSample HP PCL for a Banner Print Job Printing Cutsheet with Z-Fold MediaFormatting Program Example HP PCL Code Samples116 117 118 Commands Sent to Printer119 14.3 3-Plane Color Graphics120 14.4 4-Plane Color Graphics121 122 Printer Commands123 HP Developer Exchange Other Resources for AssistanceComments & Feedback 124
Related manuals
Manual 246 pages 32.59 Kb Manual 34 pages 38.92 Kb Manual 222 pages 2.69 Kb Manual 40 pages 59.65 Kb Manual 48 pages 4.46 Kb Manual 204 pages 53.59 Kb Manual 2 pages 13.44 Kb

800, 700 specifications

The HP 700 is a noteworthy addition to HP's lineup of enterprise-level printers, designed specifically to meet the demands of small to medium-sized businesses. With an emphasis on speed, efficiency, and high-quality printing, the HP 700 series has carved a niche for itself in the competitive printing market.

One of the standout features of the HP 700 is its impressive print speed, which can reach up to 40 pages per minute. This rapid output ensures that businesses can keep up with their demanding workloads without sacrificing quality. The printer also offers a fast first-page-out time, allowing users to access their prints more quickly, which is especially beneficial in busy office environments.

Connectivity is another important aspect of the HP 700 series. The printer supports multiple connectivity options, including USB, Ethernet, and Wi-Fi, allowing for versatile integration into existing office networks. The inclusion of mobile printing capabilities enhances user experience; employees can print directly from their smartphones or tablets using HP's Mobile Print Solutions, making it easier to meet on-the-go printing needs.

The HP 700 is equipped with advanced security features, such as secure boot and firmware integrity checking, ensuring that sensitive documents remain protected against unauthorized access. Additionally, it includes features like PIN printing, which provides an extra layer of security by requiring users to enter a PIN before their documents are released for printing.

In terms of sustainability, the HP 700 is designed with energy efficiency in mind. It employs HP’s EcoSmart Black Toner technology, which not only delivers exceptional print quality but also contributes to lower energy consumption and reduced environmental impact. The printer is also compatible with HP's Cartridge Recycling program, allowing businesses to responsibly dispose of used toner cartridges.

The print resolution of the HP 700 series is another strong selling point, offering up to 1200 x 1200 dpi. This high resolution ensures that text and images come out crisp and clear, making it suitable for a wide range of applications, from professional documents to vibrant marketing materials.

In summary, the HP 700 series combines high-speed printing, versatile connectivity, robust security features, and energy efficiency, all while delivering exceptional print quality. These attributes make it an ideal choice for businesses looking to enhance their productivity and streamline their printing processes. Whether for day-to-day operations or specialized tasks, the HP 700 stands out as a reliable and efficient printing solution.