Problem with formatForPrinting not working
Posted: Wed Feb 19, 2020 4:30 pm
Hello All,
I'm new to LiveCode, started using it a couple of weeks ago, I made an app that prints tickets using a thermal printer and all was working perfect while working on my Mac, but when I used it in a windows computer I noticed that all the fields printed different, I found that formatForPrinting should be set to true in order for the stack to use the fonts that windows will use when printing, but so far nothing I tried with it has made any difference. As a temporary solution I am printing to a PDF and the executing a shell command to print that PDF, but I would like to be able to do it the right way. Has anybody used formatForPrinting successfully?. Can you tell me or show me the right way to do it? Any help will be very much appreciated.
Thanks
I'm new to LiveCode, started using it a couple of weeks ago, I made an app that prints tickets using a thermal printer and all was working perfect while working on my Mac, but when I used it in a windows computer I noticed that all the fields printed different, I found that formatForPrinting should be set to true in order for the stack to use the fonts that windows will use when printing, but so far nothing I tried with it has made any difference. As a temporary solution I am printing to a PDF and the executing a shell command to print that PDF, but I would like to be able to do it the right way. Has anybody used formatForPrinting successfully?. Can you tell me or show me the right way to do it? Any help will be very much appreciated.
Thanks