bespokejs / bespoke

DIY Presentation Micro-Framework

Home Page:http://markdalgleish.com/projects/bespoke.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I adjust printed pdf slide sizes etc. ?

pmalek opened this issue · comments

I would like to print my presentation's https://github.com/pmalek/knngraphs/tree/gh-pages-src slides into pdf but when I try to print it in Google Chrome into pdf then I get like 2.5 slides on the page.

I have tried adjusting the styles but nothing changes. I have changed default styles/main.styl generated by bespoke generator to following:

slide_width = 1180px
slide_height = 700px

but the default values give the same results. I have also tried changing:

.bespoke-slide
  ...
  @media print
    height: 743px // seems to correspond with an A4, landscape page height

but nothing changes either.

screenshot from 2014-07-02 22 43 40

Additionally : how can I change the orientation so that printed slides are also landscape as the presentation in the browser?

Print style issues have been addressed in the latest version of Bespoke.js Generator.

If you're still having problems, feel free to open an issue in that repo since this bug isn't technically with Bespoke itself.

I have used the latest version here - 0.9. I will open an issue there then.