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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

777 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