Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Prints the XFF file to the specified printer.


Code Block
XFRXDraw::Object.PrintDocument(tcPrinterName, tcJobname, 
 
                      tnFrom [, tnTo [, tcDEVMODE 
 
                      [, tnPagesPerSheet [, tnAllEvenOdd
 
                      [, tnCopies [, tnUnderlineHyperlinksOnPrint
 
                      [, laFindString [, lcOutput]]]]]]]])

Return values

...

Parameters

tcPrinterName
   Then name of the printer to which the document will be sent

...

Alternatively, tnFrom can contain a string value, containing the pages numbers separated by commas and ranges separated by dashes, e.g.:

“1,2,5-6,8,20-30”

Return values

-100 … cannot initialize printer device
-101 … cannot initialize printer driver
-102 … cannot initialize DEVMODE structure
     0 … no errors

Remarks

Applies To: XFRX#DRAW, XFRX#XML