Re: Citizen CX-02 incorrect paper dimensions in PPD

Michael Sweet via Gimp-print-devel <[email protected]> Wed, 31 Jul 2024 15:00:03 -0400
Newsgroups gmane.linux.printing.gimp-print.devel
Message-ID <[email protected]>
Solomon,

Perhaps to "fast track" this discussion, does this printer just use a roll of media and cut it to the desired size?

If so, the best thing to do here is report min/max roll (custom) sizes, with a selection of "standard" photo sizes (as currently) that are imposed on the roll with pixel duplication at the edges to avoid bleed issues.  From the outside, the printer supports printing on a roll and/or printing to specific "standard" sizes.  Gutenprint then handles any scaling/imposition to the printer's internal buffer/roll format from the raster data it gets from the print client/filters.

Reporting non-standard sizes with standard names doesn't work on any OS - macOS, for example, will report the odd sizes in the UI and any CUPS-based client on Linux will likewise show odd dimensional names and not the "localized" size names from the PPD file.  And regardless of whether the other platforms are open or proprietary, they are using open standards to print and Gutenprint's current usage is causing issues.

________________________
Michael Sweet

_______________________________________________
Gimp-print-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimp-print-devel
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEkIbDzcZsP1Y8+PQFvmfHXsgfMkQFAmaqibMACgkQvmfHXsgf
MkQTGhAAg/dM49opoEcfbhMElJQiAEeoUTX0AlLAAViueoCW7trzpmuwHEIQ9hx/
dPhyIpGGmItwDQ/GsZhbcTzEReGylTmVU4PD+OgZkV/HpBUfWus2QJcxjkA9lVM0
yo1YXfvqIlH9JsSrjFF9iE0LkPAFSeqIfh4Ssj/HxefolBjgqADVcB+oSOyWGWje
/WWC7n345bFyp5CwBPimfbnzrE5E2gbDtw1ROjSHgtc3oLeaQIc9B57HPOvuB2qe
gzRz7+1sdU/oLe8dEVYi0hGOr9H8kspvBmBZXO+8AbBSAPo+/dQNV6KMxkvVB+Gw
Cwh4Huw5i8+6TKpcalCGo13J2tSwzxiwcucjD09pBvpLCnu/ctpi9FQehz/z0if7
eDiN1oQ3vPdPEacQW5RhLvVgyxTsZD/HYYWAdA2PPlgbP9oYpiec6zvv780LihVo
qUVDTWgDhrYHho9jBTNXpifaU1nnphd9KLmEC3q+Gz267b5O6Lxfm8whZpsxjEF7
kkBeyaPjz578Va3G1N5QXpvdMHg3sin2qaoNX9QfukhUFoTGB1+Pch0or5NcmWco
m15Sjpxuq4QDdiCCzs45vzhfG4b/fz5kE4St7yLRE0RUp6dz+GByScMbnulNPOTg
yqLAwyOI2CUwV+hFa4NnDwUAjnu3BCh/SgOZokh2lSJbHfZGKuM=
=hIvH
-----END PGP SIGNATURE-----