[Koha] jsprint setup -

Randall Rowe r.rowe at lincolnlibraries.org
Tue Apr 9 00:26:06 NZST 2013


Wow, now I understand why a lot of people repost. This took almost a full week from when I sent it until it hit the list. The reply to this post hit the list three days before this did. Kind of eliminates the ability to argue the top-post reply versus the bottom post reply to mailing lists when the order they get posted has nothing to do with time sent.

The date on the original post is 3/29, I replied to it the day I saw it on the list 4/1 and that reply hit the list 4/7. That's some massive lag.....

Randy Rowe
Lincoln City Libraries I.T.



---- Original Message ----
From: "Randall Rowe" <r.rowe at lincolnlibraries.org>
Sent: 4/7/2013 10:24:23 PM
To: croseburg at ncrl.org
Cc: koha at lists.katipo.co.nz
Subject: Re: [Koha] jsprint setup -

Chad,

This is overkill. If everything you do from this browser is going to be silently printed to the same printer, simply set up your printer prefs in FireFox. Then go to the about:config page and add a new boolean called "print.always_print_silent" and set it to true.

Randy





---- Original Message ----
From: "Chad Roseburg" <croseburg at ncrl.org>
Sent: 3/29/2013 3:30:56 PM
To: koha at lists.katipo.co.nz
Subject: [Koha] jsprint setup -

I am trying to setup silent printing using the 'IntranetSlipPrinterJS' in
Koha 3.10.

Documentation found here:
http://wiki.koha-community.org/wiki/Setting_up_slip_printer_to_print_silently

My javascript looks like this:
function printThenClose() {
 try
  {
        jsPrintSetup.setPrinter('TSP143-(STR_T-001)');
        jsPrintSetup.clearSilentPrint();
        jsPrintSetup.setOption('printSilent', 1);

 jsPrintSetup.setOption('headerStrLeft',);
        jsPrintSetup.setOption('headerStrCenter',);
        jsPrintSetup.setOption('headerStrRight',);
        jsPrintSetup.setOption('footerStrLeft',);
        jsPrintSetup.setOption('footerStrCenter',);
        jsPrintSetup.setOption('footerStrRight',);
        jsPrintSetup.print();
  }
catch(err)
  {
        //Default printing if jsPrint-setup is not available
        window.print();
        window.close();
  }
}

Using Firefox 19 on Ubuntu 12.04.

It brings up the receipt window but that's it. I've tried commenting out
the setprinter line
...no change. JSprint addon is set to allow any site access. Tried other
permissions to no avail. Does anyone have complete instructions for getting
this to work?

Thanks!

-- 
Chad Roseburg
Automation Dept.
North Central Regional Library
_______________________________________________
Koha mailing list  http://koha-community.org
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


_______________________________________________
Koha mailing list  http://koha-community.org
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha




More information about the Koha mailing list