Bug 12503 - Problem with label alignment
Summary: Problem with label alignment
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Label/patron card printing (show other bugs)
Version: 3.14
Hardware: All All
: P5 - low normal (vote)
Assignee: Chris Nighswonger
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-30 14:53 UTC by Barton Chittenden
Modified: 2020-11-30 21:45 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
PDF file generated by the partner library. (1.11 KB, application/pdf)
2014-06-30 14:53 UTC, Barton Chittenden
Details
showing alignment from partner's spine label (1.88 KB, image/png)
2014-06-30 14:56 UTC, Barton Chittenden
Details
showing desired alignment (approximate) (1.95 KB, image/png)
2014-06-30 14:57 UTC, Barton Chittenden
Details
Spine Label Correctly Centered (4.77 KB, image/png)
2014-09-18 16:33 UTC, Chris Nighswonger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Barton Chittenden 2014-06-30 14:53:34 UTC
Created attachment 29375 [details]
PDF file generated by the partner library.

This appears to be a re-occurrence of bug 6075, which was closed because the issue could not be replicated.

Description of the problem:

A call number of the form XXX YYY ZZZ will print out such that the last line is shifted left by roughly the width of one character:

    XXX
    YYY
   ZZZ

If the first row is missing (e.g. YYY ZZZ), the last row will again be shifted:

    YYY
   ZZZ


We are using 'Layout 1', with no 

Layout ID	Layout	Barcode Type	Print Type	Fields to Print	Select
1	SPINE	CODE39	BIB	itemcallnumber	
mysql> select * from creator_layouts\G 
*************************** 1. row ***************************
    layout_id: 1
 barcode_type: CODE39
  start_label: 1
printing_type: BIB
  layout_name: SPINE
     guidebox: 0
         font: C
    font_size: 14
        units: POINT
callnum_split: 1
 text_justify: C
format_string: itemcallnumber
   layout_xml: 
      creator: Labels
1 row in set (0.00 sec)

We are using the following template, with no profile specified.

mysql> select * from creator_templates\G                                                                                                                      
*************************** 1. row ***************************
     template_id: 1
      profile_id: 0
   template_code: Spine Lable Template
   template_desc: To be used with Gaylord 1 1/2" x 1 1/8"
      page_width: 8.5
     page_height: 11
     label_width: 1.125
    label_height: 1.5
 top_text_margin: 0.25
left_text_margin: 0.25
      top_margin: 0.7
     left_margin: 0.35
            cols: 6
            rows: 6
         col_gap: 0.2
         row_gap: 0.2
           units: INCH
         creator: Labels

Here are the associated call numbers from the Partner Library's items table:

FIC ROB
LP FIC ROB
OB 641.5636 DEN
973.932 MCC
395.2 POS
Comment 1 Barton Chittenden 2014-06-30 14:56:43 UTC
Created attachment 29376 [details]
showing alignment from partner's spine label
Comment 2 Barton Chittenden 2014-06-30 14:57:42 UTC
Created attachment 29377 [details]
showing desired alignment (approximate)
Comment 3 Chris Nighswonger 2014-09-18 16:33:46 UTC
Created attachment 31723 [details]
Spine Label Correctly Centered

I don't see the problem here. We're running 3.14.03.000.

Layout:

    layout_id: 14
 barcode_type: CODE39
  start_label: 1
printing_type: BIB
  layout_name: SPINE center
     guidebox: 0
         font: C
    font_size: 14
        units: POINT
callnum_split: 1
 text_justify: C
format_string: itemcallnumber
   layout_xml: 
      creator: Labels

Template:

     template_id: 18
      profile_id: 17
   template_code: Brodart - Librarian (center)
   template_desc: Brodart Spine Labels - Librarian (Center) from Tray 1
      page_width: 8.5
     page_height: 11
     label_width: 1.5
    label_height: 1
 top_text_margin: 0.236
left_text_margin: 0
      top_margin: 0.5
     left_margin: 0.28125
            cols: 5
            rows: 10
         col_gap: 0.0937
         row_gap: 0
           units: INCH
         creator: Labels
Comment 4 Chris Nighswonger 2014-09-18 16:35:55 UTC
Call number for above comment: 291.1720973 H9752 c.2
Comment 5 Marc Véron 2015-05-01 11:25:26 UTC
Is this still valid on current master?
Comment 6 Katrin Fischer 2020-01-05 14:45:42 UTC
Closing WORKSFORME per comment#3