Pike v8.1 release 6

Method GTK2.SourcePrintJob()->get_page_count()


Method get_page_count

int get_page_count()

Description

Determines the total number of pages the job will print. The returned value is only meaningful after pagination has finished. In practice, for synchronous printing this means when "begin_page" is emitted, or after print_range_async() has returned.