Solved

PrintForm???

Posted on 1998-08-10
6
420 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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

708 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