Thu 2026.11.19
Benteveo: a new driver for a discontinued printer
Today's pick: Benteveo
Benteveo is a product that lets the HP LaserJet 1005 printer work on Windows 11.
It is today’s pick because a printer that HP stopped supporting can be used again.
In four panels
1The problem
- Early 2000sComes out as a monochrome laser printer
- Windows XP eraHP ends support
- Windows 10 21H2The built-in driver covers Mopria printers only
Windows 11LaserJet 1005The LaserJet 1005 came out before the Mopria standard, so Windows 11’s built-in driver cannot run it either.
2How it works
- WindowsTurns the page into a bitmap
- Benteveo render DLLCompresses the bitmap with JBIG into ZjStreamEncoder ran
- Benteveo port monitor DLLSends the firmware and checks that the job finished
- LaserJet 1005Connected by USB
Ran todayFrom the docs
Benteveo implements only the parts of Windows printing that this printer needs.
3What is different
BeforeBenteveo
Maker
A driver made by HPOne person wrote it with Codex, under the GPL
Trade-offNo Microsoft signature, so you install a test certificate
Printers it supports
Many ZjStream printers (foo2zjs)The LaserJet 1005 only
Trade-offRejects undamaged streams from other encoders
4Running it
A 600 dpi A4 page, random pixels in the top half and horizontal stripes in the bottom half
- Benteveo
- 2,270,784 bytes
- foo2zjs
- The same 2,270,784 bytes
- + 2 records (44 bytes)
The 2,269,852 bytes of JBIG data were identical. In the whole output, the only difference was two records (44 bytes).
- Found on
- Show HN
- Built with
- C++20, JBIG-KIT, Windows Unidrv
The problem
The HP LaserJet 1005 is a monochrome laser printer from the early 2000s. The maker says in the README that HP ended support for it in the Windows XP era. Microsoft’s official docs say that since Windows 10 21H2, Windows has a built-in driver for printers that follow the MopriaA common printing standard that lets computers and phones print to printers from many manufacturers without a separate driver for each. standard. The LaserJet 1005 came out before the Mopria standard, so Windows 11’s built-in driver cannot run it either.
How it solves it
The maker, Hernán Di Pietro, posted Benteveo to Hacker News as a Show HN on November 18, 2026.
Benteveo implements only the parts of Windows printing that this printer needs. Existing Windows components turn the page into a bitmap. Benteveo’s render DLL compresses that bitmap with JBIGA method for compressing black-and-white images without loss. Fax machines and some printers use it. and turns it into ZjStreamA printer data format made by Zenographics. The computer turns a page into a compressed bitmap and sends it to the printer in this format., the format this printer accepts. This printer must receive its firmware from the computer every time it is powered on. Benteveo’s port monitor DLL sends the firmware at the first print after power-on and checks that the job finished. The firmware file is not in the repository. At install time, the user extracts it from HP’s official driver package with the maker’s script.
What is different
First, a different kind of person made the driver. This printer’s original Windows driver came from HP. A person who owns the printer wrote Benteveo with Codex. The maker worked from specs published on the web and from foo2zjs, an open-source implementation of the format for Linux. Benteveo’s source is public under the GPL, so users can fix or build it themselves. The trade-off is that there is no Microsoft signature. The maker signed Benteveo 0.1.2 with a test certificate of their own. So users must install that certificate in the local machine’s trusted root storeThe store of certificates that Windows trusts. Windows trusts programs and drivers signed with a certificate in this store and shows no warning.. Windows then also trusts any other code signed with that certificate. The install guide (MINI_INSTALL.md) says Windows protected print modeA Windows 11 print security setting. When it is on, Windows uses only its built-in driver and does not load manufacturer drivers. must also be off.
Second, the range of printers each one supports is different. foo2zjs makes streams for several printers that use ZjStream. The validate and usb-print commands in Benteveo’s CLI compare output with a single LaserJet 1005 profile. They reject a stream before it goes over USB if the record order, resolution, paper or JBIG options differ from that profile. This check runs without a printer. The trade-off is that they also reject undamaged streams from other encoders.
How it was built
- The maker wrote all 43 commits in the repository, dated September 16 to November 18, 2026. None has a Co-authored-by trailer. The maker says in the README that the C++20 driver was written with Codex.
- docs/TEST_STATUS.md records tests on a real printer by date. The November 17 entry says the first test printed several blank sheets. The test page printed correctly after the print queue’s paper size was changed from Letter to A4.
Running it
I ran it without Windows or a printer. I cloned the repository and built commit 253ee89 with CMake on Linux. I ran only the driver’s encoder and its development CLI, lj1005.
- Build. CMake built the core library, lj1005 and 3 tests in 5 seconds. CMakeLists.txt builds the driver DLLs and the other 4 tests only on Windows.
- Tests. All 3 tests that build on Linux passed.
- Test page.
lj1005 testpagemade a 600 dpi A4 page (4,960×7,016 pixels), and I compressed it. The result was 972 bytes and passed validate. decode turned it back into an image identical to the original, byte for byte. - Reference comparison. I built foo2zjs at the commit named in the README. foo2zjs’s zjsdecode read Benteveo’s output with no errors. I made a test page with random pixels in the top half and horizontal stripes in the bottom half, and compressed it with Benteveo and with foo2zjs. The 2,269,852 bytes of JBIG data were identical. In the whole output, the only difference was two records (44 bytes). foo2zjs adds them to mark the start and end of a planeOne layer of an image split by color or channel. A color printer receives one plane per color..
- Scope of the check. Benteveo’s validate command rejected foo2zjs’s output because of those two records, as docs/PRINT_VALIDATION.md describes. Benteveo’s decode command still turned the same output into an image identical to the original.
- Speed. I compressed the same page 3 times with each encoder. Benteveo took 264–341 ms and foo2zjs took 295–324 ms, so the ranges overlap.
$ lj1005 testpage tp.pbm
$ lj1005 encode tp.pbm tp.zjs a4
Wrote 972 bytes
$ lj1005 validate tp.zjs
Validated 1 page(s), 1 sheet(s), 4349920 raster bytes
$ lj1005 decode tp.zjs back.pbm
Decoded 1 page(s)
$ cmp tp.pbm back.pbm && echo IDENTICAL
IDENTICALNot checked
- Installing and printing on Windows 11. This needs an HP LaserJet 1005 and the firmware file from HP’s original package.
- The 4 tests that build only on Windows. Next, run scripts/build.ps1 on Windows with Visual Studio and the Windows Driver Kit.
Verdict
It works. The compressed data from its encoder matched the reference implementation’s byte for byte. But today I ran only the encoder and the CLI, and did not install or print on Windows. It is worth trying if you want an old LaserJet 1005 to work on Windows 11.
What to take away
- Compare your encoder’s compressed data with an open-source implementation’s byte for byte. The outputs of Benteveo and foo2zjs differed by two records, but their compressed data matched byte for byte.
- Build a command that checks output before it goes to the hardware. Benteveo’s validate command checks output without a printer.
Getting started
get-hp-firmware.ps1 로 HP 원본 패키지에서 sihp1005.img 추출테스트 인증서 설치 뒤 프린터 추가 마법사의 디스크 있음으로 lj1005.inf 설치
- You need
- Windows 11 x64 and an HP LaserJet 1005 connected by USB (USB ID 03f0:1317).
- The firmware file sihp1005.img from HP’s original driver package.
- Administrator rights to install the test certificate in the local machine’s trusted root store.
- Cost
- Free under GPL-2.0-or-later.
The LaserJet P1005 and M1005 use different drivers from the LaserJet 1005, so Benteveo does not support them. For now, the maker’s first target is one printer over USB with A4 paper.
Steps select 1 ran.
Progress
- Day 3Active
- Day 7Active
- Day 15Upcoming
- Day 30Upcoming
- Day 90Upcoming
- Day 180Upcoming
- Day 365Upcoming
Latest check Day 7, Wed 2026.11.25
- Commits since launch
- 3 → 19
- Stars
- 0 → 1
- Latest release
- 0.3.0
- Last commit
- 2026.11.24
- Windows 10 22H2 on x64 is now supported (v0.2.0).
- Added horizontal and vertical position controls to Printing Preferences, with shifts of up to 200 mm in either direction (v0.2.0).
- Added a pre-install wizard that covers trusting the test certificate, the HP firmware and the choice of USB port (v0.3.0).
- Added a tool that removes the driver package and, if you choose, the test certificate (v0.3.0).