IUG FORUM

Stay always connected!
  1. John Luke
  2. Sierra/ Millennium/ Encore
  3. Friday, 25 August 2017
  4.  Subscribe via email
I have a library that has two computers both running Win 10 and Sierra. In Admin >> Settings >> Print Templates, I have the user select 'Due Slip' in the left pull down, check 'Use Print template', and then highlight their libraries' new print template that I custom made in Jaspersoft Studio and imported into Sierra.

When the user hits the preview button on No.1 computer, their correct Print Template pops up in a view as it should.

But on their No.2 computer, the user gets a error message when they hit preview..

When a patron checks out using No.1 computer, the new custom due slip prints out fine. No receipt gets printed when using No.2 computer.

Trying to figure out what No.2 computer doesn't like about the Print Template I made. The only difference I can tell is that the computers have different Java update build numbers. Not sure where else to look.

jluke@mail.owls.lib.wi.us
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Sierra 3.1.0_11
JRE Version 1.6.0_31

No 'contains' method in code. When we upgrade to Sierra 3.2, hopefully all will be well.

Thanks for the tip.

jluke@mail.owls.lib.wi.us
Comment
There are no comments made yet.
  1. more than a month ago
  2. Sierra/ Millennium/ Encore
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi John,

Just wanted to throw this out there because your issue sounded similar to mine. I've been spending the last week or so updating some of our print templates that don't work with the JRE Version 1.8 Sierra client. If you're downloading the install executable for Sierra straight from the server, you might be using this version if you're on a later version of Sierra. You can check by opening Sierra and using Help > About to see the JRE Version. Most of our templates work just fine with 1.8, but I had a couple that crashed in preview mode. In my case, I was using the "contains" method and once I replaced it with another method like "matches" or "equals" it worked fine. It became an issue for us when one of our libraries used the 1.8 client with these templates and it wouldn't print. Hope that helps.

Steve

steve.heser@mcfls.org
Comment
There are no comments made yet.
  1. more than a month ago
  2. Sierra/ Millennium/ Encore
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
I just had the library try the template with the new code. Same problem. It previews & works on one computer, but not the other. I guess we'll have to wait for another JAVA update from Oracle to see if their Computer No.2 will eventually work with the template.

Thanks again everyone for all the help!

jluke@mail.owls.lib.wi.us
Comment
There are no comments made yet.
  1. more than a month ago
  2. Sierra/ Millennium/ Encore
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
John, ignore my last comment. I was confused because my printer was coughing about needing a different paper type, that led me to believe it wasn't printing.

Sorry.

CHARPER@vts.edu
Comment
There are no comments made yet.
  1. more than a month ago
  2. Sierra/ Millennium/ Encore
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
John, I think it prints if I comment out the "Items checked out to:" + patron record number. It looks like that tries to force a null to a string???

CHARPER@vts.edu
Comment
  1. John Luke
  2. 2 years ago
  3. #895
Cindy, you're looking at line 271?

jluke@mail.owls.lib.wi.us
There are no comments made yet.
  1. more than a month ago
  2. Sierra/ Millennium/ Encore
  3. # 5
  • Page :
  • 1
  • 2
  • 3


There are no replies made for this post yet.
Be one of the first to reply to this post!