Better HN
topnewbestaskshowjobs
Log inSign up

julientaq

9 karma · joined Nov 10, 2019 (7y ago) · 10 submissions

Submissions

comment 5y ago · link · parent

I would be happy to see it too.

Reset page number using counter is working: https://codepen.io/julientaq/details/MWammZV

The property needs to be set to the element, and not to the @page.

But we may have missed a bug though, so i’ll be happy to check your code.

comment 5y ago · link · parent

www.booksprints.net people made 700 pages (which makes a lot of div to handle and process) without too much issues.

And you can also check https://villachiragan.saintraymond.toulouse.fr/impression to see HD images.

Both went straight to the printshop.

comment 7y ago · link · parent

If you want to know more, you can also go to https://www.cabbagetreelabs.org

comment 7y ago · link · parent

Since we use Blink rendering engine, and columns, we do have the ability to set up widows and orphans as we want it :)

comment 7y ago · link · parent

Because the other browsers havent made the @page size property available, which is the only thing we can't polyfill.

But Firefox is now looking at this, and Safari too. I hope we'll get to support more browsers soon enough (Firefox is my daily driver)

comment 7y ago · link · parent

Hey folks!

@julie_b @fredjc and myself are working on paged.js and we'll be happy to answer any question you may have :)

We're in https://mattermost.pagedmedia.org/ :)

Come play with us :)

comment 7y ago · link · parent

You can have a look at https://paged.design/ for some example.

Use chromium and try to print to see the whole thing in action.

comment 7y ago · link · parent

We're working hard for that to happen, and to see browsers implements more of the paged-media specs!

comment 7y ago · link · parent

It's basically a css print file, which includes a lot of css properties that are not built in browsers yet, with a preview you can see on screen.

print is just another aspect of responsive web design. And paged.js add the possibility to add things that the paper need and the browser don't (page number, cross rereferences, running-head, etc.)

A bit more info about css print: https://www.smashingmagazine.com/2018/05/print-stylesheets-i...

We're sending webpages to printing press, and it becomes a book. That's it.

comment 7y ago · link · parent

Julien here, working on paged.js

It's definitely made to print books and pages from the web. You can preview in a browser, but that's not the goal. It's a polyfill for CSS properties made for print.

Although, you can't tell for sure what people want to do with tools and library right? :)