Solved

Setting Printer to Landscape & Portrait

Posted on 1998-07-09
11
733 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

776 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