Applications should call abortDoc() to cancel a print job.
See Also: checkPrinter, endDoc, endPage, getDefaultPrinter, getDefaultPrinterName, getPageSetup, getPageSetupEx, getPrintChoice, getPrinter, getPrinterName, newPrinter, releasePrinter, setPrintJobProperty, startDoc, startPage
If the passed flag is 0, and there is a printer, it won't be released. If there is no printer, getPrinterChoice() will be invoked. If still no printer is selected, the procedure raises an error.
See Also: abortDoc, endDoc, endPage, getDefaultPrinter, getDefaultPrinterName, getPageSetup, getPageSetupEx, getPrintChoice, getPrinter, getPrinterName, newPrinter, releasePrinter, setPrintJobProperty, startDoc, startPage
Applications should call endDoc() when finished printing.
Refer to Printer for details.
See Also: abortDoc, checkPrinter, endPage, getDefaultPrinter, getDefaultPrinterName, getPageSetup, getPageSetupEx, getPrintChoice, getPrinter, getPrinterName, newPrinter, releasePrinter, setPrintJobProperty, startDoc, startPage
Refer to Printer for details.
See Also: abortDoc, checkPrinter, endDoc, getDefaultPrinter, getDefaultPrinterName, getPageSetup, getPageSetupEx, getPrintChoice, getPrinter, getPrinterName, newPrinter, releasePrinter, setPrintJobProperty, startDoc, startPage
The other printing options are the onez that were set on the last printing attempt or subsequent calls to setPrintJobProperty().
See Also: abortDoc, checkPrinter, endDoc, endPage, getDefaultPrinterName, getPageSetup, getPageSetupEx, getPrintChoice, getPrinter, getPrinterName, newPrinter, releasePrinter, setPrintJobProperty, startDoc, startPage
See Also: abortDoc, checkPrinter, endDoc, endPage, getDefaultPrinter, getPageSetup, getPageSetupEx, getPrintChoice, getPrinter, getPrinterName, newPrinter, releasePrinter, setPrintJobProperty, startDoc, startPage
This calls getPageSetupEx() using the default flags of ...
See Also: abortDoc, checkPrinter, endDoc, endPage, getDefaultPrinter, getDefaultPrinterName, getPageSetupEx, getPrintChoice, getPrinter, getPrinterName, newPrinter, releasePrinter, setPrintJobProperty, startDoc, startPage
Flags are zero or more of these flags or'd together:
Passing an empty sequence will use whatever last value iwas stored for the page setup flags.
The return values are ...
This also sets the printer to the user's selection.
See Also: abortDoc, checkPrinter, endDoc, endPage, getDefaultPrinter, getDefaultPrinterName, getPageSetup, getPrintChoice, getPrinter, getPrinterName, newPrinter, releasePrinter, setPrintJobProperty, 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). If pFlags is {}, the current value for the JP_PrintFlags job property will be used.
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.
flags is the state of the print dialog after user interaction.
See also Printer
See Also: abortDoc, checkPrinter, endDoc, endPage, getDefaultPrinter, getDefaultPrinterName, getPageSetup, getPageSetupEx, getPrinter, getPrinterName, newPrinter, releasePrinter, setPrintJobProperty, 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, checkPrinter, endDoc, endPage, getDefaultPrinter, getDefaultPrinterName, getPageSetup, getPageSetupEx, getPrintChoice, getPrinterName, newPrinter, releasePrinter, setPrintJobProperty, startDoc, startPage
See Also: abortDoc, checkPrinter, endDoc, endPage, getDefaultPrinter, getDefaultPrinterName, getPageSetup, getPageSetupEx, getPrintChoice, getPrinter, newPrinter, releasePrinter, setPrintJobProperty, startDoc, startPage
If flag is set, all properties that had been set using setPrintJobProperty() will be applied to the new printer. Otherwise, the default new printer configuration will be in force.
See Also: abortDoc, checkPrinter, endDoc, endPage, getDefaultPrinter, getDefaultPrinterName, getPageSetup, getPageSetupEx, getPrintChoice, getPrinter, getPrinterName, releasePrinter, setPrintJobProperty, startDoc, startPage
The Printer must first be grabbed with getPrinter.
Refer to Printer for details.
See Also: abortDoc, checkPrinter, endDoc, endPage, getDefaultPrinter, getDefaultPrinterName, getPageSetup, getPageSetupEx, getPrintChoice, getPrinter, getPrinterName, newPrinter, setPrintJobProperty, startDoc, startPage
Using the w32GetValue pseudo value will cause the current property value to be returned without attempting to set it. This function is typically used after a call to newPrinter() to set a few settings without the user having to interact with a print/page setup dialog box. Changes will be effective on the next call to getPrinter().
Recognised properties, and respective meanings of new_value, are:
The first properties (JP_From/To/Min/MaxPage) only affect the print dialog box, not the printer itself. You can control which pages are printed in the contents of a RichEdit control by using printRichEditPages(). In later versions, startPage() may be modified to take these parameters into account.
See Also: abortDoc, checkPrinter, endDoc, endPage, getDefaultPrinter, getDefaultPrinterName, getPageSetup, getPageSetupEx, getPrintChoice, getPrinter, getPrinterName, newPrinter, releasePrinter, 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, checkPrinter, endDoc, endPage, getDefaultPrinter, getDefaultPrinterName, getPageSetup, getPageSetupEx, getPrintChoice, getPrinter, getPrinterName, newPrinter, releasePrinter, setPrintJobProperty, startPage
Refer to Printer for details.
See Also: abortDoc, checkPrinter, endDoc, endPage, getDefaultPrinter, getDefaultPrinterName, getPageSetup, getPageSetupEx, getPrintChoice, getPrinter, getPrinterName, newPrinter, releasePrinter, setPrintJobProperty, startDoc