Dim PDF As ABPDFBox ' ABM component - supplied to contributors
If File.Exists(pdfFolder,fn&".pdf") Then
' fprinter is derived from an ini... It defines the printer to direct output to - could be a network printer - as in my case
If fprinter <> "" Then
PDF.Print ( pdfFolder, fn&".pdf", fprinter, 1, True)
Sleep(1000)
' call DeletePdf(fn) to remove the file (clean up)
Else
' Log(" _____----______ No Printer defined - stored for viewing later...")
End If
Else
Log(" File PDF not found: "&fn&".pdf")
End If