Hi everyone,
I am trying to work this function out in Gambas (https://reference.epson-biz.com/modules ... ent_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?
Convert a image to a data statement so I can be printed
- cogier
- Site Admin
- Posts: 1127
- Joined: Wednesday 21st September 2016 2:22pm
- Location: Guernsey, Channel Islands
Re: Convert a image to a data statement so I can be printed
You can load data from a file at run time using the File.Load() command.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?
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.