We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ea2f68 commit 1244db6Copy full SHA for 1244db6
1 file changed
tools/ippevepcl.c
@@ -129,7 +129,7 @@ pcl_start_page(
129
pcl_top = header->HWResolution[1] / 6;
130
pcl_bottom = header->cupsHeight - header->HWResolution[1] / 6 - 1;
131
132
- if (header->PageSize[1] == 842 && header->cupsWidth >= (8 * header->HWResolution[0]))
+ if ((header->PageSize[1] == 841 || header->PageSize[1] == 842) && header->cupsWidth >= (8 * header->HWResolution[0]))
133
{
134
/* A4 gets special side margins to expose an 8" print area */
135
pcl_left = (header->cupsWidth - 8 * header->HWResolution[0]) / 2;
0 commit comments