-
Notifications
You must be signed in to change notification settings - Fork 469
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
IPP Everywhere: Improve media support #5167
Comments
michaelrsweet
changed the title
IPP Everywhere: Support borderless sizes
IPP Everywhere: Improve media support
Nov 9, 2017
Also make sure developers can add media-source and media-type options to select the corresponding size and source. |
michaelrsweet
added a commit
that referenced
this issue
Nov 29, 2017
cups/dest-localization.c: - Fix localization of borderless/non-borderless media. cups/dest-options: - Add support for borderless size names (still needs work) cups/ppd-cache.c: - Fix PageSize support in PPD generator - borderless media and custom page sizes. cups/testppd.c: - Need to request media-col-database for PPD generator.
michaelrsweet
added a commit
that referenced
this issue
Nov 29, 2017
cups/cups.h: - Add cupsAddDestMediaOptions API. cups/dest-localization.c: - Fix cupsLocalizeDestMedia API. cups/dest-options.c: - Synthesize a media-key value when one is not provided by the printer (!?!?) - Add cupsAddDestMediaOptions API.
Most of the changes are in, but still need to add some of the common vendor-specific media types... |
michaelrsweet
added a commit
that referenced
this issue
Nov 30, 2017
cups/dest-localization.c: - Use "other tray" and "other media" for unknown media sources and types. cups/dest-options.c: - media-key is king for size matching. - Synthesize a media-key value using the size name unless we can't get one. cups/language-private.h: - Add _CUPS_MESSAGE_PO constant. cups/pwg-media.c: - Allow PWG names with a trailing "_foo" qualifier (so media-key still works if an application just adds the _cups_size_t.media value as the "media" option. locale/*.{po,pot,strings}: - Update localization strings. locale/cups.footer: - Add common HP and Canon media types. locale/checkpo.c: - Fix \ validation.
All done... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the destination API and PPD generator does not support borderless sizes, making it impossible to do borderless printing. We need to:
a. Update _ppdCreateFromIPP to use media-col-database to get the margins and include full-bleed sizes as applicable.
b. Update cups_create_cached in dest-options.c to generate matching media size names.
c. Update cupsLocalizeDestMedia to support full-bleed size names.
When updating cups_create_cached, we should also thin the list to remove duplicates as well.
The text was updated successfully, but these errors were encountered: