Control FiscalPrinter via external library
Control FiscalPrinter via external library
I'm write application to control FiscalPrinter that have own library for it.
GAMBAS3 code:
Re: Control FiscalPrinter via external library
But in log of the library you will see additional symbols after end of strings.
What I do wrong?
Sometime parameter ever don't transfer to external library.
As result FiscalPrinter not recognize that commands.What I do wrong?
- cogier
- Site Admin
- Posts: 1125
- Joined: Wednesday 21st September 2016 2:22pm
- Location: Guernsey, Channel Islands
Re: Control FiscalPrinter via external library
I don't know the answer, but I think you need to look at WCHAR_T. This is a Microsoft speciality. Does it need to be there, or should it be in lower case?
Re: Control FiscalPrinter via external library
Did you mean to change "WCHAR_T" to "wchar_t"?
Re: Control FiscalPrinter via external library
Same result. I think converter to wchar_t work incorrect. Because every time when I run programm output resultate is different.
Re: Control FiscalPrinter via external library
In Python it's working without problem as you can see.