Any easy way to print a "large" form?

I've got a VB application that has a number of 1280x1024 forms. I'd like to be able to implement a "print screen" function.

I tried the PrintForm Power Pack, (Form.Print), but I only get about 80% of the form, so the form must be too big for a single page (other threads say this is all PrintForm can handle).

If I capture the form (via Print Screen), and suck it into Paint, it also is 2 pages, but there is a print option to scale it to 1 page, which worked.

So, is there any simple way to make this work? And, no, the printer won't take 11x17 paper!

thanks...

[583 byte] By [jptrt] at [2008-2-22]
# 1

Hi,

I was going to suggest the PrintScreen & MS_Paint method so if you find a way to automate those actions then let me know as well please.

Regards,

S_DS

Spidermans_DarkSide at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic Power Packs...
# 2
PrintForm should only be able to print the actual size of the form.
Kathleen_MSFT at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic Power Packs...
# 3
Kathleen_MSFT wrote:
PrintForm should only be able to print the actual size of the form.

Yes, I

acknowledged that in the original post. The mystery (to me, at least),

is "what determines a page" to PrintForm? All the forms are 1 page on

screen, have no scroll, etc. But PrintForm things they're more than a

page - I can't find any documentation that explains "why & how".

So,

maybe the real question is, "Could someone point me to documentation on

how to rescale a form so it will print as a single page?"

thanks...

jptrt at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic Power Packs...
# 4
jptrt wrote:

Kathleen_MSFT wrote:

PrintForm should only be able to print the actual size of the form.



Yes, I acknowledged that in the original post. The mystery (to me, at least), is "what determines a page" to PrintForm? All the forms are 1 page on screen, have no scroll, etc. But PrintForm things they're more than a page - I can't find any documentation that explains "why & how".

So, maybe the real question is, "Could someone point me to documentation on how to rescale a form so it will print as a single page?"

thanks...

Can you delete 2 of the 3 copies of this message?

Regards,

S_DS

Spidermans_DarkSide at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic Power Packs...
# 5

Hi jptrt,

PrintForm component cannot scale and print the form as one page at this version. And I do not see an easy way to work around either. (Love to know it if anyone knows).

John

JohnChenMS at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic Power Packs...
# 6
John Chen MS wrote:

Hi jptrt,

PrintForm component cannot scale and print the form as one page at this version. And I do not see an easy way to work around either. (Love to know it if anyone knows).

John

Hi,

How about getting the FORM as an IMAGE then inheriting the ImageConvertor class and adding a SCALE and a PRINT method in a new CLASS?

Possible?

Trouble is i don't know any scaling algorithims for images.

Regards,

S_DS

Spidermans_DarkSide at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic Power Packs...