vba - Access Default Printer only accepts manual paper feed -
we have hp laserjet 6p on our pos set default printer auto select paper source , vba code print:
dim stdocname string me.refresh stdocname = "retail receipt" dim prtr access.printer set application.printer = nothing set prtr = application.printer docmd.openreport stdocname, acnormal however print if there paper in manual feed tray have tried setting , , if try notepad prints fine must in access isn't allowing print
anyone have suggestions?
is print function print report directly? if so, can try behind button click:
private sub cmdprint_click() docmd.openreport "retail receipt", acviewnormal, "", "", acnormal docmd.runcommand accmdprint exit sub it should take default printer settings print directly.
Comments
Post a Comment