Login
You're viewing the code4lib.social public feed.
  • Nov 1, 2026, 12:37 PM

    I am doing something simple - laying out a menu - so heading, a few balanced columns of menu items with title, price, description.

    Easy on a web page. OK.

    But I want a print format, so A4 paginated with margins.

    Convincing a web browser to do that is a bloody nightmare, seriously. Depends a lot on browser (chrome handles some pagination logic), and selected printer (some cases screw up margins totally). Some (Safari) end up chopping text in half.

    Arg.

    There may well be C code for this soon.

    💬 1🔄 0⭐ 4

Replies