Click here to Skip to main content
15,923,015 members
Home / Discussions / C#
   

C#

 
AnswerRe: convert panel value into image in c# Pin
Smart Arab16-May-11 22:35
Smart Arab16-May-11 22:35 
QuestionDot-Matrix Printer Resolution Problem Pin
ismail2016-May-11 20:08
ismail2016-May-11 20:08 
JokeRe: Dot-Matrix Printer Resolution Problem Pin
GlobX16-May-11 20:17
GlobX16-May-11 20:17 
AnswerRe: Dot-Matrix Printer Resolution Problem Pin
Richard MacCutchan16-May-11 21:59
mveRichard MacCutchan16-May-11 21:59 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
ismail2016-May-11 22:06
ismail2016-May-11 22:06 
AnswerRe: Dot-Matrix Printer Resolution Problem Pin
OriginalGriff16-May-11 22:11
mveOriginalGriff16-May-11 22:11 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
ismail2016-May-11 22:17
ismail2016-May-11 22:17 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
OriginalGriff16-May-11 22:29
mveOriginalGriff16-May-11 22:29 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
ismail2016-May-11 22:31
ismail2016-May-11 22:31 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
OriginalGriff16-May-11 22:40
mveOriginalGriff16-May-11 22:40 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
ismail2016-May-11 22:50
ismail2016-May-11 22:50 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
OriginalGriff16-May-11 23:04
mveOriginalGriff16-May-11 23:04 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
ismail2016-May-11 23:15
ismail2016-May-11 23:15 
AnswerRe: Dot-Matrix Printer Resolution Problem Pin
OriginalGriff16-May-11 23:33
mveOriginalGriff16-May-11 23:33 
AnswerRe: Dot-Matrix Printer Resolution Problem Pin
Luc Pattyn16-May-11 22:54
sitebuilderLuc Pattyn16-May-11 22:54 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
ismail2016-May-11 23:08
ismail2016-May-11 23:08 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
Luc Pattyn16-May-11 23:15
sitebuilderLuc Pattyn16-May-11 23:15 
Sorry, my mistake. The diagnosis still is right, the solution isn't as
this.Panel1.DrawToBitmap(bm, new Rectangle(0, 0, w,h));
is upscaling the existing panel content to the right size, however it cannot improve the quality of the image that your panel is holding.

You really need to do one of two things:
1. send print element commands to the printer directly (DrawString stuff);
2. paint whatever it is you need to a Panel of the right size (same dpi upscaling to get its size), then draw that to the printer.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

GeneralRe: Dot-Matrix Printer Resolution Problem Pin
ismail2016-May-11 23:20
ismail2016-May-11 23:20 
AnswerRe: Dot-Matrix Printer Resolution Problem Pin
Luc Pattyn16-May-11 23:43
sitebuilderLuc Pattyn16-May-11 23:43 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
ismail2016-May-11 23:56
ismail2016-May-11 23:56 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
Luc Pattyn17-May-11 0:18
sitebuilderLuc Pattyn17-May-11 0:18 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
ismail2017-May-11 0:36
ismail2017-May-11 0:36 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
Luc Pattyn17-May-11 0:57
sitebuilderLuc Pattyn17-May-11 0:57 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
ismail2017-May-11 1:00
ismail2017-May-11 1:00 
GeneralRe: Dot-Matrix Printer Resolution Problem Pin
Luc Pattyn17-May-11 1:05
sitebuilderLuc Pattyn17-May-11 1:05 

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.