Solved

PrintForm???

Posted on 1998-08-10
6
444 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
Independent Software Vendors: 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!

 

Author Comment

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

Accepted Solution

by:
jonder earned 70 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

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…
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…
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…

737 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