Maybe a Work Around For Windows
- Open the Printer Property Page of your USB printer
- Go to the share / sharing tab. Check the Share button and give the one printer share name, and click on ok.
- Open the Command Prompt CMD
- Excute the given command:
net use lpt1: \\computername\printersharename /persistent:yes
After you have done that, you can easily run the dos command.
Print MyFile.txt
Or
- Open the Printer Property Page of your USB printer
- Go to the share / sharing tab. Check the Share button and give the one printer share name, and click on ok.
Print /D:\\computername\printersharename MyFile.txt
Just run the print comand from a Xojo Shell
Some printers can also take a pdf files. If not you will get lot of strange characters printed on your paper.