PostScriptFileDevice.startJob

bool startJob(void * output, int pagecount, PageFormat format = PageFormat.A4, PageLayout layout = PageLayout.PORTRAIT) @trusted

Starts a print job to a C FILE stream.

This is the non-interactive version that writes directly to a file without showing any dialogs.

Parameters

outputC FILE pointer to write PostScript output to
pagecountNumber of pages in the document
formatPage format (default: A4)
layoutPage layout/orientation (default: PORTRAIT)

Returns

true on success, false on error