On Monday 20 July 2009 05:03:46 pm Carl Karsten wrote:
> > anyone know how
> > to get a page count from a pdf?
>
> OK, that's dumb.  Anyone know how I can get the page count from:
>
>    # generate the pdf in the buffer, using the layout and data
>    rw = dReportWriter(OutputFile=buffer, ReportFormFile=xmlfile, Cursor=ds)
>    rw.write()
>
> I am not opposed to adding a ABC header and counting the number of
> ABC's in the pdf.
>
> might be nice to add .pagecount to dReportWriter, but that won't help
> track down when the good/bad flip happened.

I found this.
http://code.activestate.com/recipes/546511/
Johnf



_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/200907201737.01626.jfabi...@yolo.com

Reply via email to