Link to home
Start Free TrialLog in
Avatar of edonasan
edonasan

asked on

Print direct from ASP button event

Hi,

I developed my application using ASP.NET, CR 8, and connecting to SQL database.

I can preview my report sucessfully with the standard CR 8 Web server pages included,
AlwaysRequiredSteps.asp,
SmartViewerActiveX.asp,
rptserver.asp.

I have a particular requirement to print the report from my Web control Button, instead of showing in a Preview window and print from clicking the print icon on top of the preview window.

eg. print a request form, when the user clicks "Print" button, it directly prints to the printer, instead of showing the request in preview window.

Is it possible?
And if yes, how do i shd i go abt doing it?

Pls advise.
Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mike McCracken
Mike McCracken

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of edonasan

ASKER

Thanks alot for ur comments.
I juz came back from my sick leave, sorry for the delay.
i'll try out the options and let u guys know the result.

will get back.
This question has been classified abandoned. I will make a recommendation to the moderators on its resolution in a week or two. I appreciate any comments that would help me to make a recommendation.

Unless it is clear to me that the question has been answered I will recommend delete. It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.


If the user does not know how to close the question, the options are here:
https://www.experts-exchange.com/help/closing.jsp

mnye
EE Cleanup Volunteer
One or the other suggestion should have solved the problem.  Suggest a split of the points.

mlmcc
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept/Split - mlcmm & dbirdman

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

mnye
EE Cleanup Volunteer
Nice typing.  Been at this long tonight?

mlmcc and dbirdman

mlmcc
mlmcc,

is it really annoying getting all the notices for these clean ups?  i feel bad cause i know you get 9 out of 10 of the messages i post. let me know if theres a better way of going about doing this.  the mods suggested posting that preliminary message to try and get the poster to close out the question, so thats why i do that. thanks for the responces in helping to make a decision.

mnye
I guess I would prefer if the clean-up was simply give someone the points but in many cases the clean-up person may not know if the question might have been answered.   Since an expert expended effort and I believe many of the questioners have disappeared or found other names, the expert deserves credit if it is due.

I really don't mind looking them over and making a recommendation.  In fact I considered becoming one of the cleanup people but I saw in several of the other areas where I participate the cleanup person was many times taking the points for his or herself which I didn't feel was overly kosher.

I enjoy working the issues with people and have enough to do without taking on the task you did.  

My only real complaint is the other night I know you were busy because I had about 140 cleanup message many of them from you.

I thank you for trying to cleanup and reduce the load.  I will continue to respond when I feel it is helpful.  If I don't respond it is probably because I don't have a solid opinion on whether someone deserves the points.

mlmcc
ill do my best to space out the batches. usually try to limit it to 2 or 3 pages at a time, but i havent done any in a while so i did a double load. thanks again.

mnye
Its a shame there isn't a way in the message or subject to indicate this is cleanup so I could concentrate on "active" messages first.

mlmcc
you should make that recomedation in community TA. good idea.

mnye
Hi,

I developed my application using ASP, CR 9, and connecting to Oracle database.

I can preview my report sucessfully using
ViewerActiveX.asp,
rptserver.asp.

I need print the report directly  to the printer, instead of showing the request in preview window.

Is it possible?

I alredy used
CRViewer.PrintReport

but it does not work.  



Thanks.

André Britto