[Koha] gather_print_notices.pl and page breaks

Barton Chittenden barton at bywatersolutions.com
Thu Sep 15 01:15:08 NZST 2016


I've fixed it using NoticeCSS.

I used this to format notices to print on individual pages with an address
block that would show through the window of a #9 envelope... I'm going to
do a full write-up on how to configure setting up NoticeCSS, what divs to
add to the notices, etc. Watch the blog post at Bywatersolutions.com :-)

Here's the CSS:

pre { font-family: "Arial Black", Gadget, sans-serif; }
pre { font-size: 10pt; }

.message {
    top::0px;
    left: 0px;
    border: 0px;
    padding: 0px;
    margin: 0px;
}

div.address {
    position: relative;
    border 0px;
    padding 0px;
    margin 0px;
    top: 1.25in;
    left: 0.5in;
    width: 4.5in;
    height: 1.125in;
}

div.content {
    position: relative;
    top: 1.375in;
    left: 0.0in;
}

@media screen {
    .page-break {
        display: block;
        page-break-before: always;
    }
}
@media print {
    .page-break {
        display: block;
        page-break-before: always;
    }
}


On Wed, Sep 14, 2016 at 8:32 AM, Philippe Blouin <
philippe.blouin at inlibro.com> wrote:

> Ok.  I'll find the time today.
>
> Philippe Blouin,
> Responsable du développement informatique
>
> Tél.  : (888) 604-2627
> philippe.blouin at inLibro.com <mailto:philippe.blouin at inLibro.com>
>
> inLibro | pour esprit libre | www.inLibro.com <http://www.inLibro.com>
> On 09/14/2016 08:24 AM, Magnus Enger wrote:
>
>> On 14 September 2016 at 14:22, Philippe Blouin
>> <philippe.blouin at inlibro.com> wrote:
>>
>>> We got a running patch (moved from version to version) about exactly
>>> that.
>>> Not sure I can attach it here (does this list filters attachments?) but I
>>> can put it in a bugzilla if you want.  Unless it's a bad usage of
>>> bugzilla?
>>> I certainly do not entertain the idea of rebasing it 10 times to get it
>>> through...
>>>
>> Sounds interesting! I think attachments will be removed by the list
>> software, so Bugzilla sounds like a good option. I'll try and sign off
>> if you do attach a patch.
>>
>> Best regards,
>> Maguns
>> _______________________________________________
>> Koha mailing list  http://koha-community.org
>> Koha at lists.katipo.co.nz
>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>
>
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>


More information about the Koha mailing list