---
name: "pappl-makeresheader"
section: "1"
platform: "linux"
package: "pappl"
version: "1.4.12-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/pappl-makeresheader"
---

# pappl-makeresheader(1)

resource header utility

## NAME

pappl-makeresheader - resource header utility

## SYNOPSIS

**pappl-makeresheader** *FILES* \> *FILENAME.h*

## DESCRIPTION

**pappl-makeresheader** creates a C header file suitable for inclusion in a printer application. The header file creates a C unsigned char array or string constant that can be used with the **papplSystemAddResourceData** or **papplSystemAddResourceString** functions, or as data for a printer icon in the **pappl\_icon\_t** structure. The C variable names used for each file are generated by replacing all spaces, dots, and dashes with the underscore. For example, a file named "my printer-icon.png" would have the C variable name "my\_printer\_icon\_png".

## SEE ALSO

[**pappl**(1)](/pappl/1.md), https://www.msweet.org/pappl

## COPYRIGHT

Copyright © 2019-2020 by Michael R 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.
