TE Edit Control Java / HTML-JavaScript Help
Product page

TerSetPrinter

Set new printer selection information.

boolean TerSetPrinter( PrtSvc, PageFmt, ModDoc)
PrintService PrtSvc;New PrintService object
PageFormat PageFmt;New PageFormat object.
boolean ModDoc;Set to true to update the current document using the page-size, page-orienataion and bin values from the specified PageSettings object. The values are applied to all sections in the document.

Description: This function is used to set the new printer selection information.

Return Value: The function returns a true value when successful..