1
Answer

Printing Graphics.Drawstring to multiple pages

Daniel Salt

Daniel Salt

14y
3.2k
1
Hello,

I am using Graphics.Drawstring that takes data from the database and populates the page. The problem arrives when the bottom limit exceeds the page margin, in PrintPreview I am able to see only the first page and also if I'm trying to print it will print only the first page. What I want is to print the entire data, that is not shown just on the first page. Could you please give me a hand in solving this issue, I wouldn't care if PrintPreview won't show all pages, I'm interested only about what goes to printer. I was also thinking about exporting to Word if there's no solution for this.

I have attached the source code for the above issue, I would appreciate if anyone could have a look on it.

Thank you in advance,
Daniel.

Attachment: printing.zip

Answers (1)
0
Chintan Rathod

Chintan Rathod

NA 5.5k 1.9m 13y
<script src="../helloworld.js">
</script>

Now, whenever the page is loaded, the browser also puts the script
"helloworld.js" in the page. Note that you do not see the script in
your source code, you just see the include tag.

By including the above reference, your browser will now download
the code stored inside "helloworld.js" and run it as if it was physically
typed onto the page.