Create the printer job component.
Usually the system passes you a printer when you make a request or when the end user specifies a print operation by dragging a document onto a printer. You can also resurrect one you've kept with the folio or flattened in some data dictionary somewhere; you cannot create one from scratch.
Currently, you must construct the printer before you can use it. Future releases of the system will provide TPrinter objects. To instantiate a
printer, use:
TPrinterprinter(kSystemPrinter); // This is temporary only
This creates a printer object representative of the system default printer. To get a job description, just ask the printer to create one for you.
TPrintJobDescription
jobDescription(printer.CreateJobDescription(),);