Peruttu

Print a picture in C# like windows does

I wanna know if you can help me with another thing.

I have a printer (Fujifilm ASK-2500), which I'm using to print an image built on my application. The paper size I use on the printer is 15cmX10cm. As the picture is bigger than this, I resize through the application and send to the printer, but the final result turns out in a bad quality picture on the printing.

If I do in a manual way, If I right click on the picture and select 'Print', windows will show a window, from which I select resolution, paper size and quality, so once I select and press print, the output on the printer is a very nice quality image (see attached).

Can I simulate this through c#? I tried things like the ones below, but I'm not sure if I'm using properly, it didn't work:

ThePrintDocument.DefaultPageSettings.PrinterResolution.X = 300; ThePrintDocument.DefaultPageSettings.PrinterResolution.Y = 300;

[url removed, login to view] = new [url removed, login to view]("10x15", 1500, 908); //[url removed, login to view] = new [url removed, login to view]("10x15", 575, 386);

Taidot: .NET, C# -ohjelmointi, Tulostus

Näytä lisää: print 10x15, papersize printerresolution 300, t$c, see my picture, print me, c# drawing application, bad programming, right click print image, i like the way you work, C Sharp Programming, windows do, windows 2012, printing press, print manual, print image, print @, picture, help windows, drawing c, c++ 11, c# printer, c printer, bad picture, window programming, 300 drawing

Tietoa työnantajasta:
( 36 arvostelua ) London, Brazil

Projektin tunnus: #1693766

1 freelanceria on tarjonnut keskimäärin 50 $ tähän työhön

duchuyctlk

Hi. Pls check PMB for my further detail. Thanks

50 $ USD 0 päivässä
(9 arvostelua)
2.8