Home > error rangecheck > error /rangecheck in .installpagedevice

Error /rangecheck In .installpagedevice

Log In [x] | Forgot Password Login: [x] First Last Prev Next This bug is not in your last search results. Bug695468 - /rangecheck in .installpagedevice error when combining LockDistillerParams, setpagedevice, and restore Summary: /rangecheck in .installpagedevice error when combining LockDistillerParams, s... Status: RESOLVED FIXED Product: Ghostscript Classification: Unclassified Component: PDF Writer Version: 9.14 Hardware: PC Windows 7 Importance: P4 minor Assigned To: Ken Sharp QA Contact: Bug traffic URL: Keywords: Depends on: Blocks: Show dependency tree /graph Reported: 2014-09-03 22:21 PDT by Nick Phillips Modified: 2014-09-05 07:04 PDT (History) CC List: 0 users See Also: Customer: Word Size: --- Attachments Very minimal test case (76 bytes, application/postscript) 2014-09-03 22:21 PDT, Nick Phillips Details View All Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Nick Phillips 2014-09-03 22:21:36 PDT Created attachment 11153 [details] Very minimal test case When LockDistillerParams is true, and we call setpagedevice within a save/restore block, the restore fails as below: Error: /rangecheck in .installpagedevice Based on the Adobe docs it sounds like LockDistillerParams should not cause any failure it should just cause requested changes to be ignored. Also I'm not sure whether it should interact with setpagedevice like this. This is tested with version 9.14 on Windows 7 32-bit as below. gswin32c.exe -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=test.pdf -c "<< /LockDistillerParams true >> setdistillerparams" -f test.ps The attached file is as minimal as I can get. Our real world usage is to provide 2 input files (the saved Adobe Distiller options, and the PS file produced from a document composition tool). If the restore or setpagedevice lines are removed it works, and regardless it does produce a working file but we prefer not to just ignore error messages in our automated processing environment. Comment 1 Ken Sharp 2014-09-04 02:08:20 PDT The problem is the insane setpagedevice implementation. When we restore back to the state prior to the setpagedevice (page device configuration is affected by gsave/grestore), we set the page device by using .installpagedevice which insists that all the keys must be processed (unlike normal setpagedevice). Now we store the distiller params in the page device structure, so they too (properly) follow gsave and grestore. The problem is that if LockDistillerParams is set, pdfwrite doesn't bother to process the distiller params. This leaves the keys unproc

was "aborted". In the log file, I found that therewas a Postscript error generated in the "pstoraster" stage. I canreproduce the error with the following command:gs-esp -dNOPAUSE -sDEVICE=cups -sOUTPUTFILE=/dev/null foo.psError: /rangecheck in .installpagedeviceOperand stack:--nostringval-- --dict:70/71(ro)(G)-- --nostringval--Execution stack:%interp_exit .runexec2 --nostringval-- --nostringval----nostringval-- 2 %stopped_push --nostringval-- --nostringval----nostringval-- false 1 %stopped_push 1 3 %oparray_pop 13 %oparray_pop 1 http://bugs.ghostscript.com/show_bug.cgi?id=695468 3 %oparray_pop .runexec2 --nostringval----nostringval-- --nostringval-- 2 %stopped_push --nostringval--1 3 %oparray_pop --nostringval-- 1 3 %oparray_pop--nostringval-- --nostringval-- --nostringval-- --nostringval--Dictionary stack:--dict:1048/1123(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)--Current allocation mode is localCurrent file position is 233ESP Ghostscript 7.05.4: Unrecoverable error, exit code 1The Postscript file was a huge file produced by http://cups-bugs.easysw.narkive.com/QExAhyU9/error-rangecheck-in-installpagedevice Interleaf, but Ireduced it to the following:%!PS-Adobe-3.0/inch { 72 mul } def/skiphead save defstatusdict begin 8.824 inch 6.617 inch 0.000 inch 0 setpageparams end/Times-Roman findfont 12 scalefont setfont72 72 moveto (Hello, World!) showshowpageskiphead restoreThe problem disappears when I either remove the statusdict line or theskiphead line. I can also display the file on screen with "gs". Isthis a problem of the cups driver, or is the Postscript invalid?--Dick Streefland //// De Biltdick.streefland-qWit8jRvyhVmR6Xm/***@public.gmane.org (@ @) The Netherlands------------------------------oOO--(_)--OOo------------------ Mike Sweet 2003-05-14 00:14:03 UTC PermalinkRaw Message Post by Dick StreeflandToday, I ran into a Postscript file that couldn't be printed withCUPS. The job state was "aborted". In the log file, I found that therewas a Postscript error generated in the "pstoraster" stage. I can...Please file a STR at:http://www.cups.org/str.php-

