Solved

Setting Printer to Landscape & Portrait

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

Thank you.
0
Comment
Question by:Zainal062797
  • 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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…

730 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