Other printing problem (resolution not honored)

L

Lloyd Dupont

Before printing I create an instance of PrintDocument as Follow (beware,
pseudo code)

//==============================
PrinterResolution pr = new PrinterResolution();
pr.X= 600;
pr.Y= 600;
pr.Kind = PrinterResolutionKind.High;

PrinterSettings printer = new PrinterSettings();
printer.PrinterName = "my printer";
printer.PageSettings.PrinterResolution = pr;

PrintDocument pd = new MyPrintDocument();
pd.PrinterSettings = ps;
//==============================

That seems to work, even in OnPrintPage() the printer resolution is the one
I requested.
On top of that the resolution is one supported by the printer (according to
the PrinterSettings class)

Yet it doesn't seemed to be honoured! :(
Any tip?
 
R

RobinS

You posted in microsoft.public.dotnet.framework that you had
resolved this as being a problem with the printer.

You posted this question in other newsgroups as well,
all individually.

If you are going to post the same problem in multiple newsgroups
separately, please post the same answer as well.

It's better to cross-post -- post the problem in all the newsgroups
you're going to post it in at one time. This way, if someone in
one group finds a solution, people in the other groups are not
continuing to work on it, and they can go help someone who needs it.

Thanks.
Robin S.
 
L

Lloyd Dupont

You posted in microsoft.public.dotnet.framework that you had
resolved this as being a problem with the printer.
Not at all!
I posted I solved the page size problem (in all group), the resolution is
still an open problem.
You posted this question in other newsgroups as well,
all individually.
Not at all, I did a multipost for both question.
The only exception is that I (mistakenly) posted this question 1st
individually in the windowsforms group.
If you are going to post the same problem in multiple newsgroups
separately, please post the same answer as well.
As I didn't do the 1st sentence, I'm not going to do the second one.
It's better to cross-post -- post the problem in all the newsgroups
Indeed, as I did!
you're going to post it in at one time. This way, if someone in
one group finds a solution, people in the other groups are not
continuing to work on it, and they can go help someone who needs it.

Thanks.
No Worries!
Lloyd
 
R

RobinS

Thanks, Lloyd. I apologize that I wrongly accused you,
and I stand corrected. People who multi-post drive me
nuts, as you can probably tell. I probably need to just
get over it. :-(

Thanks for not flaming me!
Robin S.
----------------------
 
L

Lloyd Dupont

mhh... I had some hint that perhaps, indeed, it bothered you ;-)
well it was "Act like a Curmudgeon" day!
 
B

Bart

Let me guess, your next post would be like:

"Never mind, problme with the printer, t works!"
 
L

Lloyd Dupont

Unfortunately not :-(
But no customer complained yet about the resolution combo box not
working......
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top