{Object}/Print[(Destination=String,ReportFileName=String,Format=String,PrinterName=String,FileName=String,Intent=String,CashSale=String)]
{Object}/PrintSheet[(Destination=String,ReportFileName=String,Format=String,PrinterName=String,FileName=String,Intent=String)]
The Print and PrintSheet Web Service Functions print an object. You can optionally specify the Destination, Report File Name, Format, Printer Name, File Name and Intent.
Print can be used with the following objects:
PrintSheet can be used with the following objects:
Print function syntax has these named arguments:
Parameter |
Description |
Destination |
Optional. Specify the print destination. |
Report File Name |
Optional. Specify the report file name. |
Format |
Optional. The printing format. |
Printer Name |
Optional. The name of the printer to print to. |
File Name |
Optional. The name to save the printed report. |
Intent |
Optional. Specify the delivery intent from Inline or Attachment. Defaults to Inline. |
Cash Sale |
Optional. Only available for IN Invoices. Can be set to True or False to print the invoice as a Cash Sale. |
See Web Service Functions for sample code to access Web Services. Sample web service end point syntax to print the IN Invoice with Document ID 1 is:
Response = MakeCall("INInvoice('1')/Print(intent=attachment)")