16 lines
870 B
Diff
16 lines
870 B
Diff
diff -up ghostscript-8.71/cups/gdevcups.c.gdevcups-debug-uninit ghostscript-8.71/cups/gdevcups.c
|
|
--- ghostscript-8.71/cups/gdevcups.c.gdevcups-debug-uninit 2010-10-14 15:08:41.243869988 +0100
|
|
+++ ghostscript-8.71/cups/gdevcups.c 2010-10-14 15:09:45.151869961 +0100
|
|
@@ -3299,8 +3299,9 @@ cups_put_params(gx_device *pdev, /*
|
|
dprintf1("DEBUG2: ppd = %p\n", cupsPPD);
|
|
dprintf2("DEBUG2: PageSize = [ %.3f %.3f ]\n",
|
|
pdev->MediaSize[0], pdev->MediaSize[1]);
|
|
- dprintf4("DEBUG2: margins = [ %.3f %.3f %.3f %.3f ]\n",
|
|
- margins[0], margins[1], margins[2], margins[3]);
|
|
+ if (size_set)
|
|
+ dprintf4("DEBUG2: margins = [ %.3f %.3f %.3f %.3f ]\n",
|
|
+ margins[0], margins[1], margins[2], margins[3]);
|
|
dprintf2("DEBUG2: HWResolution = [ %.3f %.3f ]\n",
|
|
pdev->HWResolution[0], pdev->HWResolution[1]);
|
|
dprintf2("DEBUG2: width = %d, height = %d\n",
|