[OPEN-ILS-GENERAL] fancy HTML/CSS receipt lost in translation

Holly Brennan haderhold at ci.homer.ak.us
Mon Sep 28 15:21:50 EDT 2015


Thanks to both of you! It makes my formal HTML/CSS brain go a little crazy breaking all the rules, but I'm working on it. :)

-Holly

-----Original Message-----
From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org] On Behalf Of McCanna, Terran
Sent: Monday, September 28, 2015 11:19 AM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] fancy HTML/CSS receipt lost in translation

Yes -  it's creating an HTML/CSS page to print, and CSS backgrounds don't print by default. 

Apparently some printers have the option to force backgrounds to print, but I don't see that option on the printers I have access to. There are some various CSS tricks out there for trying to force backgrounds to print, but I haven't actually tried any of them and I haven't seen any one widely accepted way to do it. 

Terran McCanna 
PINES Program Manager 
Georgia Public Library Service 
1800 Century Place, Suite 150 
Atlanta, GA 30345 
404-235-7138 
tmccanna at georgialibraries.org 
----- Original Message -----
From: "Holly Brennan" <haderhold at ci.homer.ak.us>
To: "Evergreen Discussion Group (open-ils-general at list.georgialibraries.org)" <open-ils-general at list.georgialibraries.org>
Sent: Monday, September 28, 2015 2:46:04 PM
Subject: [OPEN-ILS-GENERAL] fancy HTML/CSS receipt lost in translation

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)



More information about the Open-ils-general mailing list