Printing to a raw printer using DOSBox
Working article is here: https://gist.github.com/tresf/48183217173cdaef580b2cb1797a052c Although DOSBox offers printing support, the documentation is sparse and most articles refer to printing on a Windows host. Using Ubuntu 20.04 and a fork of DOSBox called DOSBox-X, printing can be configured as follows: Install DOSBox-X Configure DOSBox-X to write to a physical file Write a script which listens on the physical file Install DOSBox-X Installing DOSBox-X on Linux is as simple as installing the snap: https://snapcraft.io/dosbox-x . This can be launched with Ubuntu Software center. Note: For Windows, MacOS or RPM users, DOXBox-X can be downloaded directly from the official site . Configure DOSBox-X to write to a physical file Although the recommendation for most tutorials is to configure DOSBox to print to a physical printer, I was unable to get this working on Ubuntu 20.04. Instead, I had to manually configure DOSBox to print to a file. Start DOSBox-X for t