473,386 Members | 1,602 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

GetHdevmode / SetHdevmode DEVMODE

Hello
I am trying to use
GetHdevmode/SetHdevmode to set public and private portions of
DEVMODE structure.
Can any one post an example in C# .Net framework that shows how to
change printer settings??
thanks
heino

Nov 16 '05 #1
0 2046

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

Similar topics

3
by: Eric Eggermann | last post by:
Hello, I need to implement a custom print dialog, and I'm trying to show a printers configuration box, like when you click Properties on the windows forms PrintDialog. I've gotten as far as...
0
by: bluf2000 | last post by:
Hello csharp professionlals. I have a problem: my application has to handle with DocumentProperties API. The application is coded in C#. It works fine, the DocumentProperties appears, after that...
0
by: Benoit Courchesne | last post by:
Why when I do this, I get garbage in my dm2 Structure ? PrintDocument pd = new PrintDocument(); IntPtr hDevMode = pd.PrinterSettings.GetHdevmode(); IntPtr pDevMode = GlobalLock( hDevMode ); dm2...
0
by: heino | last post by:
Hello I am trying to understand how to use GetHdevmode/SetHdevmode to set public and private portions of DEVMODE structure. Is there any example in C# .Net framework that shows how to...
0
by: active | last post by:
I use Devmode and SetPrinter to set the default printer to landscape. I check using the Windows XP "Printers and Faxes" menu item. The printer driver reports landscape. I then use...
0
by: Flavio Zanellato | last post by:
Hello, anybody has worked with the DEVMODE structure and the page settings properties ? I've not seen a way to - get the actual DEVMODE data from a default printer - change any setting -...
0
by: KiwiPrinter | last post by:
Are there any sample of this that actually work? Thanks for any assistance
1
by: ThunderMusic | last post by:
Hi, I have a structure I have to use called DEVMODE for when I want to call EnumDisplaySettings. you can see the C struct at the address below : ...
2
by: deric | last post by:
Hi I am trying to change the DevMode structure to change the paper source to be used by the PrintDocument. I know that there is a PaperSource provided by the PrintDocument.PrinterSettings but the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...

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.