- Fixed allowed values for directive `FilterNice`
- Fixed an allocation bug in the `rastertoepson` filter (Issue #1537)
- Fixed a range check when loading cached SNMP supply information (Issue #1538)
+- Fixed A4 support in the `ippevepcl` program (Issue #1544)
- Removed hash support for SHA2-512-224 and SHA2-512-256.
- Removed `mantohtml` script for generating html pages (use
`https://www.msweet.org/mantohtml/`)
/*
* Generic HP PCL printer command for ippeveprinter/CUPS.
*
- * Copyright © 2020-2025 by OpenPrinting.
+ * Copyright © 2020-2026 by OpenPrinting.
* Copyright © 2019 by Apple Inc.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
pcl_top = header->HWResolution[1] / 6;
pcl_bottom = header->cupsHeight - header->HWResolution[1] / 6 - 1;
- if (header->PageSize[1] == 842)
+ if (header->PageSize[1] == 842 && header->cupsWidth >= (8 * header->HWResolution[0]))
{
/* A4 gets special side margins to expose an 8" print area */
pcl_left = (header->cupsWidth - 8 * header->HWResolution[0]) / 2;