Click to See Complete Forum and Search --> : Printing Output


thomas8
01-23-2003, 02:58 PM
When on a web page the output to the screen
is larger than than the screen so I have to slide right to see it.
The problem is:
When I try to print it out it only prints out what is on the screen (None of
the output to the right gets printed, just 80 char. not the whole 150 char.). Smaller fonts won't work because it would be so small the user could not read it ..

Can anyone post some code to show me how to be able to print all the print from left to right out... In Excel it will print 1-80 chars on 1 page and the remaing 81-150 on the next ..thats what I am looking for ..thanks ... THomas

Webskater
01-23-2003, 03:37 PM
I can't post code to help you but can suggest:

Get a report writer that has a web plug-in. Crystal Reports works on Windows based servers and integrates with IIS so you can can pass data from a browser to it and it will format and print the report correctly.
This is obviously no use if what you want is to get any visitor to your web site to print the report.
I have seen some effective things like this done using Adobe Acrobat. You can set this up on the server so it generates pdf files on the fly and these are then downloaded by the user so a proper report can be printed. It's a bit clunky of course - not point and click - but it works. Again I know this works on Windows based servers - don't know about others.