transactions.printReceiptToPDF
Print a receipt to a PDF file (requires Bullzip to be installed).
transactionID number
filename string
pageWidth int
success bool
local transactionID = 60000
local transactionNumber = transactions.transactionIDToTransactionNumber(transactionID)
local pdfFilename = "C:\\Temp\\Receipt_" .. transactionNumber .. ".pdf"
local pageWidth = 1700
transactions.printReceiptToPDF(transactionID, pdfFilename, pageWidth)
Bullzip PDF Printer must be installed.
Supports concurrent jobs.
Generated on the 26 June 2024 at 22:01:29 (UK Time)