Giter VIP home page Giter VIP logo

Comments (3)

cognitom avatar cognitom commented on June 5, 2024 4

Hi @Aarbel,
I made this library to create beutiful receipts, invoices, tickets and more with ease. The point is that they are just for printing and not supposed to be webpages:

library documents *1 formal printings *2 page break layout paper size
paper-css - good manually fixed supported
Gutenberg ok - automatically fluid -
Hartija ok - automatically fluid -
  • *1: documents: multi-paged ones like reports, academic papers or just usual webpages.
  • *2: formal printings: single-paged ones like receipts, invoices or tickets.

from paper-css.

Aarbel avatar Aarbel commented on June 5, 2024

@cognitom thanks for your reactivity !

Just a few more questions, you seem highly invested in this repository so my goal is to make the greatest possible. For me printing well formatted html is the best way to avoid server-side pdf rendering, and it's a great way to save a lot of money / maintaining time for developers.

About page breaks

  • What happens if the content overflows a page ? Could you put some screenshots ?
  • To print multiple pages, does paper-css can allow automatic page breaks and allow us to choose on which divs the content can break ?

About layout

  • What's the difference between fixed and fluid ? Could you put screenshots of it ?

Definitions

  • Could you add more details about what a document is for you ? Image ? Iframe ? Canvas ? Pdf ?
  • Could you add more details about what formal printing criteria is for you ? Only single page print ?

Don't hesitate to add all these details in your readme ;)

from paper-css.

cognitom avatar cognitom commented on June 5, 2024

@Aarbel, what this library can is written in here:
https://github.com/cognitom/paper-css/blob/master/paper.css

Or you can try npm run preview:

$ git clone https://github.com/cognitom/paper-css.git
$ cd paper-css
$ npm install
$ npm run preview

What happens if the content overflows a page ?

https://github.com/cognitom/paper-css/blob/master/paper.css#L5

What's the difference between fixed and fluid ?

In the most of case, I use position: absolute; with paper-css. That's fixed I mean.

from paper-css.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.