Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
wbuchanan25210yUsed to think PDF was amazing for documents...then had to get data out of a PDF...don't think anything else needs to be said.
-
ghostlkr7510y@kanduvisla that looks like it could be very useful, however I am not in a position to suggest new a frame work or process. There are already several places in our web app that generates pdf's from html. Granted they are not including images, which seems to be my downfall. -
bluefirex32410yI can recommend mPDF (PHP). Was using DomPDF but that thig has so many undocumented random bugs (Including infinite loops on nested tables...) -
jaunkst3210yWrap the HTML in an electron app and bundle it up.. Look mom I don't even need Adobe to read it. Just kidding. HTML to PDF sucks.. Wait PDF sucks lol.
-
dkomito31010yWkhtmltopdf is the best I've found, but still quirky and even harder when going through Drupal. This took up all last week. -
ghostlkr7510y@dkomito that is what I am using, and what other devs have used at work. However none of them are generating pdf's with images which is where everything is exploding for me. -
thomas10123810ystretch your window to be A4 width. take a picture. save picture to PDF. Looks just like it did on the web :-) tehehe -
ghostlkr7510y@dkomito I am displaying a grid of products in a table, and there is always at least one row on one of the pages that add about 50px or more of padding throwing off the entire page. -
dkomito31010y@ghostlkr Ah! I experienced a problem with tables adding an extra page. I think table{ table-layout: fixed } helped in one instance, but had to just give-up and use floated divs.
Related Rants

What only relying on JavaScript for HTML form input validation looks like
How to vertically center in css..
Yeah no
Converting html to a pdf is the worst thing to do ever.
undefined
html
css
pdf