[OPEN-ILS-GENERAL] fancy HTML/CSS receipt lost in translation
Thomas Berezansky
tsbere at mvlc.org
Mon Sep 28 14:57:10 EDT 2015
The actual print process generates the HTML header for you (when HTML
is being rendered), so you can't include it in the template. Try
style="blah" attributes instead.
Quoting Holly Brennan <haderhold at ci.homer.ak.us>:
> I created this blurb for our receipts (below), since plugging in the
> actual Banned Books Week image wasn't printing very well.
>
> It looks great on preview, but when it prints the table has no black
> background and the text is black. Examples of Preview and output
> below.
>
> I've never had something print differently than it appears in
> Preview. Am I just trying to do the impossible? Or perhaps it's my
> receipt printer? Very strange that not only is the background not
> printing black but the text is also not printing as white... I can
> almost understand one or the other, but not both.
>
> Thanks for your insight!
>
> -Holly
>
> PREVIEW IN RECEIPT TEMPLATE EDITOR:
>
> [cid:image002.jpg at 01D0F9DA.DF81D900]
>
> OUTPUT OF ACTUAL RECEIPT:
>
> [cid:image004.jpg at 01D0F9DA.DF81D900]
>
>
> Holly Brennan
> Library Technology Specialist
> Homer Public Library, Alaska
>
> hbrennan at cityofhomer-ak.gov
> 907-235-3180 (main)
> 907-435-3154 (direct)
--
Thomas Berezansky
Assistant Network Administrator
Merrimack Valley Library Consortium
4 High ST, Suite 175
North Andover, MA 01845
Phone: 978-557-8161
More information about the Open-ils-general
mailing list