Solved

Setting Printer to Landscape & Portrait

Posted on 1998-07-09
11
734 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

839 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