[gs-bugs] [Bug 692250] Add -sPages option

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Jun 23 14:22:27 UTC 2011


http://bugs.ghostscript.com/show_bug.cgi?id=692250

--- Comment #11 from cryptopsy at live.com 2011-06-23 14:22:27 UTC ---
(In reply to comment #10)
> (In reply to comment #9)
> 
> > and the ranges are managed with shell (for loops for specific ranges). For
> > automated splitting, there is still a problem - the error code is reported
> > incorrectly. 
> 
>  Which error code ?
> 
> 
> > ...would produce;
> > 'Requested FirstPage is greater than the number of pages in the file: 12
> >    No pages will be processed (FirstPage > LastPage).'
> > 
> > This is wrong because
> > 1)  FirstPage > LastPage is wrong, as proven by specifying FirstPage=LastPage
> > in the range of the document.
> > 2) The error code for a succesful split is also 0. 
> 
> There is a limit to how much granularity is available in error reporting. Just
> because this particular extraction failed does not mean that the whole job
> failed. 
> 
> > The documentation has something to say, could someone clarify this?
> > # elinks /usr/share/doc/ghostscript-gpl-8.71-r6/html/Use.htm
> > ...
> >    Note however that the one page per file feature is not supported by all     
> >    devices; in particular it does not work with document-oriented output       
> >    devices like pdfwrite and pswrite. See the -dFirstPage and -dLastPage       
> >    switches below for a way to extract single pdf pages. 
> > ...
> 
> What clarification do you require ?

Spoke about it on IRC
< cryptopsy> why not implement a CONTINUE or KEEPGOING feature if they don't
want to fail the 100 page job?
< kens> cryptopsy : that's a lot of effort, espcially to write something in
PostScript.
< kens> But the PDF itnerpreter expert is alexcher, you can try and persuade
him.

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list