-- Leo's gemini proxy

-- Connecting to republic.circumlunar.space:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Converting HTML slides to a PDF with Firefox


I have not found an automated way to generate a nice PDF from some slides written in HTML - if you know of one please add a comment!


In the meantime, if you create slides using my HTML Slides template, then you can make a decent-ish-looking PDF like this:


HTML Slides


View your slides in Firefox and open the Print dialog (press Ctrl-p).

Select Print to File and choose a filename to save to. [‡ print general]

Under Options deselect "Ignore Scaling..." and select "--blank--" for all the headers and footers. Ensure "Print Background Colours" and "Print Background Images" are selected. [‡ print options]

Under Page Setup set Scale to 70.0 and Orientation to Landscape. [‡ print pagesetup]

Select the dropdown next to Paper size and choose Manage Custom Sizes... [‡ manage custom sizes]

Create a new custom size called "Screen 16:9" with Width 157.5 mm and Height 280.0 mm. Set all the Paper Margins to 5.0 mm. You can modify the name of the custom size by clicking on it in the list on the left. [‡ custom sizes]

Click Close.

Back in Page Setup, make sure your new custom size is selected next to Paper Size.

Click Print.


If that does not work well for you, try experimenting with different Scale settings.


Originally posted at 2020-01-24 16:46:58+00:00. Automatically generated from the original post : apologies for the errors introduced.


[‡ print general]

[‡ print options]

[‡ print pagesetup]

[‡ manage custom sizes]

[‡ custom sizes]

original post

-- Response ended

-- Page fetched on Sun May 19 04:15:03 2024