[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Landscape or Portrait printing

Posted on 1997-12-09
2
Medium Priority
?
451 Views
Last Modified: 2013-11-20
I am writing an application using VC++1.52.  I need to print some reports in lanscape and some reports in portrait.  Is it possible to change the oritentation on the fly without any user intervention?

Thanks
0
Comment
Question by:mtgcpc
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 400 total points
ID: 1311925
Yes, you can modify the DEVMODE structure to force the orientation to be either landscape or portrait. If you are using PrintDlg to get the printer dialog settings, then the PRINTDLG structure that is returned has the DEVMODE structure embedded.
0
 

Author Comment

by:mtgcpc
ID: 1311926
Thank You
0

Featured Post

Hire Technology Freelancers with Gigs

Work with 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.

Question has a verified solution.

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

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

872 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