Solved

Landscape or Portrait printing

Posted on 1997-12-09
2
443 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 100 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

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

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 47
repeatSeparator  java  challenge 13 56
Smart Camera scanning and reading information 3 86
zeroMAx challenge 20 76
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

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

11 Experts available now in Live!

Get 1:1 Help Now