Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add freely usable data pointer to "pappl_pr_driver_t" data structure #68

Closed
tillkamppeter opened this issue Nov 11, 2020 · 1 comment
Closed
Assignees
Labels
question General usage question

Comments

@tillkamppeter
Copy link
Contributor

Is your feature request related to a problem? Please describe.
In my PostScript Printer Application I include PostScript Printer PPD files in the Snap, each PPD makes up a driver in the Printer Application. When a print queue is set up the appropriate PPD file is read and the pappl_pr_driver_t is appropriately populated.
The PPD file options not covered by IPP/PAPPL I want to add as vendor options. In addition to the IPP names for the options and choices and human-readable names (Issue #66) I also want to add some extra data needed for the print job execution.
For this I would simple need a freely usable data pointer in the pappl_pr_driver_t data structure which I could let point to my own data structure containing the extra data.

Describe the solution you'd like
A simple, freely usable data pointer in the pappl_pr_driver_t data structure.

@michaelrsweet
Copy link
Owner

This already exists and is called "extension".

@michaelrsweet michaelrsweet self-assigned this Nov 11, 2020
@michaelrsweet michaelrsweet added the question General usage question label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General usage question
Projects
None yet
Development

No branches or pull requests

2 participants