Click here to Skip to main content
15,881,803 members
Home / Discussions / C#
   

C#

 
GeneralPrinting in Different paper size Pin
IntegraSoft2-Jan-04 8:20
IntegraSoft2-Jan-04 8:20 
GeneralRe: Printing in Different paper size Pin
eggie52-Jan-04 8:26
eggie52-Jan-04 8:26 
GeneralRe: Printing in Different paper size Pin
IntegraSoft2-Jan-04 8:33
IntegraSoft2-Jan-04 8:33 
GeneralRe: Printing in Different paper size Pin
eggie52-Jan-04 8:39
eggie52-Jan-04 8:39 
GeneralRe: Printing in Different paper size Pin
Mazdak2-Jan-04 8:42
Mazdak2-Jan-04 8:42 
GeneralRe: Printing in Different paper size Pin
Heath Stewart2-Jan-04 9:18
protectorHeath Stewart2-Jan-04 9:18 
GeneralRe: Printing in Different paper size Pin
IntegraSoft2-Jan-04 9:25
IntegraSoft2-Jan-04 9:25 
GeneralRe: Printing in Different paper size Pin
Heath Stewart2-Jan-04 9:31
protectorHeath Stewart2-Jan-04 9:31 
The examples in the MSDN documentation don't work? I hardly doubt that, because they have been tested and have been in public sight for several years now. I'm sure someone wouldn't noticed and alerted Microsoft, especially since they have such an easy documentation bug link at the bottom!

And as I have sound countless times - post WHY enumerating the PaperSizes didn't work! What exceptions where thrown, if any? It is possible that the printer does not support that paper size! It is, after all, a rather large piece of paper - if the printer tray doesn't support it, it will use the default!

So, write a simple application that enumerates and displays the valid PaperSizes that it supports and see, or debug your code and check the state of objects after lines that don't seem to have an effect.

If you keep asking the same question, you'll get the same answer - so provide us with more details and what exceptions - if any - are being thrown, or example snippets of code showing that you are trying what we have written and where the exception is being thrown. I assure you that enumerating PrinterSettings.PaperSizes works! Tell us why it's not working for you!

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Printing in Different paper size Pin
IntegraSoft2-Jan-04 9:47
IntegraSoft2-Jan-04 9:47 
GeneralRe: Printing in Different paper size Pin
Heath Stewart2-Jan-04 10:08
protectorHeath Stewart2-Jan-04 10:08 
GeneralRe: Printing in Different paper size Pin
IntegraSoft2-Jan-04 10:18
IntegraSoft2-Jan-04 10:18 
GeneralRe: Printing in Different paper size Pin
Heath Stewart2-Jan-04 10:31
protectorHeath Stewart2-Jan-04 10:31 
GeneralRe: Printing in Different paper size Pin
IntegraSoft2-Jan-04 10:52
IntegraSoft2-Jan-04 10:52 
GeneralRe: Printing in Different paper size Pin
Heath Stewart2-Jan-04 11:00
protectorHeath Stewart2-Jan-04 11:00 
GeneralRichTextBox Pin
Luther Baker2-Jan-04 8:07
Luther Baker2-Jan-04 8:07 
GeneralRe: RichTextBox Pin
Heath Stewart2-Jan-04 9:15
protectorHeath Stewart2-Jan-04 9:15 
GeneralRe: RichTextBox Pin
Luther Baker2-Jan-04 10:14
Luther Baker2-Jan-04 10:14 
QuestionHow to send mail using SMTP Pin
gr8tushar2-Jan-04 7:55
gr8tushar2-Jan-04 7:55 
AnswerRe: How to send mail using SMTP Pin
eggie52-Jan-04 8:20
eggie52-Jan-04 8:20 
AnswerRe: How to send mail using SMTP Pin
Mazdak2-Jan-04 8:31
Mazdak2-Jan-04 8:31 
AnswerRe: How to send mail using SMTP Pin
Heath Stewart2-Jan-04 9:14
protectorHeath Stewart2-Jan-04 9:14 
GeneralRe: How to send mail using SMTP Pin
gr8tushar2-Jan-04 19:44
gr8tushar2-Jan-04 19:44 
GeneralRe: How to send mail using SMTP Pin
Heath Stewart2-Jan-04 19:47
protectorHeath Stewart2-Jan-04 19:47 
QuestionHOW TO Create a Summary Row For a Windows Form DataGrid by Using C# ???? Pin
zfeng_my2-Jan-04 3:02
zfeng_my2-Jan-04 3:02 
AnswerRe: HOW TO Create a Summary Row For a Windows Form DataGrid by Using C# ???? Pin
Mazdak2-Jan-04 3:46
Mazdak2-Jan-04 3:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.