I am working on a package to print on thermal printers with ESC-POS commands, I already generate the file to print, but to print it I use the CMD command: print /D:\\myPC\\POS-58-Series printfile
I tried to use: exec.Command("print", "/D:\\myPC\\POS-58-Series", "printfile").Run()
but it didn't work
Is there a way to print from Go with commands like I am trying to do or do I need to use something else?
https://stackoverflow.com/questions/66896837/how-can-i-print-in-go April 01, 2021 at 08:09AM
没有评论:
发表评论