have seen this problem with a couple of different postscript files. It seems to happen http://computer-programming-forum.com/36-postscript/937b5342deb30d53.htm on pages where a figure is present. I https://bugs.debian.org/372608 am postscript and ghostscript ignorant. How can I work around this? And what is the problem anyways? thanks. -- roz Below is the dump from gsview. Loaded Ghostscript DLL C:\GSTOOLS\gs5.10\gsdll32.dll Aladdin Ghostscript 5.10 (1997-11-23) Copyright error /rangecheck (C) 1997 Aladdin Enterprises, Menlo Park, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Displaying DSC file C:/My Documents/Rozanna/usf/ai learning/octhesis/thesis_nolargefig_ps.ps Displaying page 1 Displaying page 2 Displaying page 3 Displaying page 4 Displaying page 5 Displaying page error /rangecheck in 6 Displaying page 7 Displaying page 8 Displaying page 9 Displaying page 10 Displaying page 11 Displaying page 12 Displaying page 13 Loading NimbusRomNo9L-Regu font from C:\GSTOOLS\gs5.10\fonts\n021003l.pfb... 1892392 572724 1561260 263563 2 done. Loading NimbusRomNo9L-Medi font from C:\GSTOOLS\gs5.10\fonts\n021004l.pfb... 1932572 613025 1561260 265257 2 done. Unrecoverable error: rangecheck in .installpagedevice Operand stack: --nostringval-- --nostringval-- --- Begin offending input --- 7.17 356.95 T (ee:) 104.83 356.95 T FMENDPAGE %%EndDocument (astronom)o(y)e(data)h(set)g(and)g(a)g(tree)g(generated)g(from)f(it.)20 b(No)q(des)15 b(in)g(b)q(old)150 2209 y(face)g(are)g(dec --- End offending input --- file offset = 282658 gsdll_execute_cont returns -15 Wed, 24 Jan 2001 03:00:00 GMT Mike Barfiel#2 / 3 Unrecoverable error: rangecheck in .installpagedevice ------snip------snip------snip------snip------snip------snip------snip------ Ghostscript version: 5.10 Where you got Ghostscript: Alladin site Hardware you are using: pc/pentium Operating system you are using: Windows 95 (If you compiled Ghostscript yourself) C compiler

for ghostscript is src:ghostscript. Reported by: Olivier Berger Date: Sat, 10 Jun 2006 16:33:05 UTC Severity: normal Found in versions gs-esp/8.15.1.dfsg.1-2, gs-esp/8.15.2.dfsg.1-1 Fixed in version ghostscript/9.05~dfsg-6 Done: bastien ROUCARIES Bug is archived. No further changes may be made. Toggle useless messagesView this report as an mbox folder, status mbox, maintainer mbox Report forwarded to debian-bugs-dist@lists.debian.org, Masayuki Hatta (mhatta) : Bug#372608; Package gs-esp. Full text and rfc822 format available. Acknowledgement sent to Olivier Berger : New Bug report received and forwarded. Copy sent to Masayuki Hatta (mhatta) . Full text and rfc822 format available. Message #5 received at submit@bugs.debian.org (full text, mbox, reply): From: Olivier Berger To: Debian Bug Tracking System Subject: gs-esp launched by cupsys failes on cups PS test pages : Error: /rangecheck in .installpagedevice Date: Sat, 10 Jun 2006 18:05:12 +0200 Package: gs-esp Version: 8.15.1.dfsg.1-2 Severity: normal When printing on my cups-operated server from a remote machine, sending the printer test page from gnome-cups-manager, gs-esp fails with the following error (copy-pasted from cups error_log after activating debug for the logs) : D [10/Jun/2006:17:40:27 +0200] [Job 1994] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs\ -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 5600" -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dDuplex=false -r300\ -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=-\ - D [10/Jun/2006:17:40:27 +0200] [Job 1994] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsSe\rver=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 5600' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-dDu\plex=false' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7' '-dIjsUseO\utputFD' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2 D [10/Jun/2006:17:40:28 +0200] [Job 1994] Wrote 1 pages... D [10/Jun/2006:17:40:28 +0200] PID 7728 (/usr/lib/cups/filter/pstops) exited with no errors. D [10/Jun/2006:17:40:28 +0200] [Job 1994] D [10/Jun/2006:17:40:28 +0200] [Job 1994] Closing renderer D [10/Jun/2006:17:40:28 +0200] [Job 1994] Error: /rangecheck in .installpage

 

