FLTK 1.3.x

Fl_PostScript_Printer Class Reference

Print support under Unix/Linux. More...

#include <Fl_Printer.H>

Inheritance diagram for Fl_PostScript_Printer:
Fl_PostScript_File_Device Fl_Paged_Device Fl_Surface_Device Fl_Device

List of all members.

Public Member Functions

int start_job (int pages, int *firstpage=NULL, int *lastpage=NULL)
 Starts a print job.

Static Public Attributes

static const char * class_id = Fl_Printer::class_id
 A string that identifies each subclass of Fl_Device.

Protected Member Functions

 Fl_PostScript_Printer (void)
 The constructor.

Friends

class Fl_Printer

Detailed Description

Print support under Unix/Linux.

Class Fl_PostScript_Printer is implemented only on the Unix/Linux platform. It has no public constructor. Use Fl_Printer instead that is cross-platform and has the same API.


Member Function Documentation

int Fl_PostScript_Printer::start_job ( int  pagecount,
int *  frompage = NULL,
int *  topage = NULL 
) [virtual]

Starts a print job.

Parameters:
[in]pagecountthe total number of pages of the job
[out]frompageif non-null, *frompage is set to the first page the user wants printed
[out]topageif non-null, *topage is set to the last page the user wants printed
Returns:
0 iff OK

Reimplemented from Fl_Paged_Device.


Member Data Documentation

A string that identifies each subclass of Fl_Device.

Function class_name() applied to a device of this class returns this string.

Reimplemented from Fl_PostScript_File_Device.


The documentation for this class was generated from the following files: