Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


vb 6 Print Form, Change Print Orientation ( URGENT )

Posted on 2003-02-28
Medium Priority
Last Modified: 2008-03-10
hi guys

I create dynamicly some MsCharts on a FOrm.then i print the form with the MsChart and delete the msChart, like this i can print and delete all of them. I wanna know if its possible to change the Oriantation ofthe chart, like this when i print, its take the hole sheet. I want my chart to be printed on the in a different orientation on the sheet.

i hope you guys understand

Question by:Italbro1
LVL 16

Accepted Solution

twalgrave earned 120 total points
ID: 8096790
Two choices here:
Set the default printer's orientation through
Printer.Orientation = vbPRORPortrait
Printer.Orientation = vbPRORLandscape

Or (much more difficult, but necessary if you are not printing to the default printer or experience problems with the above):

Note: This speaks of the datareport, but the concepts are not specific to the datareport, but more generalized to manipulating the non-default printer through VB


Expert Comment

ID: 9474602
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Suggested Courses

578 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