DOSBox-X has a built-in virtual dot-matrix printer taken from DOSBox-Daum but it's somewhat rough 'round the edges as yet. It was only from early May 2020 that it even worked at all on Linux though ...