mtmsuhail / ESC-POS-USB-NET

This project is a simple .NET (C#) Implementation of the Epson ESC/POS Printing using USB Device Driver.
MIT License
202 stars 86 forks source link

Image Printing doesn't work, it print mix of black line question tag but not image #37

Closed rickfaf closed 3 years ago

rickfaf commented 3 years ago

Hi,

I download ESC-POS-USB-NET project source and run it on my Windows 10 x86. When i try to open project in visual studio, it tell me that project require .NET Framework 4.7.2 but i can choose .NET 4.5 Framework. I try to install .NET 4.7.2 but i got error : My system doesn't support this version. So i choose to run project on .NET 4.5 Framework. Every things work except image printing, it print mix of black line question tag but not image.

Any idea of why ?

Thanks in advance.

rickfaf commented 3 years ago

I finally install newer version of windows and install newer version of visual studio (2019) with .NET Framework 4.7.2 but Image printing still doesn't work.

Some help please !

rickfaf commented 3 years ago

I finally resolve my problem. I fork project and modify "Image.cs" file. I remove "scale" and "modifier" variable and set only image size. I also resize image to 100x100 and now it works !!