Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Printer Command Language

From Wikipedia, the free encyclopedia
Page description language
"PCL 5" redirects here. For the PTSD screening test, seePCL-5.
This article includes a list ofgeneral references, butit lacks sufficient correspondinginline citations. Please help toimprove this article byintroducing more precise citations.(June 2008) (Learn how and when to remove this message)
This articlemay be in need of reorganization to comply with Wikipedia'slayout guidelines. Please help byediting the article to make improvements to the overall structure.(November 2015) (Learn how and when to remove this message)
Printer Command Language
Internet media type
application/vnd.hp-PCL

Printer Command Language, more commonly referred to asPCL, is apage description language (PDL) developed byHewlett-Packard as aprinter protocol and has become ade factoindustry standard. Originally developed for earlyinkjet printers in 1984, PCL has been released in varying levels forthermal,matrix, andpage printers.HP-GL/2 andPJL are supported by later versions of PCL.[1]

PCL is occasionally and incorrectly said to be an abbreviation forPrinter Control Language which actually is another term forpage description language.

PCL levels 1 through 5 overview

[edit]

PCL levels 1 through 5e/5c are command-based languages using control sequences that are processed and interpreted in the order they are received. At a consumer level, PCL data streams are generated by a print driver. PCL output can also be easily generated by custom applications.

  • PCL 1 was introduced in 1984 on theHP ThinkJet 2225 and provides basic text and graphics printing with a maximum resolution of 150 dpi (dots per inch).
  • PCL 1+ was released with the HP QuietJet 2227.
  • PCL 2 added Electronic Data Processing/Transaction functionality.
  • PCL 3 was introduced in 1984 with the original HPLaserJet.[2] This added support forbitmap fonts and increased the maximum resolution to 300 dpi. Other products with PCL 3 support were the HPDeskJet ink jet printer, HP 2932 series matrix printers and HP RuggedWriter 2235 matrix printers. PCL 3 is still in use on severalimpact printers which replaced the obsolete HP models.
  • PCL 3+ (mono) andPCL 3c+ (color) are used on later HP DeskJet and HP PhotoSmart products.
  • PCL 3GUI is used in the HP DesignJet, some DeskJet series printers, and OfficeJet series printers. It uses a compressedraster format that is not compatible with standard PCL 3.
  • PCL 4 was introduced on the HP LaserJet Plus[2] in 1985, addingmacros, larger bitmapped fonts and graphics. PCL 4 is still popular for many applications.
  • PCL 5 was released on the HP LaserJet III[2] in March 1990, addingIntellifont font scaling (developed byCompugraphic, now part ofAgfa), outline fonts and HP-GL/2 (vector) graphics.
  • PCL 5e (PCL 5 enhanced) was released on the HP LaserJet 4[2] in October 1992 and added bi-directional communication between the printer and the PC andWindows fonts.
  • PCL 5c introduced color support on the HP PaintJet 300XL and HP Color LaserJet[2] in 1992.

PCL 6 overview

[edit]

HP introducedPCL 6 around 1995 with the HP LaserJet 5 printers.[3]It consists of:

  • PCL 6 "Enhanced": An object-orientedPDL optimized for printing fromGUI interfaces such asWindows and compressed to optimize throughput. Formerly known asPCL XL orPXL.
  • PCL 6 Standard: Equivalent to PCL 5e or PCL 5c, intended to provide backward compatibility.
  • Font synthesis: Provides scalable fonts, font management and storage of forms and fonts.

PCL 6 "Enhanced" architecture was altered to be more modular and to be more easily modified for future HP printers, that it prints complex graphics faster, that it reduces network traffic, and has higher quality. In early implementations, HP did not market PCL 6 well[citation needed], thus causing some confusion in terminology. PCL XL was renamed to PCL 6 Enhanced, but many third-party products still use the older term.

Some products may claim to be PCL 6 compliant, but may not include the PCL 5 backward compatibility. PCL 6 Enhanced is primarily generated by theprinter drivers underWindows andCUPS. Due to its structure and compression methodology, custom applications rarely use it directly.

PCL 6 Enhanced is a stack-based, object-oriented protocol, similar toPostScript. However, it is restricted to binary encoding as opposed to PostScript, which can be sent either as binary code or as plain text. The plain-text commands and code examples shown in the PCL programming documentation are meant to be compiled with a utility like HP's JetASM before being sent to a printer.

