Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ppd/ppd-generator.c
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,8 @@ ppdCreatePPDFromIPP2(char *buffer, // I - Filename buffer
is_pdf = 1;
}
#ifdef CUPS_RASTER_HAVE_APPLERASTER
else if (cupsArrayFind(pdl_list, "image/urf"))
else if (cupsArrayFind(pdl_list, "image/urf") &&
(ippFindAttribute(supported, "urf-supported", IPP_TAG_KEYWORD) != NULL))
{
int resStore = 0; // Variable for storing the no. of resolutions in the resolution array
int resArray[__INT16_MAX__]; // Creating a resolution array supporting a maximum of 32767 resolutions.
Expand Down