Print to a Windows Printer
To print the same layout and data, replace the PDF output settings and PrintForm call in Create a PDF with Your Layout with:
printJob.PrinterType = 1 ' Windows printer (PrinterType_Win32)
printJob.PrinterName = "YOUR_WINDOWS_PRINTER"
printJob.PrintForm
Replace YOUR_WINDOWS_PRINTER with an installed Windows printer name. To use the current user's default printer instead, set printJob.PrinterName = "". Remove the PDF OutputName assignment; the result is sent to the selected print queue, not written to a PDF file. Check the queue and printed output rather than opening tformer-output.pdf.