PCL 6 Enhanced is designed to match the drawing model ofWindows GDI. In this way, the Windows printer driver simply passes through GDI commands with very little modification, leading to faster return-to-application times. Microsoft has extended this concept with its next-generationXPS format, and printer implementations of XPS are being developed. This is not a new idea: it is comparable withDisplay Postscript and Apple's Quartz, and is in contrast to "GDI Printers" where a compressed bitmap is sent to the printer.

PCL 6 class revisions

[edit]

Class 1.1

[edit]
  • Draw tools: Support drawing lines, arcs/ellipses/chords, (rounded) rectangles, polygons,Bézier paths, clipped paths, raster images, scanlines, raster operations.
  • Color handling: Support 1/4/8-bit palettes, RGB/grey color space. Support custom halftone patterns (max 256 patterns).
  • Compression: SupportsRLE.
  • Units of measurement: Inch, millimeter, tenth of millimeter.
  • Paper handling: Support custom or predefined sets of paper size, including common Letter, Legal, A4, etc. Can choose paper from manual feed, trays, cassettes. Paper can be duplexed horizontally or vertically. Paper can be oriented in portrait, landscape, or 180 degree rotation of the former two.
  • Font: Supports bitmap or TrueType fonts, 8 or 16-bit code points. Choosing character set uses different symbol set code from PCL 5. When bitmap font is used, many scaling commands are unavailable. When TrueType font is used, variable length descriptors, continuation blocks are not supported. Outline font can be rotated, scaled, or sheared.

Class 2.0

[edit]
  • Compression: AddedJPEG compression. A Proprietary variant of JPEG-like compression optimized for integer hardware called JetReady is used in a few HP Color Laserjet models (at the time of writing, 3 models, CLJ 3500, 3550, 3600). Those models require Class 3.0 inputs.
  • Paper handling: Media can redirected to different output bins (up to 256). Added A6 and Japanese B6 preset media sizes. Added Third cassette preset, 248 external tray media sources.
  • Font: Text can be written vertically.

Class 2.1

[edit]
  • Color handling: Added Color matching feature.
  • Compression: Added Delta Row.
  • Paper handling: Orientation, media size are optional when declaring a new page. Added B5, JIS 8K, JIS 16K, JIS Exec paper sizes.

Class 2.2

[edit]
  • Compression: AddedJFIF.

Class 3.0

[edit]
  • Color handling: Allow using different halftone settings for vector or raster graphics, text. Supports adaptive halftoning.
  • Protocol: Supports PCL passthrough, allowing PCL 5 features to be used by PCL 6 streams. However, some PCL 6 states are not preserved when using this feature.
  • Font: Supports PCL fonts.

JetReady printers (CLJ 3500/3550/3600) use undocumented extensions but otherwise mandate Class 3.0 inputs.

PJL overview

[edit]
Main article:Printer Job Language

PJL (Printer Job Language) was introduced on the HP LaserJet IIIsi. PJL adds job level controls, such as printer language switching, job separation, environment commands, status feedback, device attendance and file system commands.

See also

[edit]

References

[edit]
  1. ^PCL 5 Printer Language Technical Reference Manual (1st ed.).Hewlett-Packard Company. September 1990. HP Part No. 33459-90903.
  2. ^abcdeHewlett-Packard Co. (2013-10-29)."HP Support document - HP Support Center".Hewlett-Packard. Archived fromthe original on 2005-11-27. Retrieved2014-03-10.
  3. ^"HP Color LaserJet and LaserJet Series Printers - History of Printer Command Language (PCL) - bpl04568 - HP Business Support Center".Hewlett-Packard. 2005-12-13. Archived fromthe original on 2005-11-27. Retrieved2012-07-06.

Further reading

[edit]

External links

[edit]
Applications and utilities
Database
File systems and formats
Operating systems and environments
Protocols and languages
  • Asterisk (*) denotes software continued byHP Inc.
  • Double asterisk (**) denotes software continued byHewlett Packard Enterprise
  • Dagger (†) denotes software divested and sold off
  • Double dagger (‡) denotes third-party software
Retrieved from "https://en.wikipedia.org/w/index.php?title=Printer_Command_Language&oldid=1304246422"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp