Đã Hủy

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);

Kỹ năng: .NET, Lập trình C#, In ấn

Xem thêm: print 10x15, papersize printerresolution 300, see picture, print me, bad programming, right click print image, like way work, sharp programming, windows do, windows 2012, printing press, print manual, print image, help windows, drawing c, c printer, bad picture, window programming, 300 drawing, window right click, print size, print windows application, print paper, show application window, image printer

Về Bên Thuê:
( 36 nhận xét ) London, Brazil

Mã Dự Án: #1693766

1 freelancer đang chào giá trung bình $50 cho công việc này

duchuyctlk

Hi. Pls check PMB for my further detail. Thanks

$50 USD trong 0 ngày
(9 Đánh Giá)
2.8