Created attachment 9324 [details] pdf file used as input Hi, I have one pdf file snmp-ppt.pdf. While converting PDF to PS using ps2write Or PDF to PCL using pxlcolor, getting same error. It created single page PS/PCL output file but that single page is also not correct. Please have the attached PDF file. C:\Program Files\gs\gs9.02\bin>gswin32c -dNOPAUSE -dBATCH -dSAFER -sDEVICE=ps2wr ite -dLanguageLevel=2 -dNOINTERPOLATE -sPAPERSIZE=a4 -sOutputFile="E:\snmp.ps" "E:\snmp-ppt.pdf" GPL Ghostscript 9.02 (2011-03-30) Copyright (C) 2010 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Processing pages 1 through 31. Page 1 Error: /VMerror in --.begintransparencygroup-- VM status: 3 691766 1994224 Current allocation mode is local Last OS error: 12 GPL Ghostscript 9.02: Unrecoverable error, exit code 1 C:\Program Files\gs\gs9.02\bin>gswin32c -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pxlco lor -dNOINTERPOLATE -sPAPERSIZE=a4 -sOutputFile="E:\snmp-pcl.pcl" "E:\snmp-ppt. pdf" GPL Ghostscript 9.02 (2011-03-30) Copyright (C) 2010 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Processing pages 1 through 31. Page 1 Error: /VMerror in --.begintransparencygroup-- VM status: 3 633964 1962976 Current allocation mode is local Last OS error: 12 GPL Ghostscript 9.02: Unrecoverable error, exit code 1
This is due to the fact that neither PXL nor PostScript supports the PDF transparency model. As a result, the content must be rendered to an image and that image placed in a relevant PXL/PS program. There is no provision to use a display list for this, so the whole area of transparency, at the designated resolution, must fit in memory. Since Cairo PDF files routinely designate the whole page as transparent this means the whole rendered bitmap must fit in memory. You don't have enough available memory to do so, so you get a VM error (surprise!) The default resolution of ps2write is 720 dpi, I don't know the default for PXL but I would suggest that you use the -r switch to reduce the resolution. *** This bug has been marked as a duplicate of bug 689805 ***