Solved

How to print in A4 size through the PrintForm method?

Posted on 1997-04-10
1
577 Views
Last Modified: 2008-03-04
Dear Sirs,

I need to print a report in  A4 paper.
I can't use the Crystal Reports 5.0, because it has limitations.
 I'm trying to make it through the PrintForm method of the Visual Basic 4.0
Form. I'm using 1024 x 768 resolution, and this form only print what is
displayed.

Question: Can I create a form bigger than the Desktop (1024 x 768), in the
A4 dimensions, to view it in the screen, and print it?

Note: Because the report structure is very complex, I can't print the
report through the Printer Object and Print Method.

How can I do it?
0
Comment
Question by:Guilherme
1 Comment
 

Accepted Solution

by:
bizon earned 100 total points
ID: 1425210
It is possible to set the Printer.zoom property to magnify a form before printing.  Although not all printers support the zoom property if your does you can magnify your form keeping it in the same proportions.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now