PDA

View Full Version : Print crystal report on the web


petertran123
12-17-2002, 08:56 PM
Hello all

i have create a bank check file on SQL database and want clients to be able to print them out. Is anyone out there has a simple code for online printing version or reference to any URL would be appreciate it.

**This is a small example i'm talking about. So you can have an idea***

on the web form i have a whole bank check list with each checkbox sit next to them. When i selected or clicked on checkbox and click on print button, then sent the check to printer without printer window dialogue popup. There is a reason because i don't want them print out more than one check. After they print out the check and database will update to zero and not allow them to print check again. I know this will cause a confusion for you, but please help me as your wiset. I'm truly appreciate it.

Thanks

whammy
12-19-2002, 01:00 AM
I wish I knew how to help you in this instance, but I'd probably have to have a first-hand look at your application and see for myself what you're trying to do. Sounds rough. :(

:confused:

allida77
12-19-2002, 02:33 AM
So are you using Crystal? If not I have recently started using the @Print media type in CSS. Check out this
thread (http://codingforums.com/showthread.php?s=&threadid=9856) . What I do is have an iframe on my page that holds the page to be printed. On the parent page when they click print I pass the id to the iframe and submit it. On the submit I execute a javscript that prints the page.

If you have Crystal, I would have to work with that a little. I use Crystal alot but never done anything like you are asking.

petertran123
12-19-2002, 04:16 PM
Allida77 thanks for sharing information. Yes, i'm using crystal report to printing directly to printer without windows dialog popup.

Whammy, as you know i'm a beginner of asp coder. This is an idea i'm having, but i have no idea how to start it.....I heard lot of people mention about prining on the web through ASP.NET then i would like to have one ahead....

I already have a version written in VBA windows printing, but not on the web.. i have code in VBA do you want to take a look at it, if is it a yes then please let me know.

Thanks so much for your kindness