HP PCL Code Samples

14.0HP PCL Code Samples

The following pages contain PCL code samples that are intended to address some of the most commonly asked support questions. Key among these questions are coding general page for- matting, 4-plane color graphics, and using Configure Raster Data (CRD).

14.1Page Formatting Program Example

The following example is old, but covers the essential page formatting commands. While there is no one best way to write a page formatting program, you can use this example as a starting point. When performed in the order given, the set of commands prints the output shown in the figure at the end of the example.

The example assumes the following formatting objectives:

 

4

Select US Letter size paper

 

 

 

4

Select portrait page orientation

 

 

 

4

Set 3/4 in. top, left, and right margins

 

 

 

4

Set 11/4 in. bottom margin

 

 

 

4

Establish a header centered approximately in the middle of the top margin

 

4

Establish a footer 5/8 inch from the bottom of the paper

 

4

Set line spacing at 8 lpi

 

 

 

 

4

Use Letter Gothic and CG Times typefaces

 

 

 

 

 

 

 

 

 

!

 

No assumption is made as to the status of the configuration switches.

 

 

 

 

 

Command Line,

 

 

 

 

 

Action

 

Command

Comment

 

 

 

 

 

 

 

 

 

 

Reset Printer

 

Esc E

Returns the printer to its default

 

 

 

 

 

 

 

settings.

 

 

* Set Paper Size

 

Esc & l 2 A

Selects U.S. Letter size paper 8 1/2

 

 

 

 

 

 

 

X 11 in.

 

 

* Set Portrait

 

Esc & l 0 O

 

 

 

Orientation

 

 

 

 

 

Enable Perforation

 

Esc & l 1 L

Default top margin is 1/2 in.

 

 

Skip Mode

 

 

 

 

 

Set Line Spacing

 

Esc & l 8 D

8 lpi is used for page length and

 

 

 

 

 

 

 

margin calculations.

 

 

Specify Page Length

 

Esc & l 88 P

11 in. X 8 lpi = 88 lines

 

 

Set Top Margin

 

Esc & l 6 E

3/4 in. margin X 8 lpi = 6 lines

 

 

 

 

 

 

 

 

 

116

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

Page 116
Image 116
HP 800, 700 manual HP PCL Code Samples, Formatting Program Example, 116

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.