well im still having this problem with reports, my code is:
Dim reportName As String
reportName = "name of the report"
Dim fileName As String
fileName = "PathOfFile which contain the path of the scanned image"
DoCmd.OutputTo acOutputReport, reportName, acFormatPDF, fileName...