Giter Site home page Giter Site logo

pcl-parser's Introduction

A parser for the Printer Command Language version 5.


PCL5 has been created by Hewlett-Packard for the use in their line of
raster and vector printers. Since then many other printer vendors started
using it in their products.

PCL is a documented format, but implementations often differ in
many subtle (and not so subtle) details of how the format is to be
interpreted, so that parsing PCL correctly is a challenge. For example,
even among printers coming from a single vendor there are substantial
differences in interpretation of the same commands between dot-matrix,
laser and ink-jet printers, and between specific models in each category.

The following reference materials were used to implement this parser:

http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13210/bpl13210.pdf
http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13211/bpl13211.pdf
http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13208/bpl13208.pdf
http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13207/bpl13207.pdf

This package provides a basic interpreter that can be easily extended or
modified to cover any particular variant of the language. The original
purpose of this parser was text extraction, so the handling of details of
formatting and graphics is less reliable.

PCL format allows for adding extensions, e.g. sections in other printer
languages. Some of the commonly used ones are PJL (Print Job Language)
and HPGL (HP Graphics Language). This package offers a limited support
for parsing these languages.

pcl-parser's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.