Related content

doxygen error rangecheck

Doxygen Error Rangecheck table id toc tbody tr td div id toctitle Contents div ul li a href What Is A Range Check Error a li li a href Pdf Error Postscript Error Rangecheck a li ul td tr tbody table p Thu Aug UTC Severity fixed Tags help upstream Merged with relatedl Found in version - Done Christopher C error rangecheck offending command image Chimelis chris debian org Bug is archived No further changes may be made Forwarded p h id What Is A Range Check Error p to bug-binutils gnu org Toggle useless messagesView this report as an

error /rangecheck ghostscript

Error rangecheck Ghostscript p to you by cliddell marcosw milesjones rayjj Summary relatedl Files Reviews Support Wiki Tickets Feature Requests Support Requests Patches News Discussion Code Create Topic Stats Graph Forums Help Open Discussion Help Formatting Help Error rangecheck in --showpage-- Forum Help Creator Massimo Created - - Updated - - Massimo - - - When I run ghostscript sometimes I receive C gs gs bin gswin c exe -dSAFER -dBATCH -dAlignT oPixels -dGridFitTT -sDEVICE tiff nc -dTextAlphaBits -dGraphicsAlphaBits -r -sOUTPUTFILE C test temporary tiff c temp Formia-Via Co lombo A pdf GPL Ghostscript - - Copyright C Artifex Software

error /rangecheck in /findfont

Error rangecheck In findfont table id toc tbody tr td div id toctitle Contents div ul li a href Ghostscript a li ul td tr tbody table p postings relatedl pertaining to the usage of error rangecheck offending command image ImageMagick regardless of the interface This includes the p h id Ghostscript p command-line utilities as well as the C and C APIs Usage questions are like How do I use ImageMagick to create drop shadows Post Reply Print view Search Advanced search posts bull Page of lowglow error converting PDF- JPG Quote Postby lowglow raquo - - T -

error rangecheck in run

Error Rangecheck In Run table id toc tbody tr td div id toctitle Contents div ul li a href Error Rangecheck Offending Command Setpagedevice a li li a href Pdf Error Postscript Error Rangecheck a li ul td tr tbody table p not in p h id Error Rangecheck Offending Command Setpagedevice p your last search results Bug - Error rangecheck in error rangecheck offending command image --run-- Summary Error rangecheck in --run-- Status RESOLVED INVALID Product Ghostscript Classification Unclassified Component p h id Pdf Error Postscript Error Rangecheck p PDF Interpreter Version master Hardware All All Importance P normal

error rangecheck in put

Error Rangecheck In Put table id toc tbody tr td div id toctitle Contents div ul li a href Error Rangecheck Offending Command Image a li li a href Pdf Error Postscript Error Rangecheck a li li a href What Is A Range Check Error a li ul td tr tbody table p the RIP tries to process a value that is too small or large This can for instance happen relatedl when you accidentally ask for an output size that error rangecheck offending command setpagedevice is larger than what the output device supports These are some p h id

error rangecheck in doxygen

