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

Document how to "print" / pdf export #20

Open
ionelmc opened this issue Apr 21, 2020 · 5 comments
Open

Document how to "print" / pdf export #20

ionelmc opened this issue Apr 21, 2020 · 5 comments

Comments

@ionelmc
Copy link
Owner

ionelmc commented Apr 21, 2020

iow: expose + chrome print

@tpikonen
Copy link

I would need to print my slides. Could you explain the process in more detail than is written above?

@ionelmc
Copy link
Owner Author

ionelmc commented May 20, 2021

Here you go: https://www.youtube.com/watch?v=8WyjG2njNtU

Lemme know if still not clear.

@tpikonen
Copy link

Thanks, pressing Esc for Expose and printing the resulting page works fine in Chromium. In Firefox the resulting pdf has wrong colors.

@dkg
Copy link

dkg commented Oct 29, 2021

It'd also be nice to be able to do this from the command line with chromium or chrome, for automation.

But when i try something like this:

chromium --temp-profile --headless --no-gpu --print-to-pdf presentation.pdf presentation.html

then chromium complains (and doesn't generate the pdf):

[1029/135902.727934:ERROR:headless_shell.cc(179)] Open multiple tabs is only supported when remote debugging is enabled.

I assume this has something to do with presenter mode's use of two windows, but i haven't diagnosed it further.

@ionelmc
Copy link
Owner Author

ionelmc commented Nov 11, 2021

It doesn't open a second window by default tho. Must be something else causing the problem.

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

No branches or pull requests

3 participants