Printer.startJob

bool startJob(int pagecount = 0)

Starts a print job.

This opens the system print dialog and allows the user to select a printer and configure print settings.

Parameters

pagecountNumber of pages (0 for unknown)

Returns

true if job started successfully, false if cancelled or error
bool startJob(int pagecount, out int fromPage, out int toPage)

Starts a print job with page range output.

Parameters

pagecountNumber of pages (0 for unknown)
fromPageOutput: starting page number selected by user
toPageOutput: ending page number selected by user

Returns

true if job started successfully, false if cancelled or error