473,472 Members | 2,153 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Print Dialog / Page Orientation BUG ??

Hi,

Is there a BUG in the printdialog ? When I create a PrintDialog ans set the "DefaultPageSettings.Landscape" property to "false" and then display the dialog, select "Landscape" and click OK, the value of the "DefaultPageSettings.Landscape" is still false !!??

Code Exemple :

PrintDialog PDialog = new PrintDialog();
PDialog.PrinterSettings = new System.Drawing.Printing.PrinterSettings();
PDialog.PrinterSettings.DefaultPageSettings.Landsc ape=false;
PDialog.ShowDialog();
// The dialog show "Portrait" Selected, if you select "Landscape" and click OK
// the value in the "DefaultPageSettings" is still Landscape=false !!??
MessageBox.Show(PDialog.PrinterSettings.DefaultPag eSettings.Landscape.ToString());
Any Bug in/con-firmation and solution to make it work will be appreciated

Thanks

Steph.
--

__________________________________________________ ____________

Stephane Orban
IT Manager
EOLE-UNICLAM
EMail : in**********@uniclam.com
Web : www.uniclam.com
Tel : +32 (0) 2 227 54 98
Fax : +32(0) 2 218 74 60

Nov 16 '05 #1
0 1391

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Rich Sweeny | last post by:
Hi, I am working in Mac OSX 10.3.7 with SDK 1.4_2. When my Print Dialog box comes up just about everything is disabled except selecting from the 4 printers I have and being able to set the page...
2
by: Yaron Cohen | last post by:
Hi, I would like to ask for your help. I am using IE5.5. I have a wide page with horizontal scroll bar. The problem is that I get only 1 page when printing it using "file->print" or...
1
by: mystique | last post by:
How can i change the print orientation from code? Maybe somewhere in registry...? thank you
1
by: hamil | last post by:
I am trying to print a graphic file (tif) and also use the PrintPreview control, the PageSetup control, and the Print dialog control. The code attached is a concatination of two examples taken out...
0
by: Siv | last post by:
Hi, This is driving me nuts, I have created a custom print preview dialog, I have a toolbar at the top of the window that allows the user to select a page setup dialog and a printer dialog. All...
2
by: Brad Pears | last post by:
I have some sample code that uses the print dialog, print preview and a print direct options. If I select print preview and then click the printer icon from that, the document prints. If I...
0
by: vandervelde | last post by:
Hi, A couple of machines in the office have recently upgraded to word 2003 and the printing macros for these machines are working intermittently. The macro takes the computer name and a printer...
2
by: Gianni | last post by:
hello dudes i want to print a html page in landscape format. Is there a possebility to do it with css? i read about a landscape task in css which workes with the opera- browser. but it should...
1
by: Tim Sprout | last post by:
I want to call Page Setup to set default printer and page size and orientation before batch printing pdf's silently from WebBrowser controls. I can print silently using DDE (the NDde library) or...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.