Solved

PrintForm???

Posted on 1998-08-10
6
438 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
  • 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

828 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