Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / November 2006

Tip: Looking for answers? Try searching our database.

Other printing problem (resolution not honored)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lloyd Dupont - 17 Nov 2006 05:11 GMT
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?
RobinS - 17 Nov 2006 05:16 GMT
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.

> Before printing I create an instance of PrintDocument as Follow (beware,
> pseudo code)
[quoted text clipped - 22 lines]
> Yet it doesn't seemed to be honoured! :(
> Any tip?
Lloyd Dupont - 17 Nov 2006 17:59 GMT
> 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!

> Robin S.
Lloyd
RobinS - 18 Nov 2006 05:33 GMT
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.
----------------------

>> You posted in microsoft.public.dotnet.framework that you had
>> resolved this as being a problem with the printer.
[quoted text clipped - 26 lines]
>> Robin S.
> Lloyd
Lloyd Dupont - 19 Nov 2006 22:47 GMT
mhh... I had some hint that perhaps, indeed, it bothered you ;-)
well it was "Act like a Curmudgeon" day!

> Thanks, Lloyd. I apologize that I wrongly accused you,
> and I stand corrected. People who multi-post drive me
[quoted text clipped - 35 lines]
>>> Robin S.
>> Lloyd
Bart - 28 Nov 2006 23:51 GMT
Let me guess, your next post would be like:

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

> mhh... I had some hint that perhaps, indeed, it bothered you ;-)
> well it was "Act like a Curmudgeon" day!
[quoted text clipped - 38 lines]
>>>> Robin S.
>>> Lloyd
Lloyd Dupont - 29 Nov 2006 00:44 GMT
Unfortunately not :-(
But no customer complained yet about the resolution combo box not
working......

> Let me guess, your next post would be like:
>
[quoted text clipped - 42 lines]
>>>>> Robin S.
>>>> Lloyd

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.