Solved

PrintForm???

Posted on 1998-08-10
6
433 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

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

776 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