Tsutomu Kawamura

Results 10 comments of Tsutomu Kawamura

Hi @iDuuck, how about #3? Even if you're the author of `sketchtools`, it feels something unfair.

Thanks for your feedback :-) I used this strategy in another product, Just FYI: ``` json { "scripts": { "postinstall": "curl -L https://cognitom.github.io/tokoro/dist/data-v02.zip > data.zip; unzip -oq data.zip -d data;...

Hi @chenweiyj, The paper sizes are defined [here](https://github.com/cognitom/paper-css/blob/master/paper.css#L12-L17) and [here](https://github.com/cognitom/paper-css/blob/master/paper.css#L37-L40). You can add any paper size like this in your css file: ``` css body.receipt .sheet { width: 58mm; height:...

We can also write them together in `` tag. This could be more manageable if you use the paper size in only one document. ``` html receipt @page { size:...

Hi @bionets. `paper-css` is just a set of CSS, so we need to do pagination manually.

Hi, @janvydra Pls, forget everything about IE... By the way, Firefox and Edge seems OK in my environment. Check this example: https://github.com/cognitom/paper-css/blob/master/examples/a4.html You can check the same file from this...

Hi @rzoller, As mentioned above, some browser inserts unwanted page-breaks at the end of the page, if we use the exact height like `297mm` for A4. That's why. Thanks @shasderias!

If you're on Firefox, you can use `display:fixed` for this purpose. But for Chrome/Safari, there's no solution AFAIK.

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...

@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`: ```bash $ git clone https://github.com/cognitom/paper-css.git $ cd paper-css $ npm install $ npm...