Solved

How to Print a Form in landscape

Posted on 2000-03-18
1
173 Views
Last Modified: 2010-05-02
I am trying to print a form in landscape, but when I attempt to change the orientation, it just does not print.  the code I am using is as follows:

labelprinter.orientation = vbprorlandscape
label.printform

However, if I remove the line changing it to landscape, it will print (in portrait, which is useless).
0
Comment
Question by:DeLuca
1 Comment
 
LVL 1

Accepted Solution

by:
pclement earned 10 total points
ID: 2632149
PrintForm implements its own device context and ignores the printer object settings. See the following:

http://support.microsoft.com/support/kb/articles/Q178/0/76.ASP


0

Featured Post

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.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

839 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