#include <Fl_Printer.H>
Public Member Functions | |
int | start_job (int pages, int *firstpage=NULL, int *lastpage=NULL) |
Starts a print job. | |
Static Public Attributes | |
static const char * | device_type |
A string that identifies each subclass of Fl_Device. |
Class Fl_PostScript_Printer is implemented only on the Unix/Linux platform. Use Fl_Printer instead that is cross-platform and has the same API. Fl_Printer is typedef'ed to Fl_PostScript_Printer under Unix/Linux.
int Fl_PostScript_Printer::start_job | ( | int | pagecount, | |
int * | frompage = NULL , |
|||
int * | topage = NULL | |||
) | [virtual] |
Starts a print job.
[in] | pagecount | the total number of pages of the job |
[out] | frompage | if non-null, *frompage is set to the first page the user wants printed |
[out] | topage | if non-null, *topage is set to the last page the user wants printed |
Reimplemented from Fl_Paged_Device.
Reimplemented in Fl_Printer.
const char* Fl_PostScript_Printer::device_type [static] |
A string that identifies each subclass of Fl_Device.
Function type() applied to a device of this class returns this string.
Reimplemented from Fl_PostScript_File_Device.
Reimplemented in Fl_Printer.