Applications should call abortDoc to cancel a print job.
See Also: endDoc, endPage, getPrintChoice, getPrinter, releasePrinter, startDoc, startPage
Applications should call endDoc when finished printing.
Refer to Printer for details.
See Also: abortDoc, endPage, getPrintChoice, getPrinter, releasePrinter, startDoc, startPage
Refer to Printer for details.
See Also: abortDoc, endDoc, getPrintChoice, getPrinter, releasePrinter, startDoc, startPage
This pops up the "Select Printer" dialog for the user to select a printer from.
pMaxPages specifies the maximum number of pages that a user can print, pFlags is additional flags for the dialog box. See the Microsoft documentation for details. It is either a sequence of flag values, in which case it replaces the default ones, or it is an atom of OR'd flags which are OR'd with the defaults (PD_ALLPAGES).
pPrintDlg is used for experts only. If zero, it is ignored. Otherwise it is the address of a PRINTDLG structure which has been correctly setup by the caller.
The returned sequence has the starting and ending pages that the user selected. If these are both 0, then the user only wants the current document selection printed. If these are both -1, then the user wants all pages printed.
copies is the number of copies to be printed.
printerDC is the Printer's Device Context. This is not normally used directly
but is available for advanced users.
collate is w32True if the user wants the output collated.
p2f is w32True if the user wants output to go to a file rather than the printer.
orient is either DMORIENT_PORTRAIT or DMORIENT_LANDSCAPE.
paper is the numeric code for the type of paper requested.
See also Printer
See Also: abortDoc, endDoc, endPage, getPrinter, releasePrinter, startDoc, startPage
This pops up the "Select Printer" dialog for the user to select a printer from. It defaults to a maximum of 999 pages.
See getPrintChoice for details about this routine.
See also Printer.
See Also: abortDoc, endDoc, endPage, getPrintChoice, releasePrinter, startDoc, startPage
The Printer must first be grabbed with getPrinter.
Refer to Printer for details.
See Also: abortDoc, endDoc, endPage, getPrintChoice, getPrinter, startDoc, startPage
Start a new document on the Printer.
The jobname parameter can either be the name of the job as seen by the system or
{ jobname, filename }. If filename is "", then the default of "FILE:" is used.
If the filename is specified, the document is sent to the file rather than the printer device.
If the filename is "FILE:" then the user will be prompted for the name of the file to use.
Refer to Printer for details.
See Also: abortDoc, endDoc, endPage, getPrintChoice, getPrinter, releasePrinter, startPage
Refer to Printer for details.
See Also: abortDoc, endDoc, endPage, getPrintChoice, getPrinter, releasePrinter, startDoc