Solved

Setting Printer to Landscape & Portrait

Posted on 1998-07-09
11
739 Views
Last Modified: 2013-12-03
How can I set the printer to "Landscape" and to "Portrait"?

Thank you.
0
Comment
Question by:Zainal062797
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 3
  • +1
11 Comments
 
LVL 9

Expert Comment

by:Dalin
ID: 1409742
Zainal,
From the start menu, select setting/printer, and highlight your printer,  and select file/properties, and click on the paper tab.
regards
Dalin
0
 

Author Comment

by:Zainal062797
ID: 1409743
Thanks. However, I was asking about doing this through my program by setting some parameters. The method you described is fine, but I want my program to print in one mode regrdless of the way the printer is set through the Print Tab.

Thanks.
0
 
LVL 23

Expert Comment

by:chensu
ID: 1409744
How to Change Default Printer Settings in an MFC Application
http://support.microsoft.com/support/kb/articles/q126/8/97.asp

How to Modify Printer Settings by Using SetPrinter
http://support.microsoft.com/support/kb/articles/q140/2/85.asp

Reject the previous answer if you are satisfied with mine.
0
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
LVL 9

Expert Comment

by:Dalin
ID: 1409745
Zainal,
Sorry, I did not realize you are try to change it via program.
What language do you use to program?
Regards
Dalin
0
 

Author Comment

by:Zainal062797
ID: 1409746
I use VC++ .
0
 
LVL 9

Expert Comment

by:Dalin
ID: 1409747
Then I think Chensu's posting should have your answer. To be fair, you can reject myanswer and ask hom to relock the question.
Regards
Dalin
0
 
LVL 8

Expert Comment

by:trestan
ID: 1409748
I think this question is the same with the other one. Please check the two structures and also read more information at:
Developer Products -> Visual C++ -> Visual C++ Programmer's Guide -> Details -> Printing and Print Preview Topics.
0
 

Author Comment

by:Zainal062797
ID: 1409749
if I grade this answer who is going to get the grade?
I want to grade this to the benifit of chensu.

Thanks.
0
 
LVL 23

Expert Comment

by:chensu
ID: 1409750
If you grade this answer, Dalin will get the points. :-(

If you want to give me the points, you need to reopen it first so that I can answer it. :-)


> Sorry, I did not realize you are try to change it via program.

Dalin,

By the way, you should always think so since we are in the Windows Programming topic area.
0
 

Author Comment

by:Zainal062797
ID: 1409751
I reopened this qustion so I can give the points to "Chensu".

Thank you.
0
 
LVL 23

Accepted Solution

by:
chensu earned 50 total points
ID: 1409752
Thank you.
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

705 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