Re: [OPEN-ILS-GENERAL] [EXTERNAL] - Re: adding a picture to header and footer

2019-08-21 Thread Bill Coffey
I get it to show up on the checkout preview, but they randomly show up on the 
receipt.
Coding for the image

https://www.wcpl.org/imageRepository/Document?DocumentID=1238>

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of 
Benjamin Kalish
Sent: Wednesday, August 21, 2019 4:20 PM
To: Evergreen Discussion Group 
Subject: [EXTERNAL] - Re: [OPEN-ILS-GENERAL] adding a picture to header and 
footer

Alternatively you can use a data 
url.
 I've always used data urls, because for some reason or another I assumed we 
couldn't access network resources in print templates. It's good to know that's 
possible!

Benjamin Kalish
Forbes Library / 413-587-1012 / 
bkal...@forbeslibrary.org

Support Forbes Library:
·  Consider giving a gift to Forbes Library
·  Vote for the Friends of Forbes in the Florence Bank Community Grant 
Program.
·  Join the Friends the Forbes today!

Currently reading: The Indian Clerk by David Leavitt
Just Finished: The Tombs of Atuan by Ursula K. Le Guin

For information about accessibility at the library, please see: 
http://forbeslibrary.org/accessibility/



On Wed, Aug 21, 2019 at 1:15 PM Boyer, Jason A 
mailto:jbo...@library.in.gov>> wrote:
Hi Bill, since the receipt templates are eventually converted into plain HTML 
before being printed, you can just place an  tag wherever you'd like the 
image to appear. You will need to be certain though that the image url uses 
https or it won't load.

Jason

--
Jason Boyer
MIS Supervisor
Indiana State Library
http://library.in.gov/

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org]
 On Behalf Of Bill Coffey
Sent: Wednesday, August 21, 2019 12:57 PM
To: Evergreen Discussion Group 
(open-ils-general@list.georgialibraries.org)
 
mailto:open-ils-general@list.georgialibraries.org>>
Subject: [OPEN-ILS-GENERAL] adding a picture to header and footer

 This is an EXTERNAL email. Exercise caution. DO NOT open attachments or 
click links from unknown senders or unexpected email. 

We want to add a picture header and footer to our checkout receipts for both 
the web version and the software client.
Has anyone done this and what do I need to do to insert them into the receipts.
We are using all Star TSP 847 printers.

Thanks

[WCPLLogo_email]
Bill Coffey
Systems Administrator
Wayne County Public Library
1001 E. Ash St
Goldsboro, NC 27530

Phone:  (919) 735-6249
Cell:  (919) 750-6456
Fax: (919) 731-2889
email:   bill.cof...@waynegov.com



Re: [OPEN-ILS-GENERAL] adding a picture to header and footer

2019-08-21 Thread Benjamin Kalish
Alternatively you can use a data url
.
I've always used data urls, because for some reason or another I assumed we
couldn't access network resources in print templates. It's good to know
that's possible!

Benjamin Kalish
Forbes Library / 413-587-1012 / bkal...@forbeslibrary.org

Support Forbes Library:

   - Consider giving a gift  to Forbes
   Library
   - Vote for the Friends of Forbes in the Florence Bank Community Grant
   Program .
   - Join the Friends the Forbes today !


Currently reading: *The Indian Clerk* by David Leavitt
Just Finished:* The Tombs of Atuan* by Ursula K. Le Guin

For information about accessibility at the library, please see:
http://forbeslibrary.org/accessibility/



On Wed, Aug 21, 2019 at 1:15 PM Boyer, Jason A 
wrote:

> Hi Bill, since the receipt templates are eventually converted into plain
> HTML before being printed, you can just place an  tag wherever you'd
> like the image to appear. You will need to be certain though that the image
> url uses https or it won't load.
>
>
>
> Jason
>
>
>
> --
>
> Jason Boyer
>
> MIS Supervisor
>
> Indiana State Library
>
> http://library.in.gov/
>
>
>
> *From:* Open-ils-general [mailto:
> open-ils-general-boun...@list.georgialibraries.org] *On Behalf Of *Bill
> Coffey
> *Sent:* Wednesday, August 21, 2019 12:57 PM
> *To:* Evergreen Discussion Group (
> open-ils-general@list.georgialibraries.org) <
> open-ils-general@list.georgialibraries.org>
> *Subject:* [OPEN-ILS-GENERAL] adding a picture to header and footer
>
>
>
>  This is an EXTERNAL email. Exercise caution. DO NOT open attachments
> or click links from unknown senders or unexpected email. 
> --
>
> We want to add a picture header and footer to our checkout receipts for
> both the web version and the software client.
>
> Has anyone done this and what do I need to do to insert them into the
> receipts.
>
> We are using all Star TSP 847 printers.
>
>
>
> Thanks
>
>
>
> [image: WCPLLogo_email]
>
> Bill Coffey
>
> Systems Administrator
>
> Wayne County Public Library
>
> 1001 E. Ash St
>
> Goldsboro, NC 27530
>
>
>
> Phone:  (919) 735-6249
>
> Cell:  (919) 750-6456
>
> Fax: (919) 731-2889
>
> email:   bill.cof...@waynegov.com
>
>
>


Re: [OPEN-ILS-GENERAL] Silly way to put an image into a receipt

2019-08-21 Thread Jason Stephenson
Will,

(This time to the list. Apologies to Will who gets this email twice.)

