Solved

How to Print a Form in landscape

Posted on 2000-03-18
1
169 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Window placement 17 65
Windows 10 start screen issues 9 47
Hide vba in gp 7 43
clicking a shape in a frame array vb6 3 7
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 …
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…
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…

758 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