Use VB to print landscape in Active Reports

Posted on 2002-03-04
Last Modified: 2007-12-19
I am trying to design postcards in Active Reports for people to mail. I am using Avery #8577 Postcards,which are Portrait. I could not find any help in the Data Dynamic KB. Is there any code which could let me print in Landscape to make it look like a professional postcard.
Question by:robhas
  • 2

Accepted Solution

kprestage earned 100 total points
ID: 6839149
Have you tried using:

ActiveReport1.Printer.Orientation = ddOLandscape

Author Comment

ID: 6842277
When I tried before I used the wrong syntax. Works great. Appreciate the help.

Expert Comment

ID: 6845107
thanks for the points...glad I could help.

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

Title # Comments Views Activity
Saving history changes to sub form 4 35
I need help embedding an image as HTML in my application 3 45
Help me. 3 43
VB6 ListBox Question 4 29
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

948 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

18 Experts available now in Live!

Get 1:1 Help Now