Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS Print Issues #5865

Open
3 tasks done
mrdanbrooks opened this issue Oct 10, 2023 · 3 comments
Open
3 tasks done

MacOS Print Issues #5865

mrdanbrooks opened this issue Oct 10, 2023 · 3 comments

Comments

@mrdanbrooks
Copy link

  • Searched existing issues to avoid creating duplicates.

  • Confirmed that it can be reproduced in built-in themes without customized css.

  • Searched http://support.typora.io/


Describe the bug
The print dialog in MacOS fails to show the correct preview of the document, and fails to print more than one page (either to a printer or using print to pdf).

To Reproduce

  • When selecting File > Print on a long (multipage) document, only the first page has any content in the preview section. (see image below)
  • If I then click "Print", only page 1 prints. No blank pages are printed, only a single, one sided page that looks like "Page 1" in the preview gets printed.
  • If from the Print dialog, I select "PDF" > "Open in Preview", I again see only the first page, and no blank pages.
  • If from the Print dialog, I select "PDF" > "Save as PDF", the resulting file only has the first page, and no blank pages.
  • Inside the Print dialog, double-sided print is "off" and unable to be changed, even for a duplex printer that Preview.app allows you to set the same option for.

Expected behavior

  • The print preview should show the correct number of pages, populated with text.
  • Printing to a printer should produce more than just the first page for multipage documents.
  • Duplex printing should be changeable for duplex printers.
  • Printing to pdf should produce a multipage document with all content, similar to using the export to pdf functionality.

Workarounds

  • If I go to "Export" > "PDF", the resulting file has 2 pages that appears to contain all of the contents of the document (all the way to item 64). Printing the pdf from Preview.app allows me to use my duplex printer to print double-sided.
  • From the "File" > "Print" dialog, if I change the orientation from "Portrait", to "Landscape", and then back to "Portrait", the preview correctly updates to show 2 pages worth of text. At that point, I can either print the 2 page document or save a 2 page pdf document. The double-sided option remains grayed out and in "off" mode, so I when using a printer I can only print singled sided directly from the app.

Screenshots / Screencasts
Screenshot 2023-10-10 at 12 16 59 PM

Sample Markdown File
Test.md

Desktop (please complete the following information):

  • MacOS Ventura 13.2.1

Typora Version

  • Typora 1.7.5

Additional context
I have seen multiple other issues related to printing, print preview, and pdf generation. While I suspect some of these may be related, they all appear to be reported from Linux or Windows, and do not appear to be this particular issue of only printing the first page.

@abnerlee
Copy link
Contributor

Does this still occur?

We cannot reproduce this on macOS 14 and Typora 1.10

@mrdanbrooks
Copy link
Author

mrdanbrooks commented Apr 4, 2024 via email

@oskapt
Copy link

oskapt commented Apr 7, 2024

This is happening with me too. MacOS 13.6.6 with Typora 1.8.10. A workaround I discovered today is to go into typewriter mode and then print from there. It then switches back to the view mode and shows all pages. Video attached.

typora-printing-bug.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants