[Wolves] Page breaks for printing from php

Robert Graffham robert.graffham at googlemail.com
Thu May 2 22:40:46 UTC 2013


Depending on the browsers/versions involved, styling the barcode images
with the CSS property page-break-inside (
https://developer.mozilla.org/en-US/docs/CSS/page-break-inside) would do
the trick. Specifically, page-break-inside:avoid;

Hope that helps!


On 2 May 2013 23:24, Wayne Morris <waynelists at machx.co.uk> wrote:

> Hi,
>
> Am trying to print a bunch of barcodes generated by taking an address from
> our mysql database then using an online qr code generator to produce the
> codes,
> adding a line of address and then producing page.
> Page works great on screen, come to print and it wants to print half a bar
> code on one page , half on next.
>
> Tried various page break code lines, but just end up with wierd results...
>
> any thoughts
>
> cheers
>
> Wayne
>
> ______________________________**_________________
> Wolves LUG mailing list
> Homepage: http://www.wolveslug.org.uk/
> Mailing list: Wolves at mailman.lug.org.uk
> Mailing list home: https://mailman.lug.org.uk/**mailman/listinfo/wolves<https://mailman.lug.org.uk/mailman/listinfo/wolves>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/wolves/attachments/20130502/af5303b1/attachment.html>


More information about the Wolves mailing list