The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Printing and the @page thingie
Brian Chandler
post Oct 30 2007, 04:46 AM
Post #1


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



I spent some time last week getting my shop printing to work (more or less) under Linux. I found a number of bugs in Opera (margins are wrong, won't print multiple copies) so for some things I'm using Firefox, despite the horrendous and long-standing bug in FF that means it doesn't work properly outside the USA. (The default paper size is an oddity peculiar to this one country, but every time you print it returns to this silly setting.)

Anyway, along the way I found some discussion of the @page specifier that seemed to say it was just hopeless, and better avoided. Any opinions?

I have also found it impossible to get page-break-inside:avoid to work. Opera happily breaks any element with this property, just about anywhere. (Obviously it's not too big to fit on a page.) Before I implement a manual repagination function (mercifully, page-break-before:always etc _do_ seem to work) does anyone have any suggestions or references?

The usual response is to say I should make a pdf, but I am not talking about a single page I can massage by hand, I'm talking about invoices which are all different. It's not really believable that the convert-to-pdf rendering engine would be better than any browser at getting this stuff right.

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 03:59 AM