I’m working on an app which writes collected data to a .txt file. This file is then either emailed, or printed via AirPrint, by the user. The file has very specific formatting with line breaks (\n). When the file is emailed, it can be opened and viewed correctly on any device, but when it is AirPrinted all the line breaks are lost and the text runs together in a single line.
Has anyone had any experience with AirPrinting or file output like this?