Solved

How to print in A4 size through the PrintForm method?

Posted on 1997-04-10
1
581 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

919 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

19 Experts available now in Live!

Get 1:1 Help Now