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

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


Thanks, Thomas! Every time I change the printer settings it seems something crazy happens (like all receipts print a foot longer than needed, or the text shrinks to half sized). But I'm feeling brave today so I'll mess with it.

-Holly

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

To accomplish the background color printing in Evergreen:

When setting up the printer, select "Page Settings" and check the "Print Background (colors & images)" checkbox.

That should do it. It isn't a printer option so much as a "what application is printing" option.

Quoting "McCanna, Terran" <tmccanna at georgialibraries.org>:

> 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)


--
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