Convert a image to a data statement so I can be printed
Posted
#1
(In Topic #802)
Enthusiast

I am trying to work this function out in Gambas (https://reference.epso…/index.php?content_id=274)
It takes a data statement and prints it to a receipt printer
Is it possible to load the data statement at runtime or does it only work when the application is complied?
If it can be done does anyone have a example I can look at?
Posted
Guru

Is it possible to load the data statement at runtime or does it only work when the application is complied?
If it can be done does anyone have a example I can look at?
You can load data from a file at run time using the File.Load() command.
Have a look at the attached program. I have added a command to convert the Hex to decimal. You may need to change the Epson commands to decimal as well, then sent all the data to the printer. You could try their Windows program, Senddat.exe, under Wine and see if that works for you.
1 guest and 0 members have just viewed this.



