Heart-Profit ERP

Heart-Profit Boards => Printerdrivers => Topic started by: mdekraa on March 30, 2007, 12:23:25 pm



Title: PCL 5 standaard
Post by: mdekraa on March 30, 2007, 12:23:25 pm
Voor wie informatie zoekt over de PCL en Postscript programmering heb ik hieronder een lijst met handige links die ik zelf ook gebruik. links eerlijk gestolen vanaf : http://www.maths.usyd.edu.au/u/psz/ps.html

Zoek je puur de PCL5 commando's om aan een printerdriver te werken raad ik het rood gemarkeerde document aan.

PostScript language references
Red Book, Adobe's Postscript Language Reference Manual
912 pages, 7.6MB, from http://www.adobe.com/print/postscript/pdfs/PLRM.pdf; also available as http://partners.adobe.com/asn/developer/PDFS/TN/PLRM.pdf.

Blue Book, Adobe's Postscript Language Tutorial and Cookbook
242 pages, 0.9MB, from http://www-cdf.fnal.gov/offline/PostScript/BLUEBOOK.PDF.

Green Book, Postscript Language Program Design
228 pages, 0.9MB, from http://www-cdf.fnal.gov/offline/PostScript/GREENBK.PDF.

Book Thinking in Postscript
239 pages, 0.8MB, from http://www.rightbrain.com/download/books/ThinkingInPostScript.pdf (cf. http://www.rightbrain.com/rightbrain.shtml).

Collection of PostScript and ghostscript resources
From http://www.GeoCities.com/SiliconValley/5682/postscript.html.


--------------------------------------------------------------------------------

PJL and PCL references
HP Color LaserJet and LaserJet Series Printers - History of Printer Command Language (PCL) http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=bpl04568 mentions:
HP PCL/PJL Reference - PCL 5 Comparison Guide
340 pages, 17.7MB, from http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13206/bpl13206.pdf
HP PCL/PJL Reference - PCL 5 Comparison Guide Addendum
94 pages, 2.3MB, from http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13209/bpl13209.pdf
HP PCL/PJL reference - Printer Job Language Technical Reference Manual (bpl13208)
342 pages, 3MB, from http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13208/bpl13208.pdf
HP PCL/PJL Reference - Printer Job Language Technical Reference Addendum (bpl13207)
176 pages, 3.2MB, from http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13207/bpl13207.pdf
HP PCL/PJL Reference (PCL 5 Color) - Technical Reference Manual (bpl13212)
286 pages, 2.5MB, from http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13212/bpl13212.pdf
HP PCL/PJL Reference (PCL 5 Printer Language) - Technical Quick Reference Guide (bpl13205)
54 pages, 3.4MB, from http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13205/bpl13205.pdf  
HP PCL/PJL Reference (PCL 5 Printer Language) - Technical Reference Manual Part I (bpl13210)
370 pages, 3.1MB, from http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13210/bpl13210.pdf
HP PCL/PJL Reference (PCL 5 Printer Language) - Technical Reference Manual Part II (bpl13211)
394 pages, 3.8MB, from http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13211/bpl13211.pdf

Book HP's PCL XL Feature Reference, Protocol Class 2.0
also known as the PCL XL Technical Reference Manual
265 pages, 1.1MB, from http://www.hpdevelopersolutions.com/downloads/64/358/xl_ref20r22.pdf.
See also: http://www.piclist.com/techref/language/pcl/6.htm.

PCL, some HP-GL and PJL codes
From http://cssweb.nectech.com/SScript/pcl5hp.htm.
There are errors in this document: the PCL commands for left and right margin are surely Ec&a#L and Ec&a#M, not Ec&l#L and Ec&l#M.
There is not much about PJL ...

HP documents listing PCL commands:
LaserJet Printers - PCL Commands ...
Removed, was from http://www.hp.com/cposupport/printers/support_doc/bpl02705.html
LaserJet 5000 Series Printers - Printer Commands
Removed, was from http://www.hp.com/cposupport/printers/support_doc/bpl04632.html

