Jump to content


Photo

Convert Pages to PDF format


  • Please log in to reply
8 replies to this topic

#1 EssArrBee

EssArrBee

    Incompatibilism Manager

  • VIP-Supporter
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7,461 posts

Posted 21 May 2014 - 12:37 AM

I have been wondering if there is a way to convert a page to a pdf? I have a few people asking me for something and with our recent site crash I'd like to have a pdf copy of some stuff in case someone wants it for offline work or whatever reason.


  • 0

#2 Garfink

Garfink

    General

  • Citizen
  • PipPip
  • 606 posts

Posted 21 May 2014 - 01:18 AM

https://www.html-pdf-converter.com/


  • 0

#3 CJ2311

CJ2311

    Jarl

  • Mod Author
  • PipPipPip
  • 1,183 posts

Posted 21 May 2014 - 01:26 AM

https://wkhtmltopdf.org/ Command line utility, it's not the best at handling CSS, but it gets the job done.
  • 0

#4 z929669

z929669

    Ixian Inventor

  • Administrator
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7,082 posts

Posted 21 May 2014 - 03:18 AM

Could someone try on the Guide and post the result here?

 

You can just save the guide as an HTML archive or page too. Alsom Google should have a cached version:

http://webcache.googleusercontent.com/search?q=cache:http://forum.step-project.comhttp://webcache.googleusercontent.com/search?q=cache:http://wiki.step-project.comhttp://webcache.googleusercontent.com/search?q=cache:http://wiki.step-project.com/STEP:Guide

https://webcache.goo...tep-project.com

https://webcache.goo...tep-project.com

 

https://webcache.goo....com/STEP:Guide



#5 CJ2311

CJ2311

    Jarl

  • Mod Author
  • PipPipPip
  • 1,183 posts

Posted 21 May 2014 - 04:18 AM

Here's the result using the tool I linked to: https://www.dropbox....cz9/STEP A4.pdf It doesn't seem to like the fact that the table of contents is next to a table with an A4 size, but it looks better with an A3 size: https://www.dropbox....s93/STEP A3.pdf And you can select a custom page size as well.
  • 0

#6 z929669

z929669

    Ixian Inventor

  • Administrator
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7,082 posts

Posted 21 May 2014 - 03:50 PM

That actually looks pretty damn good



#7 EssArrBee

EssArrBee

    Incompatibilism Manager

  • VIP-Supporter
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7,461 posts

Posted 21 May 2014 - 04:12 PM

Here's the result using the tool I linked to: https://www.dropbox....cz9/STEP A4.pdf It doesn't seem to like the fact that the table of contents is next to a table with an A4 size, but it looks better with an A3 size: https://www.dropbox....s93/STEP A3.pdf And you can select a custom page size as well.

What are doing for page breaks and margins?


  • 0

#8 CJ2311

CJ2311

    Jarl

  • Mod Author
  • PipPipPip
  • 1,183 posts

Posted 21 May 2014 - 05:15 PM

Well there's a lot of arguments for stuff like margins.

 

Setting the command to something like

wkhtmltopdf -B 0 -T 0 -S A3 <url> <file>

should get rid of the bottom and top margins, for instance.


  • 0

#9 EssArrBee

EssArrBee

    Incompatibilism Manager

  • VIP-Supporter
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7,461 posts

Posted 21 May 2014 - 06:42 PM

Yeah it works aright for me with T and B at 3 and the size at A4. Also, made a duplicate page without a TOC.

 

https://copy.com/2oNEWtPLfx4N


  • 0


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users