I have an asp page with a 'print' button on it. I would like to make it so that when the button is clicked, crystal will send the report directly to the printer and will not show the preview page. I've tried using the printout and PrintReport method, but can't seem to get it to work.
The following is just a bit of my code - the part where I would like to send the data to the printer (session("oRpt) is the report object):
if printnow = "true" then
session("oRpt"
.printout true
else
...
end if
If anyone has any suggestions they would be greatly appreciated. Thank you,
Mike Closson
The following is just a bit of my code - the part where I would like to send the data to the printer (session("oRpt) is the report object):
if printnow = "true" then
session("oRpt"
else
...
end if
If anyone has any suggestions they would be greatly appreciated. Thank you,
Mike Closson