Funny thing you should mention this here.  Rogan brought it up in IRC
and a couple of us chimed in that it should work.

You should also be able to embed SVG graphics in your templates as well:

https://www.w3schools.com/html/html5_svg.asp

Cheers,
Jason


On 8/21/19 2:12 PM, Will Matheson wrote:
> Hi everyone,
> 
> I don't really know how to attach this message to the relevant existing
> discussion, but I thought it was worth mentioning that you can actually
> 'embed' an image in your print templates through the 'magic' of base64
> encoding.
> 
> Basically, you go to a site like this: https://www.base64-image.de
>  , upload your image, and get the code.
> 
> And then put the code inside your  where you
> want it on the template.
> 
> Reasons to do this: Local file doesn't work, you don't have access to a
> web server, or the place where the image lives online prohibits
> hotlinking (serving the image through a site / page that's not theirs)
> 
> Downside: There's a healthy chunk of AWGewagewavew4236tjivAEWJHGI etc..
> in your template.
> 
> Cheers,
> 
> -- 
> William Matheson
> Library Assistant - Technical
> Prince Rupert Library
> 


[OPEN-ILS-GENERAL] Silly way to put an image into a receipt

2019-08-21 Thread Will Matheson

Hi everyone,

I don't really know how to attach this message to the relevant existing 
discussion, but I thought it was worth mentioning that you can actually 
'embed' an image in your print templates through the 'magic' of base64 
encoding.


Basically, you go to a site like this: https://www.base64-image.de 
 , upload your image, and get the code.


And then put the code inside your  where you 
want it on the template.


Reasons to do this: Local file doesn't work, you don't have access to a 
web server, or the place where the image lives online prohibits 
hotlinking (serving the image through a site / page that's not theirs)


Downside: There's a healthy chunk of AWGewagewavew4236tjivAEWJHGI etc.. 
in your template.


Cheers,

--
William Matheson
Library Assistant - Technical
Prince Rupert Library



Re: [OPEN-ILS-GENERAL] adding a picture to header and footer

2019-08-21 Thread Boyer, Jason A
Hi Bill, since the receipt templates are eventually converted into plain HTML 
before being printed, you can just place an  tag wherever you'd like the 
image to appear. You will need to be certain though that the image url uses 
https or it won't load.

Jason

--
Jason Boyer
MIS Supervisor
Indiana State Library
http://library.in.gov/

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Bill 
Coffey
Sent: Wednesday, August 21, 2019 12:57 PM
To: Evergreen Discussion Group (open-ils-general@list.georgialibraries.org) 

Subject: [OPEN-ILS-GENERAL] adding a picture to header and footer

 This is an EXTERNAL email. Exercise caution. DO NOT open attachments or 
click links from unknown senders or unexpected email. 

We want to add a picture header and footer to our checkout receipts for both 
the web version and the software client.
Has anyone done this and what do I need to do to insert them into the receipts.
We are using all Star TSP 847 printers.

Thanks

[WCPLLogo_email]
Bill Coffey
Systems Administrator
Wayne County Public Library
1001 E. Ash St
Goldsboro, NC 27530

Phone:  (919) 735-6249
Cell:  (919) 750-6456
Fax: (919) 731-2889
email:   bill.cof...@waynegov.com



Re: [OPEN-ILS-GENERAL] adding a picture to header and footer

2019-08-21 Thread Terran McCanna
Hi Bill,

You will need to upload the image file to a secure (https) web site so that
you can get a URL for it, and then use HTML to add that to your print
templates. For example:

https://pines.georgialibraries.org/dokuwiki/lib/exe/fetch.php?media=logo.png;
style="width:150px;padding:5px;">



Terran McCanna, PINES Program Manager
--

Georgia Public Library Service | University System of Georgia

2872 Woodcock Blvd, Suite 250 l Atlanta, GA 30341

(404) 235-7138 | tmcca...@georgialibraries.org

http://help.georgialibraries.org | h...@help.georgialibraries.org




Join our email list  for stories of Georgia
libraries making an impact in our communities.



On Wed, Aug 21, 2019 at 1:04 PM Bill Coffey 
wrote:

> We want to add a picture header and footer to our checkout receipts for
> both the web version and the software client.
>
> Has anyone done this and what do I need to do to insert them into the
> receipts.
>
> We are using all Star TSP 847 printers.
>
>
>
> Thanks
>
>
>
> [image: WCPLLogo_email]
>
> Bill Coffey
>
> Systems Administrator
>
> Wayne County Public Library
>
> 1001 E. Ash St
>
> Goldsboro, NC 27530
>
>
>
> Phone:  (919) 735-6249
>
> Cell:  (919) 750-6456
>
> Fax: (919) 731-2889
>
> email:   bill.cof...@waynegov.com
>
>
>


[OPEN-ILS-GENERAL] adding a picture to header and footer

2019-08-21 Thread Bill Coffey
We want to add a picture header and footer to our checkout receipts for both 
the web version and the software client.
Has anyone done this and what do I need to do to insert them into the receipts.
We are using all Star TSP 847 printers.

Thanks

[WCPLLogo_email]
Bill Coffey
Systems Administrator
Wayne County Public Library
1001 E. Ash St
Goldsboro, NC 27530

Phone:  (919) 735-6249
Cell:  (919) 750-6456
Fax: (919) 731-2889
email:   bill.cof...@waynegov.com