| HP LaserJet 1012 | |
| BW laser printer, max. 600x600 dpi, works Mostly | ![]() ![]() |
| Recommended driver: hplip (Home page) Generic instructions for: CUPS, LPD, LPRng, PPR, PDQ, no spooler | |
To get all functionality of this printer working under Linux, especially also the non-printing features, like printer status and toner level, use the HPLIP driver package from HP.
Cheap, compact desktop laser printer, foldable tray for 150 sheets, A4/Letter/Legal, up to 14 pages/min. Somewhat faster than the LaserJet 1010, "Fastres 1200" resolution enhancement.
HP classifies this printer as "host-based" whereas they claim the HP LaserJet 1015 to understand PCL 5e. But the HP LaserJet 1010 and 1012 seem to understand a stripped-down (raster-graphics only, no text) variant of PCL 5e.
Rick Richardson (rickr at mn dot rr dot com), author of the "foo2zjs" driver (driver for the HP LaserJet 1000/1005), has examined the output of the Windows driver for this printer and found out that the language looks like PJL + PCL 6 (see report on the HP forum on OpenPrinting).
Adam (madaman at web dot de) reports on the HP forum on OpenPrinting that the HP LaserJet 1010 works for him with all raster drivers for the HP LaserJet 1100 (HPLIP, "ljet4", "lj4dith", "gimp-print"). Adam tried also PCL-6 drivers ("lj5gray"/"lj5mono", "pxlmono") but without success.
Unfortunately, the new LaserJet 1010/1012 series seems not to be absolutely compatible with older HP printers or it has a firmware bug. Sometimes it happens that the printer stops working and reports the error "Unsupported Personality: PCL". It only continues working when one kills the job and power-cycles the printer.
The problem of the "Unsupported Personality: PCL" was finally solved by Carl Michal (michal at physics dot ubc dot ca). By analyzing the output of the Windows driver he found out that after the BeginSession operator in the beginning of a PCL 6 job a special sequence of 8 bytes has to be added. He added it by a filter to the output of Ghostscript's "pxlmono" driver and from then on the printer worked (Implemented as the "pxl1010" driver on this site).
Consumables/Refills: Toner and drum in one cartridge (18000 pages)
This printer works for me as well using the HP1100 hpijs-rss
driver. Even prints slashdot.
--------------------------------------------------------
I found the HP 1100 driver worked, but only for a few print jobs
before getting the 'Unsupported Personality' message. Same with the
hpijs drivers.
After doing a little reverse engineering of the windows driver output
I have a solution that so far appears to work nearly perfectly.
The windows driver appears to produce PCL XL 2.0 output, but with a
number of operator and attibute tags that are labeled 'reserved' in
the PCL XL 2.0 reference that HP provides.
It appears that by using ghostscripts PCL XL (pxlmono) driver and
adding 8 bytes 'borrowed' from the windows driver output in near the
beginning of the resulting output, the printer prints just fine. I'm
up to about 50 print jobs and counting now without any error messages
or problems.
The print quality appears to rival that of the ijs drivers.
So, I've incorporated this into my cups setup - using a hacked ppd,
and a small C program used as an additional filter to insert the magic
8 bytes. I'll post details in the HP forum.
Ed: This I have now incorporated in the "pxl1010" driver, without C
program. Simply take the PPD file, foomatic-rip and GhostScript (with
"pxlmono" device). And you will be able to print. See main text of
this printer entry.
Thank you for this great contribution.
Till
---------------------------------------------
Myk: Note the following cups bug in Fedora Core 3:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=152538
It causes corruption of the pxl1010 PPD. Info on recovering from the
bug is available in this post to the linuxprinting forums:
http://www.linuxprinting.org/forums.cgi?group=linuxprinting.hp.general;article=6780
---------------------------------------------
It turns out that there is a bug in some versions of ghostscript
(importantly in unpatched versions of ESP Ghostscript 7.07.1) that
produces illegal output in the pxlmono driver. This is patched in
gentoo, and appears to be ok in GPL ghostscript 8.01.
The bug produces output pages that report errors:
PCL XL Error
Subsystem: KERNEL
Error: IllegalAttributeDataType
Operator: SetLineDash
Position: xxxx
The solution is to use a more recent or patched ghostscript (Ed.: For
example current subversion state of ESP GhostScript from www.cups.org,
Till).
Myk: I can't find a Mac OS X binary with the patch,
although Fedora Core 3 has it.[Add/Edit User Notes] [Wikish History]
Look for help in our forum for printers from HP and Apollo.
The following driver(s) are known to drive this printer:
Recommended driver:
| ||||||||
| HP's driver suite for printers and multi-function devices Supplier: Hewlett-Packard (this printer's manufacturer) License: MIT/BSD/GPL (free software) | ||||||||
| User support: | HPLIP support and bug tracking system (voluntary) | |||||||
| Max. rendering resolution: 1200x1200dpi Color output Type: CUPS Raster | ||||||||
| Text: Line art: | |||||||||||||||||||| 100 |||||||||||||||||||| 100 | Graphics: Photo: | |||||||||||||||||||| 100 |||||||||||||||||||| 100 | System load: Speed: | Unknown |||||||||||||||||||| 70 | |||
Other drivers:
| ||||||||
| Top Quality Printer Drivers for inkjets, dye sublimation printers, and PCL lasers Supplier: Gutenprint project License: GPL (free software) | ||||||||
| User support: | Gutenprint mailing list at SourceForge (voluntary) | |||||||
| Color output Type: CUPS Raster | ||||||||
| Text: Line art: | |||||||||||||||||||| 90 |||||||||||||||||||| 90 | Graphics: Photo: | |||||||||||||||||||| 100 |||||||||||||||||||| 100 | System load: Speed: | Unknown |||||||||||||||||||| 60 | |||
| Download: | Driver packages: x86 32 bit (RPM for LSB 3.1), x86 32 bit (DEB for LSB 3.1), x86 32 bit (RPM for LSB 3.2), x86 32 bit (DEB for LSB 3.2), x86 64 bit (RPM for LSB 3.1), x86 64 bit (DEB for LSB 3.1), x86 64 bit (RPM for LSB 3.2), x86 64 bit (DEB for LSB 3.2) (How to install) | |||||||
| ||||||||
| This driver is obsolete. Recommended replacement driver: hplip | ||||||||
| This driver is free software. | ||||||||
| Type: Ghostscript built-in | ||||||||
| Download: | PPD file: View PPD, directly download PPD | |||||||