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

0.9.92 PDF export does not trigger #3710

Closed
Voltra opened this issue Jul 17, 2020 · 14 comments
Closed

0.9.92 PDF export does not trigger #3710

Voltra opened this issue Jul 17, 2020 · 14 comments

Comments

@Voltra
Copy link

Voltra commented Jul 17, 2020

Environment: Windows 10 (Unibody or Default)
Version: 0.9.92
Use case: Exporting to PDF
Details:

  • Editing Markdown works as expected
  • I can click on export
  • Popup shows up to select where to save the file
  • Once the output is set, nothing happens

Expected: Save in progress followed by file saved successfully
NB: HTML exports work properly

@abnerlee
Copy link
Contributor

Possible to send us hi@typora.io or attach the md file that cannot be exported as PDF?

@philobrain
Copy link

I am in a similar boat. Export to PDF prompted me to install pandoc, which was weird. Installed pandoc and now the export takes me to a save dialog trying to save file as a .md. When I hit save or change to .pdf and save, the result is the same: typora dialog appears saying, "Unknown output format defined." Cannot attach .md file because it is business related.

@abnerlee
Copy link
Contributor

@philobrain did you try 0.9.92?

@Voltra
Copy link
Author

Voltra commented Jul 24, 2020

Sorry for the late reply, I'm afraid it cannot export any markdown to PDF, I just tested with a blank file and a file containing very minimal text (aze).

@Corgile
Copy link

Corgile commented Jul 29, 2020

same for me. all exports work fine but pdf not

@Voltra
Copy link
Author

Voltra commented Aug 1, 2020

On a fresh installation of windows, it prompts me with this error dialog

@myxingkong
Copy link

I had the same problem, but when I tried to add a printer, the problem was solved.

@Corgile
Copy link

Corgile commented Aug 6, 2020

#3766 Solved, works for me.

@Voltra
Copy link
Author

Voltra commented Aug 6, 2020

Sadly using any service that uses port 80 (e.g. apache) will not allow you to use the print spooler (as it depends on the HTTP servcie that also want to occupy the port 80). Also, I'm pretty sure my fresh install of Windows has the spooler enabled (as it's default)

@abnerlee
Copy link
Contributor

abnerlee commented Aug 6, 2020

@Voltra
Copy link
Author

Voltra commented Aug 8, 2020

What worked for me on my fresh windows installation : Enabling (and settings to automatically start) the Printer Extensions and Notifications service (Extension et notifications des imprimantes for French installation of Windows). I'll test that on my work PC and see if it fixes the problem.

@myxingkong
Copy link

@Voltra
Copy link
Author

Voltra commented Aug 10, 2020

On my work station I had to do a little more work (since the HTTP service has been previously disabled to allow Apache and WAMP to execute properly). Thankfully I found this answer to the question: https://superuser.com/questions/1059068/no-http-service-windows-10. Even then, it wouldn't work.

Then I found this article that solves the dependency error that prevents the spooler from starting, set the Print to PDF as default printer and I could export.

Commands are:

sc config spooler depend= RPCSS
Net start spooler

@abnerlee
Copy link
Contributor

We also upgrade electron version on 0.9.94, please confirm if it is fixed or not.

If not, see #3766 for the workaround.

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

5 participants