pappl-makeresheader(1)
β¨ pappl-makeresheader β¨
okay so bestie, this one is a little command-line cutie from the PAPPL family β it's a resource header utility, and honestly? it's giving "tiny tool, huge glow-up" π
πΈ SYNOPSIS πΈ
pappl-makeresheader FILES > FILENAME.h
π DESCRIPTION π
okay so pappl-makeresheader makes a C header file that you can literally just include in a printer application. no cap. π¨οΈβ¨
that header file creates a C unsigned char array or a string constant, and you can use it with the papplSystemAddResourceData or papplSystemAddResourceString functions β or as data for a printer icon in the pappl_icon_t structure. iconic behaviour tbh π
the C variable names used for each file? generated by replacing all spaces, dots, and dashes with the underscore. so like, a file named my printer-icon.png would have the C variable name my_printer_icon_png. the way it just swaps those characters out... obsessed π«Ά
π SEE ALSO π
π COPYRIGHT π
Copyright Β© 2019-2020 by Michael S Sweet.
PAPPL is licensed under the Apache License Version 2.0 with an (optional) exception to allow linking against GPL2/LGPL2 software (like older versions of CUPS), so it can be used freely in any project you'd like. See the files LICENSE and NOTICE in the source distribution for more information. π
and that's the whole page, bestie β written by Michael R Sweet, this version dated 2020-10-25, living its best life as part of pappl-makeresheader in the PAPPL 1.0 era. mwah πβ¨
π¦ where this page comes from
- arch rolling: pappl 1.4.12-1 Β· Apache-2.0 WITH LLVM-exception
- debian bookworm: libpappl-dev 1.3.1-2 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- debian trixie: libpappl-dev 1.3.1-2.1+b2 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- fedora 43: pappl-devel 1.4.12-1.fc43 Β· Apache-2.0 WITH LLVM-exception
- fedora 43: pappl-devel 1.4.12-1.fc43 Β· Apache-2.0 WITH LLVM-exception
- fedora 43: pappl-devel 1.4.9-2.fc43 Β· Apache-2.0 WITH LLVM-exception
- fedora 43: pappl-devel 1.4.9-2.fc43 Β· Apache-2.0 WITH LLVM-exception
- fedora 44: pappl-devel 1.4.12-1.fc44 Β· Apache-2.0 WITH LLVM-exception
- fedora 44: pappl-devel 1.4.12-1.fc44 Β· Apache-2.0 WITH LLVM-exception
- fedora 44: pappl-devel 1.4.9-4.fc44 Β· Apache-2.0 WITH LLVM-exception
- fedora 44: pappl-devel 1.4.9-4.fc44 Β· Apache-2.0 WITH LLVM-exception
- nixos 26.05: pappl 1.4.10
- nixpkgs unstable: pappl 1.4.12
- opensuse-leap 16.0: pappl 1.4.7-bp160.1.12 Β· Apache-2.0
- opensuse-leap 16.0: pappl 1.4.7-bp160.1.12 Β· Apache-2.0
- opensuse-leap 16.0: pappl 1.4.7-bp160.1.12 Β· Apache-2.0
- opensuse-leap 16.0: pappl 1.4.7-bp160.1.12 Β· Apache-2.0
- ubuntu jammy: libpappl-dev 1.0.3-2 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu noble: libpappl-dev 1.3.1-2.1build3 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu questing: libpappl-dev 1.4.9-0ubuntu1
- ubuntu resolute: libpappl-dev 1.4.9-0ubuntu2 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu stonking: libpappl-dev 1.4.9-0ubuntu2 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- Copyright Β© 2019-2020 by Michael R Sweet
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms