Re: Question regarding continuous media
Michael Sweet <[email protected]> Sun, 7 Dec 2025 13:41:15 -0500
| Newsgroups | dev.linux.lists.printing-architecture |
|---|---|
| Message-ID | <[email protected]> |
Armin, > On Dec 7, 2025, at 7:23=E2=80=AFAM, Armin Felder = <[email protected]> wrote: >=20 > Hi, >=20 > In my free time, I am currently working on a small thermal printer = driver using the PAPPL lib. > I defined a media called: continuous-short_bdl_58x0mm (5.1.3 = 5101.1-2023) > but when sending a job with e.g. 58x99 it fails validating the media = size "continuous-short" is not a valid media name prefix. The currently = registered prefixes are "asme", "custom", "disc", "iso", "na", "oe", = "om", "prc", "roc", "roll", "jis", "jpn", with "choice" available to = combine multiple sizes such as = "choice_iso_a4_210x297mm_na_letter_8.5x11in" to automatically choose = between ISO A4 and US Letter. What you want is "roll_current_58x0mm" for 58mm wide roll of = indeterminant length for the ready size, "roll_default_58xLENGTHmm" for = the default size, and "roll_min_MINWIDTHxMINLENGTHmm" and = "roll_max_MAXWIDTHxMAXLENGTHmm" for the supported sizes. Since not all = clients know how to deal with roll media, you should also include = "custom_min/max_WIDTHxLENGTHmm" in the supported media. The media types for continuous media would be "continuous" for paper and = "labels-continuous" for labels. ________________________ Michael Sweet