Perl script pcl2ps
Also at http://www.maths.usyd.edu.au/u/psz/ps/pcl2ps
Script /usr/sms/bin/pcl2ps converts a simple PCL file and shows the text or the PostScript translation. Unsuitable for anything but the simplest text files: ignores most PCL commands (including graphics and fancy fonts), only extracts any plain-text. At least it knows about all (?) PCL5 commands and most HP-GL commands; can also be used as an HP-GL debugger; does not know anything about PCL6 as yet.
If you have graphics, then may want to check out http://www-wisconsin.cern.ch/~lishka/progs/lj2ps/lj2ps_intro.html (also in comp.sources.misc/volume13) and/or http://ftp.ru.xemacs.org/pub/graphics/hp2pbm-pl3.tar.Z (also in comp.sources.misc/volume26).
Maybe the best is GhostPCL from http://www.artifex.com/downloads/.


--------------------------------------------------------------------------------

Language extensions (perversions)
Some printer manufacturers add their own extensions to the PS, PJL or PCL languages.
Xerox seems to confuse PJL and PCL, and has added curious interpretations to PS and PJL comments.
From http://www2.xerox.com/downloads/dc00cc0197.pdf

Lexmark has rather comprehensive manuals
at http://www.lexmark.com/publications/techref.html
Lexmark has implemented the PS command setenginesync in the statusdict. Could we replicate this for HP LaserJets with something like:
  ESC-12345X@PJL
  @PJL ENTER LANGUAGE = PCL
  ESC&r1F <--- Flush all pages: should this be ESC*s1F?
  ESC-12345X
? Works fine on LJ4000 and LJ2200 printers, but not on the newer LJ4100. Could we use 'PJL TEOJ=ON' on the LJ4100?



--------------------------------------------------------------------------------

Setting up HP LaserJet printers
hp jetdirect -- administrator's guide
Available only locally: copied from the LaserJet4650 CD

hp embedded web server -- LJ3700, LJ4650 -- use
Available only locally: copied from the LaserJet4650 CD

Managing HP JetDirect's Print Servers in a Secure Environment
From http://www.nswc.navy.mil/ISSEC/Form/AccredForms/acc_part2_printer_help.html

HP Jetdirect Security Guidelines
From http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00746792/c00746792.pdf

Making HP Jetdirect Print Servers Secure on the Network
From http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=bpj05999

Using the HP Jetdirect Embedded Web Server Security Wizard
From http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=bpj07576

README file
Also at http://www.maths.usyd.edu.au/u/psz/ps/README
Instructions on how to talk to the JetDirect card in HP LaserJet 4000 printers.

bootptab.example
Also at http://www.maths.usyd.edu.au/u/psz/ps/bootptab.example
Example /etc/bootptab file for HP LaserJet 4000 printers with a JetDirect card.

dhcpd.conf.example
Also at http://www.maths.usyd.edu.au/u/psz/ps/dhcpd.conf.example
Example /etc/dhcpd.conf for use with http://www.isc.org/products/DHCP/ (instead of bootpd).

any.cfg and any4100.cfg
Also at http://www.maths.usyd.edu.au/u/psz/ps/any.cfg and http://www.maths.usyd.edu.au/u/psz/ps/any4100.cfg
Example T144 configuration file for HP LaserJet 4000 or 4050, and 4100 or 4550 or 2200 printers (read by tftp, as directed by /etc/bootptab).

/usr/sms/share/axis directory
Also at http://www.maths.usyd.edu.au/u/psz/ps/axis/
Contains data_xp.c (a utility to talk to JetDirect cards, as well as Tektronix terminals), the /sbin/init.d/prosd script to start these daemons, as well as Tektronix stuff (needed when printers are connected to the serial or parallel port of X-terms) and Axis stuff (that is not used any more).

/usr/sms/share/LPRng directory
Also at http://www.maths.usyd.edu.au/u/psz/ps/LPRng/
Contains everything for the LPRng daemon, including the ifilter (symlink to prf) script and the printcap, lpd.conf and lpd.perms files.

HP JetAdmin software (Not online)
JetAdmin for SunOS (29 June 1998)
Tarred compressed tar ftp://ftp.hp.com/pub/networking/software/SUNd450.TAR.
JetAdmin for HP-UX 11 (1 Sept 1999)
SD (?) archive ftp://ftp.hp.com/pub/networking/software/HP11d621.SD.
Web JetAdmin 5.6 for Red Hat Linux
Gzipped tar ftp://ftp.hp.com/pub/networking/software/hpwj_linux_en.tar.gz.

HP LaserJet 4050 Community Forum http://forum.support.hp.com:5050/escforum/laserjet/lj4050
(HP servers may return MIME type text/plain, so UNIX Netscape may show source... looks better on PC Netscape. Also needs cookies, JavaScript, ...)
Can read as guest, but need to register (free) to post or reply to messages.