Bug 27013

Summary: Display an image of barcode on slips
Product: Koha Reporter: Séverine Queune <severine.queune>
Component: NoticesAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: new feature    
Priority: P5 - low CC: nicolas.legrand
Version: MainKeywords: Manual
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 13545    
Bug Blocks:    

Description Séverine Queune 2020-11-13 11:51:20 UTC
It could be great if, on printed slips, we could display an image of the barcode. Especially useful when a barcode is filled in Koha but not physically present on the book (lost, etc.) or just unreadable because of its condition.
Comment 1 Owen Leonard 2020-11-13 15:47:18 UTC
We do this now, although it may take some trial and error depending on the kind of barcode you have. From our notice template:

<img src="/cgi-bin/koha/svc/barcode?barcode=*[% item.barcode %]*&type=Code39" />

It would definitely be useful to make the process easier but I'm not sure what it would look like.
Comment 2 Séverine Queune 2020-11-13 15:55:44 UTC
(In reply to Owen Leonard from comment #1)
> We do this now, although it may take some trial and error depending on the
> kind of barcode you have. From our notice template:
> 
> <img src="/cgi-bin/koha/svc/barcode?barcode=*[% item.barcode
> %]*&type=Code39" />
> 
> It would definitely be useful to make the process easier but I'm not sure
> what it would look like.

Thanks Leonard for this information, I completely ignored that tip !
Should I leave the ticket 'New' then ?
Comment 3 Katrin Fischer 2022-01-05 12:21:46 UTC
Hi Severine, does Owen's tip work for you or is there a feature missing that we should add?
Comment 4 Katrin Fischer 2023-01-26 22:13:44 UTC
I believe we can safely close this now especially with the new bug 29821:

/cgi-bin/koha/labels/barcode-print.pl

This new tool on the cataloguing start page allows you to generate the code to add to the notices in order to display the barcode and preview the result.