Direct printing in zim could possibly be accomplished like this.
1. Existing process exports to an HTML file in /tmp/
2. Use a tool like html2ps to create a PostScript version
3. Load the Postscript file using the appropriate Cairo backend
4. Use Gtk printing as usual
Of course, even this is going to take quite a bit of work for a real minority of users.
Direct printing in zim could possibly be accomplished like this.
1. Existing process exports to an HTML file in /tmp/
2. Use a tool like html2ps to create a PostScript version
3. Load the Postscript file using the appropriate Cairo backend
4. Use Gtk printing as usual
Of course, even this is going to take quite a bit of work for a real minority of users.