Blog Project Updates and Random Thoughts

HTMLDOC 1.9.18 February 11, 2024

HTMLDOC 1.9.18 is a bug fix release. Changes include:

  • Fixed table rendering when there are missing </tr> (Issue #494)
  • Fixed support for links of the form “filename.html#anchor” in PDF output (Issue #514)
  • Fixed --header1 support for web page output (Issue #515)
  • Fixed markdown emphasized, strong, and struck-through text (Issue 517)

Binaries are available from Github for Windows and macOS, and through the Snapcraft store for Linux.

Enjoy!

Download HTMLDOC 1.9.18 Install HTMLDOC 1.9.18 Snap Home Page

Comments
 

PAPPL v1.4.6 February 09, 2024

PAPPL v1.4.6 is now available for download and is a bug fix release. Changes include:

  • Fixed reporting of “printer-strings-languages-supported” attribute (Issue #328)
  • Fixed saving of “print-darkness-default” and “print-speed-default” values (Issue #330 and #337)
  • Fixed incoming “raw” print socket support (Issue #331 and #338)
  • Fixed web interface support for “printer-darkness” (Issue #333)
  • Fixed some issues discovered by OpenScanHub (Issue #335)
  • Fixed localization of command-line (main loop) interface.

Enjoy!

Download PAPPL v1.4.6 Home Page

Comments
 

LPrint v1.3.1 February 09, 2024

LPrint v1.3.1 is a bug fix release. Changes include:

  • Updated “print-speed” support in TSPL driver (Issue #120 and #121)
  • Fixed lprint-modify man page (Issue #122 and #126)
  • Fixed snap documentation for connecting LPrint to Avahi.

Enjoy!

Download LPrint 1.3.1 Install lprint Snap Home Page

Comments
 

HP Printer Application v1.3.0 February 09, 2024

HP Printer Application v1.3.0 is now available for download as an “officially supported” printer application for older PCL laser and inkjet printers. Changes in 1.3.0 include:

  • Switched to using a configure script.
  • Updated documentation for current PAPPL.
  • Added support for snap server configuration settings (Issue #21)
  • Updated macOS and Linux binaries to use PAPPL 1.4.x.

Enjoy!

Download PAPPL v1.3.0 Home Page

Comments
 

LPrint v1.3.0 January 31, 2024

LPrint v1.3.0 adds a new dithering algorithm, support for new printers, support for configuration files, and fixes a number of bugs. Changes include:

  • Added new dithering algorithm to better support barcode printing with shaded content.
  • Added experimental Brother printer support (Issue #15)
  • Added basic TSPL printer support (Issue #54)
  • Added basic SEIKO printer support (Issue #58)
  • Added experimental Zebra CPCL printer support.
  • Added support for configuration files in “/etc”, “/usr/local/etc”, or “/Library/Application Support” (macOS).
  • Updated ZPL driver to report ‘media-needed’ reason when out of labels during a job.
  • Fixed copies support for ZPL printers (Issue #100)
  • Fixed darkness calculations for EPL and ZPL printers (Issue #104)

Enjoy!

Download LPrint 1.3.0 Install lprint Snap Home Page

Comments
 

PAPPL v1.4.5 January 26, 2024

PAPPL v1.4.5 is now available for download and is a bug fix release. Changes include:

  • Fixed --disable-libpam configure option.
  • Fixed support for “finishings”, “output-bin”, and “sides” options.
  • Fixed IEEE-1284 device ID generation code.
  • Fixed crash in retrofit printer application (Issue #322)
  • Fixed some Coverity-detected threading issues.

Enjoy!

Download PAPPL v1.4.5 Home Page

Comments
 

PDFio 1.2.0 January 24, 2024

PDFio 1.2.0 is a feature release. Changes include:

  • Now use autoconf to configure the PDFio sources (Issue #54)
  • Added pdfioFileCreateNumberObj and pdfioFileCreateStringObj functions (Issue #14)
  • Added pdfioContentTextMeasure function (Issue #17)
  • Added pdfioContentTextNewLineShow and pdfioContentTextNewLineShowf functions (Issue #24)
  • Renamed pdfioContentTextNextLine to pdfioContentTextNewLine.
  • Updated the maximum number of object streams in a single file from 4096 to 8192 (Issue #58)
  • Updated the token reading code to protect against some obvious abuses of the PDF format.
  • Updated the xref reading code to protect against loops.
  • Updated the object handling code to use a binary insertion algorithm - provides a significant (~800x) improvement in open times.
  • Fixed handling of encrypted PDFs with per-object file IDs (Issue #42)
  • Fixed handling of of trailer dictionaries that started immediately after the “trailer” keyword (Issue #58)
  • Fixed handling of invalid, but common, PDF files with a generation number of 65536 in the xref table (Issue #59)

Enjoy!

Download PDFio v1.2.0 Home Page

Comments
 

Destination Linux Podcast Interview December 23, 2023

I had the privilege of being a guest with Till Kamppeter on this month’s Destination Linux podcast to talk about printing on Linux and the history of OpenPrinting, driverless printing, Apple, and AirPrint.

Comments
 

PAPPL v1.4.4 December 21, 2023

PAPPL v1.4.4 is now available for download and is a bug fix release. Changes include:

  • Fixed “printer-settable-attributes-supported” value (Issue #311)
  • Fixed -n support for setting number of copies (Issue #312)
  • Fixed papplPrinterSetDriverDefaults didn’t set the “orientation-requested-default” value (Issue #313)
  • Fixed job file preservation logic.
  • Fixed builds against current libcups3.

Enjoy!

Download PAPPL v1.4.4 Home Page

Comments
 

PDFio 1.1.4 December 03, 2023

PDFio 1.1.4 is a bug fix release. Changes include:

  • Fixed detection of encrypted strings that are too short (Issue #52)
  • Fixed a TrueType CMAP decoding bug.
  • Fixed a text rendering issue for Asian text.
  • Added a ToUnicode map for Unicode text to support text copying.

Enjoy!

Download PDFio v1.1.4 Home Page

Comments
 

PDFio 1.1.3 November 15, 2023

PDFio 1.1.3 is a bug fix release. Changes include:

  • Fixed Unicode font support (Issue #16)
  • Fixed missing initializer for 40-bit RC4 encryption (Issue #51)

Enjoy!

Download PDFio v1.1.3 Home Page

Comments
 

PAPPL v1.4.3 November 15, 2023

PAPPL v1.4.3 is now available for download and is a bug fix release. Changes include:

  • Added “smi55357-device-uri” and “smi55357-driver” Printer Status attributes to Get-Printer-Attributes responses.
  • Fixed missing mutex unlock in DNS-SD code (Issue #299)
  • Fixed “printer-id” value for new printers (Issue #301)
  • Fixed DNS-SD device list crash (Issue #302)
  • Fixed Set-Printer-Attributes for “output-bin-default” and “sides-default” (Issue #305)
  • Fixed default “copies” value with papplJobCreateWithFile.

Enjoy!

Download PAPPL v1.4.3 Home Page

Comments
 

PAPPL v1.4.2 October 16, 2023

PAPPL v1.4.2 is now available for download and is a bug fix release. Changes include:

  • Fixed potential crash while listing devices (Issue #296)
  • Fixed potential deadlock issue (Issue #297)
  • Fixed loading of previous state (Issue #298)

Enjoy!

Download PAPPL v1.4.2 Home Page

Comments
 

PDFio 1.1.2 October 10, 2023

PDFio 1.1.2 fixes a number of PDF reading issues as well as a build issue. Changes include:

  • Updated pdfioContentSetDashPattern to support setting a solid (0 length) dash pattern (Issue #41)
  • Fixed an issue with broken PDF files containing extra CR and/or LF separators after the object stream token (Issue #40)
  • Fixed an issue with PDF files produced by Crystal Reports (Issue #45)
  • Fixed an issue with PDF files produced by Microsoft Reporting Services (Issue #46)
  • Fixed support for compound filters where the filter array consists of a single named filter (Issue #47)
  • Fixed builds on Windows - needed windows.h header for temporary files (Issue #48)

Enjoy!

Download PDFio v1.1.2 Home Page

Comments
 

PAPPL v1.4.1 October 10, 2023

PAPPL v1.4.1 is now available for download and is a bug fix release. Changes include:

  • Fixed typos in the names of the papplJobResume and papplJobSuspend functions (Issue #295)

Enjoy!

Download PAPPL v1.4.1 Home Page

Comments
 

PAPPL v1.4.0 September 28, 2023

PAPPL v1.4.0 is now available for download and is a feature release. Changes in 1.4.0 include:

  • Added support for “job-retain-until” (Issue #14)
  • Added new PAPPL-Create-Printers operation, and the PAPPL mainloop API now auto-adds local printers the first time a server is run (Issue #245)
  • Added new papplDeviceRemoveScheme and papplDeviceRemoveTypes APIs to disable unwanted device types (Issue #259)
  • Added support for suspending and resuming jobs at copy boundaries (Issue #266)
  • Added support for server configuration files (Issue #279)
  • Now preserve the paused state of printers (Issue #286)
  • Fixed reporting of “xxx-k-octet-supported” attributes.
  • Fixed printing of 1/2/4-bit grayscale PNG images (Issue #267)
  • Fixed USB serial number for DYMO printers (Issue #271)
  • Fixed a potential buffer overflow in the logging code (Issue #272)
  • Fixed DNS-SD advertisements when the server name is set to “localhost” (Issue #274)
  • Fixed hostname change detection when using mDNSResponder (Issue #282)
  • Fixed authentication cookie comparisons for simple password mode.
  • Fixed a potential time-of-use issue with PAPPL-created directories.
  • Fixed handling of trailing ‘%’ in log format strings.
  • Updated the options sub-command to list vendor options and values (Issue #255)
  • Updated web interface to show the age of jobs (Issue #256)
  • Updated “devices” sub-command to have the PAPPL server find the devices instead of doing it directly (Issue #262)
  • Updated default logging to be less chatty (Issue #270)
  • Updated the Wi-Fi configuration page to support hidden networks.
  • Updated the Wi-Fi configuration page reload time to 30 seconds.
  • Updated TLS certificate generation to support more types of certificates and to use modern OpenSSL/GNU TLS APIs.

Enjoy!

Download PAPPL v1.4.0 Home Page

Comments
 

HTMLDOC 1.9.17 September 17, 2023

HTMLDOC 1.9.17 is a bug fix release. Changes include:

  • Added new --pre-indent option to control indentation of pre-formatted text (Issue #505)
  • Now link to CUPS library instead of embedding its HTTP code.
  • Updated PostScript and PDF date/time information to use UTC (Issue #490)
  • Fixed multiple conversions of UTF-8 HTML files from the GUI (Issue #496)
  • Fixed a compile bug on Solaris (Issue #498)
  • Fixed a markdown parsing bug (Issue #503)
  • Fixed a relative URL handling bug (Issue #507)
  • Fixed a crash bug with bad title images (Issue #510)
  • Fixed some minor CodeQL warnings.

Binaries are available from Github for Windows and macOS, and through the Snapcraft store for Linux.

Enjoy!

Download HTMLDOC 1.9.17 Install HTMLDOC 1.9.17 Snap Home Page

Comments
 

mantohtml v2.0.1 Now Available September 13, 2023

mantohtml v2.0.1 is a general bug fix release. Changes include:

  • Fixed a buffer overrun bug (Issue #1)
  • Fixed the default page title to be NAME(SECTION).

Enjoy!

Download mantohtml Install mantohtml Snap Home Page

Comments
 

PAPPL v1.3.4 (Replaces v1.3.3) September 07, 2023

PAPPL v1.3.4 is now available for download and is a general bug fix release. Changes in 1.3.4 include:

  • Fixed builds with GNU TLS (Issue #292)
  • Fixed a HTML error on the network configuration page.

Changes in 1.3.3 include:

  • Fixed USB serial number for DYMO printers (Issue #271)
  • Fixed DNS-SD advertisements when the server name is set to “localhost” (Issue #274)
  • Fixed hostname change detection when using mDNSResponder (Issue #282)
  • Fixed authentication cookie comparisons for simple password mode.
  • Fixed a potential time-of-use issue with PAPPL-created directories.
  • Fixed handling of trailing ‘%’ in log format strings.
  • Updated TLS certificate generation to support more types of certificates and to use modern OpenSSL/GNU TLS APIs.

Enjoy!

Download PAPPL v1.3.4 Home Page

Comments
 

PAPPL v1.3.2 May 06, 2023

PAPPL v1.3.2 is now available for download and is a general bug fix release. Changes in 1.3.2 include:

  • Fixed PWG ImageBox values in raster page header
  • Fixed a bug in the “ipp-attribute-fidelity” support
  • Fixed printing of 1/2/4-bit grayscale PNG images (Issue #267)
  • Fixed a potential buffer overflow in the logging code (Issue #272)
  • Fixed reporting of “xxx-k-octet-supported” attributes.
  • Updated the Wi-Fi configuration page to support hidden networks.
  • Updated the Wi-Fi configuration page reload time to 30 seconds.

Enjoy!

Download PAPPL v1.3.2 Home Page

Comments
 

PDFio 1.1.1 March 20, 2023

PDFio 1.1.1 fixes a potential denial of service issue and fixes some build issues. Changes include:

  • CVE-2023-28428: Fixed a potential denial-of-service with corrupt PDF files.
  • Fixed a few build issues.

Enjoy!

Download PDFio v1.1.1 Home Page

Comments
 

PDFio 1.1.0 February 06, 2023

PDFio 1.1.0 fixes a potential denial of service issue, fixes a few general bugs, and adds a few new APIs. Changes include:

  • CVE-2023-24808: Fixed a potential denial-of-service with corrupt PDF files.
  • Added pdfioFileCreateTemporary function (Issue #29)
  • Added pdfioDictIterateKeys function (Issue #31)
  • Added pdfioContentPathEnd function.
  • Added protection against opening multiple streams in the same file at the same time.
  • Documentation updates (Issue #37)
  • Fixed “install-shared” target (Issue #32)
  • Fixed pdfioFileGet... metadata APIs (Issue #33)
  • Fixed pdfioContentMatrixRotate function.

Enjoy!

Download PDFio v1.1.0 Home Page

Comments
 

RasterView 1.9.0 January 16, 2023

RasterView 1.9.0 includes some minor improvements and bug fixes and adds support for Windows. Changes include:

  • Fixed macOS ‘Close’ and ‘Re-Open’ menu items (Issue #20)
  • Fixed color picking (Issue #21)
  • Updated the maximum zoom to 20x
  • Added Visual Studio project files for Windows release

Enjoy!

Download RasterView 1.9.0 Install RasterView 1.9.0 Snap Home Page

Comments
 

Improving Code Quality, Part 2 January 15, 2023

This is a follow-up to my first post on code quality with updates to various tools and some thoughts on POSIX threading.

More + Comments