Re: [OPEN-ILS-GENERAL] fancy HTML/CSS receipt lost in translation
Oooh - I was looking in printer preferences and totally overlooked it in the Page Settings dialog. Thanks! Terran McCanna PINES Program Manager Georgia Public Library Service 1800 Century Place, Suite 150 Atlanta, GA 30345 404-235-7138 tmcca...@georgialibraries.org - Original Message - From: "Thomas Berezansky" <tsb...@mvlc.org> To: "Evergreen Discussion Group" <open-ils-general@list.georgialibraries.org> Sent: Monday, September 28, 2015 3:25:38 PM 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" <tmcca...@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 > tmcca...@georgialibraries.org > - Original Message - > From: "Holly Brennan" <haderh...@ci.homer.ak.us> > To: "Evergreen Discussion Group > (open-ils-general@list.georgialibraries.org)" > <open-ils-general@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@01D0F9DA.DF81D900] > > OUTPUT OF ACTUAL RECEIPT: > > [cid:image004.jpg@01D0F9DA.DF81D900] > > > Holly Brennan > Library Technology Specialist > Homer Public Library, Alaska > > hbren...@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
Re: [OPEN-ILS-GENERAL] fancy HTML/CSS receipt lost in translation
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-boun...@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 tmcca...@georgialibraries.org - Original Message - From: "Holly Brennan" <haderh...@ci.homer.ak.us> To: "Evergreen Discussion Group (open-ils-general@list.georgialibraries.org)" <open-ils-general@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@01D0F9DA.DF81D900] OUTPUT OF ACTUAL RECEIPT: [cid:image004.jpg@01D0F9DA.DF81D900] Holly Brennan Library Technology Specialist Homer Public Library, Alaska hbren...@cityofhomer-ak.gov 907-235-3180 (main) 907-435-3154 (direct)
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" <tmcca...@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 tmcca...@georgialibraries.org - Original Message - From: "Holly Brennan" <haderh...@ci.homer.ak.us> To: "Evergreen Discussion Group (open-ils-general@list.georgialibraries.org)" <open-ils-general@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@01D0F9DA.DF81D900] OUTPUT OF ACTUAL RECEIPT: [cid:image004.jpg@01D0F9DA.DF81D900] Holly Brennan Library Technology Specialist Homer Public Library, Alaska hbren...@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
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 tmcca...@georgialibraries.org - Original Message - From: "Holly Brennan" <haderh...@ci.homer.ak.us> To: "Evergreen Discussion Group (open-ils-general@list.georgialibraries.org)" <open-ils-general@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@01D0F9DA.DF81D900] OUTPUT OF ACTUAL RECEIPT: [cid:image004.jpg@01D0F9DA.DF81D900] Holly Brennan Library Technology Specialist Homer Public Library, Alaska hbren...@cityofhomer-ak.gov 907-235-3180 (main) 907-435-3154 (direct)
[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@01D0F9DA.DF81D900] OUTPUT OF ACTUAL RECEIPT: [cid:image004.jpg@01D0F9DA.DF81D900] Holly Brennan Library Technology Specialist Homer Public Library, Alaska hbren...@cityofhomer-ak.gov 907-235-3180 (main) 907-435-3154 (direct)
Re: [OPEN-ILS-GENERAL] fancy HTML/CSS receipt lost in translation
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: 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@01D0F9DA.DF81D900] OUTPUT OF ACTUAL RECEIPT: [cid:image004.jpg@01D0F9DA.DF81D900] Holly Brennan Library Technology Specialist Homer Public Library, Alaska hbren...@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
Re: [OPEN-ILS-GENERAL] fancy HTML/CSS receipt lost in translation
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-boun...@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" <tmcca...@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 > tmcca...@georgialibraries.org > - Original Message - > From: "Holly Brennan" <haderh...@ci.homer.ak.us> > To: "Evergreen Discussion Group > (open-ils-general@list.georgialibraries.org)" > <open-ils-general@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@01D0F9DA.DF81D900] > > OUTPUT OF ACTUAL RECEIPT: > > [cid:image004.jpg@01D0F9DA.DF81D900] > > > Holly Brennan > Library Technology Specialist > Homer Public Library, Alaska > > hbren...@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