Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending report directly to printer - no preview page

Status
Not open for further replies.

mclosson

Programmer
Mar 19, 2001
24
CA
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top