Error Rangecheck In Doxygen table id toc tbody tr td div id toctitle Contents div ul li a href Doxygen Command Line a li li a href Doxygen Brief a li li a href How To Use Doxygen a li li a href Doxygen Download a li ul td tr tbody table p has a build in preprocessor but this works slightly different than the C preprocessor Doxygen assumes a header file is properly relatedl guarded against multiple inclusion and that each include file doxygen not generating documentation is standalone i e it could be placed at the top of

error rangecheck in pdfmark

Error Rangecheck In Pdfmark p Memory leaks during rendering clist Next message gs-bugs Bug Error rangecheck in --pdfmark-- Messages sorted by date relatedl thread subject author http bugs ghostscript com show bug cgi id Summary Error rangecheck in --pdfmark-- Product Ghostscript Version Platform PC OS Version Windows Status UNCONFIRMED Severity normal Priority P Component PS Interpreter AssignedTo support at artifex com ReportedBy rmelcher at its jnj com QAContact gs-bugs at ghostscript com I'm new to Ghost Script so please excuse any dumb questions or answers Converting a large Postscript MB pages book marks pdfmark to PDF version and job fails

error rangecheck in cvrs

Error Rangecheck In Cvrs p Printing -XML -Clone This Bug -Last relatedl Comment First Last Prev Next This bug is not in your last search results Bug - RHEL ghostscript rangecheck in --cvrs-- Summary RHEL ghostscript rangecheck in --cvrs-- Status CLOSED ERRATA Aliases None Product Red Hat Enterprise Linux Classification Red Hat Component ghostscript Show other bugs Sub Component --- Version Hardware All Linux Priority low Severity medium TargetMilestone rc TargetRelease Assigned To Tim Waugh QA Contact QE Internationalization Bugs Docs Contact URL Whiteboard Keywords Duplicates view as bug list Depends On Blocks Show dependency tree graph Reported - -

error rangecheck in ghostscript

Error Rangecheck In Ghostscript p to you by cliddell marcosw milesjones rayjj relatedl Summary Files Reviews Support Wiki Tickets Feature Requests Support Requests Patches News Discussion Code Create Topic Stats Graph Forums Help Open Discussion Help Formatting Help Error rangecheck in --run-- Forum Help Creator Petri Ikonen Created - - Updated - - Petri Ikonen - - - Hi I'm using ghostscript to convert original digital newspaper pages to grayscale For most of the pdf-files the process completes ok but for a few files I get an error saying GPL Ghostscript - - Copyright C Artifex Software Inc All rights

error rangecheck offendingcommand setpagedevice

Error Rangecheck Offendingcommand Setpagedevice p line This error is more common on old PostScript level RIPs than on Level or PostScript devices Sometimes it is not the document that is too complex relatedl but the RIP or printer has certain limitations General solutions Reduce the complexity of the file In a lot of cases redesigning the document to make it less complex can get around limitcheck errors Breaking up the print job in smaller entities can also do the trick Print only one page or even one color at the time Send your page without including the images to see

error rangecheck offendingcommand endcidrange

Error Rangecheck Offendingcommand Endcidrange p OffendingCommand endcidrange when creating PDF from Access Report - Adobe Acrobat Windows I also get the message when trying to print to PDF from Access relatedl ProductName Distiller Error rangecheck OffendingCommand endcidrange and the font I use throughout my Access report is Times New Roman As above when I delete the vertical text I don't get the error Any other ideas Thread Tools Show Printable Version Email this Page hellip Subscribe to this Thread hellip Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode May th PM Re Error rangecheck OffendingCommand endcidrange when

error rangecheck in ps2pdf

Error Rangecheck In Ps pdf p by vesse vesse utsjokelainen com Date Tue Oct UTC Severity important Tags upstream Found in version relatedl gs-esp rc dfsg - Fixed in versions ghostscript dfsg- dfsg - Done Jonathan Nieder jrnieder gmail com Bug is archived No further changes may be made Forwarded to http bugs ghostscript com show bug cgi id Toggle useless messagesView this report as an mbox folder status mbox maintainer mbox Report forwarded to debian-bugs-dist lists debian org Masayuki Hatta mhatta mhatta debian org Bug Package gs-common Full text and rfc format available Acknowledgement sent to vesse vesse utsjokelainen