https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40849

            Bug ID: 40849
           Summary: Undesired printing effects in slips when branch notes
                    are printed
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Notices
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

This is going to be a hard one to explain.

I'm using logic in HOLD_SLIP to determine if the hold is in house or a
transfer, and then print the slip accordingly.  We have done this for years. 
This has always worked fine.

Recently, the slip has stopped printing the the extra space we print at the end
of the slip to make the slip longer for books whenever the slip has notes from
the library branch field.  This is what I have determined:

We have a line in the slip that prints the library notes after the library
name.  It looks like this:
        <h1>[% branch.branchname %]<br/>
        <i>[% branch.branchnotes %]</i></h1>

Below that, this is what we use to lengthen the slip:

        [% blank = '&nbsp;&nbsp;&nbsp;<br />' %]
        [% blank.repeat(25) %]

If the library doesn't have any notes, the extra space prints fine.  But if it
does have notes, it omits the spacing.  I have confirmed this by removing the
second line for the notes and only printing the destination.  If I remove the
second line, it prints just fine.

This also only seems to affect certain printers.  I can print on the latest
driver for Star TSP100III with the second line for notes just fine, but if I
print with the latest driver for POS-X thermal printers, it is affected by this
line.  I am working with the POS-X vendor to see what they can find on their
end and why their driver behaves differently, but for this extra info to affect
the driver at all, I thought it might be worth filing a bug on and see if there
is a problem with my coding or something in Koha itself that could be affecting
printing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to