Run the command gs -sDEVICE=bjc600 -sOutputFile=x ~/walking-map-portland-1.pdf and when >>showpage, press <return> to continue<< appears, press return. Then you get Error: /rangecheck in .installpagedevice Operand stack: --nostringval-- false --nostringval-- --dict:59/72(ro)(L)-- --nostringval-- Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1905 1 3 %oparray_pop 1904 1 3 %oparray_pop 1888 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- 1834 3 7 %oparray_pop --nostringval-- 1818 3 7 %oparray_pop --nostringval-- --nostringval-- Dictionary stack: --dict:1153/1684(ro)(G)-- --dict:1/20(G)-- --dict:97/200(L)-- --dict:97/200(L)-- --dict:106/127(ro)(G)-- --dict:275/300(ro)(G)-- --dict:21/25(L)-- Current allocation mode is local Last OS error: 2 GPL Ghostscript 8.63: Unrecoverable error, exit code 1 Same happens for bjc800. I am not sure but it is possible that when the error occurs that the one page to be printed is already complete in the output file.
The test file here is the same as the first attachment on Bug 690025. Confirmed with HEAD (r9000).
Created attachment 4313 [details] partial fix This patch fixes one issue - a float promoted to double is not equal to the original double. The sample file still doesn't run. So there must be other bugs somewhere.
Fixed in SVN revision 9173.
In addition to my fix the attched patch is also included in my commit.