?
Solved

PrintForm???

Posted on 1998-08-10
6
Medium Priority
?
458 Views
Last Modified: 2010-04-30
VB's PrintForm statement seems to be a quick and easy way of printing a form from an application, but can anyone tell me if there is a way to make it print in Landscape mode?
0
Comment
Question by:STKeith
[X]
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
  • 3
  • 2
6 Comments
 
LVL 4

Expert Comment

by:trkcorp
ID: 1468491
Have you tried "Printer.Orientation = 2" prior to printing?
0
 

Author Comment

by:STKeith
ID: 1468492
Yes, I have tried this. It still prints in portrait.
0
 
LVL 4

Expert Comment

by:trkcorp
ID: 1468493
Reject the answer and release the question. I have no further suggestion.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:STKeith
ID: 1468494
Thanks for the suggestion anyway.
0
 
LVL 1

Accepted Solution

by:
jonder earned 280 total points
ID: 1468495
STKeith I have used this one myself..

    Printer.PaperSize = vbPRPSLegal

0
 

Author Comment

by:STKeith
ID: 1468496
Thanks.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

719 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