<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title><![CDATA[KOHA: search for category:sysadmin]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?action=search;search_term=category%3Asysadmin</link>
<description></description>
<pubDate>Mon, 13 Dec 2010 15:46:37 -0000</pubDate>
<webMaster>root@saturn.ffzg.hr</webMaster>
<generator>Socialtext Workspace v2.19.0.2</generator>

<item>
<title><![CDATA[Parametri sustava]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?parametri_sustava</link>
<description><![CDATA[<div>Creator: Marijana Glavica</div><hr/><div>Tags: sysadmin</div><hr/><div class="wiki">
<h2 id="libraries_branches_and_groups">Libraries, branches and groups</h2>
<p>
Potrebno je odrediti:<br />
<em>home location</em> - oznaka za bazu u kojoj se nalaze zapisi<br />
<em>holding location</em> - oznaka za knjižnicu koja posjeduje građu</p>
<p>
Radna verzija:</p>
<ul>
<li>U oba slučaja bilježimo FF i uključujemo opciju single branch mode.</li>
<li>treba razmotriti mogućnost da se sa zatvorenim spremištem komunicira tako da se spremište definira kao branch</li>
</ul>
<h2 id="lokalna_dokumentacija">Lokalna dokumentacija</h2>
<ul>
<li><a href="https://saturn.ffzg.hr/koha/index.cgi?Koha%203.0%20administracija" title="[click to create page]" class="incipient">Koha 3.0 administracija</a> - u nastajanju</li>
</ul>
<hr />
<p>
Zadužene:<br />
Iva i Marijana</p>
</div>
]]></description>
<author>Marijana Glavica</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?parametri_sustava</guid>
<pubDate>Sun, 28 Jun 2009 15:42:21 -0000</pubDate>
</item>
<item>
<title><![CDATA[potrebna podrška]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?potrebna_podr%C5%A1ka</link>
<description><![CDATA[<div>Creator: Marijana Glavica</div><hr/><div>Tags: sysadmin</div><hr/><div class="wiki">
<ul>
<li>instalacija i održavanje (uključujući i održavanje servera)</li>
<li>edukacija o konfiguraciji sustava</li>
<li>razvoj nove funkcionalnosti</li>
</ul>
</div>
]]></description>
<author>Marijana Glavica</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?potrebna_podr%C5%A1ka</guid>
<pubDate>Sun, 28 Jun 2009 15:58:59 -0000</pubDate>
</item>
<item>
<title><![CDATA[Dodaci za Koha softver]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?dodaci_za_koha_softver</link>
<description><![CDATA[<div>Creator: Marijana Glavica</div><hr/><div>Tags: sysadmin</div><hr/><div class="wiki">
<h1 id="firefox_searchplugin">Firefox searchplugin</h1>
<p>
Sa stranice <a target="_blank" title="(external link)" href="http://mjesec.ffzg.hr/koha/firefox">http://mjesec.ffzg.hr/koha/firefox</a> može se instalirati dodatak za Firefox uz pomoć kojeg se Koha pretražuje prema određenom polju.<br />
Za sad postoji dodatak za zaposlenike koji će služi za brzo dolaženje do primjerka kojeg treba obraditi, a naknadno ćemo izraditi i dodatke za korisnike.</p>
</div>
]]></description>
<author>Marijana Glavica</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?dodaci_za_koha_softver</guid>
<pubDate>Sun, 28 Jun 2009 15:54:54 -0000</pubDate>
</item>
<item>
<title><![CDATA[Instalacija]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?instalacija</link>
<description><![CDATA[<div>Creator: Marijana Glavica</div><hr/><div class="wiki">
</div>
]]></description>
<author>Marijana Glavica</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?instalacija</guid>
<pubDate>Sun, 01 Mar 2009 00:18:56 -0000</pubDate>
</item>
<item>
<title><![CDATA[Hardver]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?hardver</link>
<description><![CDATA[<div>Creator: Marijana Glavica</div><hr/><div>Tags: hardver, sysadmin</div><hr/><div class="wiki">
<p>
ožujak, 2008:</p>
<p>
&nbsp;&nbsp;&nbsp;&nbsp;* ima jedan server od FF-a na raspolaganju, kaže Gjuro. treba se javiti Banetu<br />
&nbsp;&nbsp;&nbsp;&nbsp;* Dobrica i Bane stupili u kontakt oko servera<br />
&nbsp;&nbsp;&nbsp;&nbsp;* tražene i dobivene i IP adrese<br />
&nbsp;&nbsp;&nbsp;&nbsp;* za sad instalirane 2 virtualne mašine na mjesecu - koha-dev.rot13.org i koha.rot13.org</p>
<p>
<strong>Koliko je Koha zahtijevna i koliko može izdržati?</strong></p>
<p>
opac.liblime.com is running with 1.5 million bib records and 2 million items: that's about 3 Gigs of binary MARC data, about 10 Gigs of MySQL space, and about 31 Gigs of Zebra index. The server it's running on has 2 gigs of RAM.<br />
recomended separate physical disks for mysql, zebra registers, zebra shadow files, and the filesystem itself.</p>
<p>
<a target="_blank" title="(external link)" href="http://www.nabble.com/forum/ViewPost.jtp?post=19193777&amp;framed=y">http://www.nabble.com/forum/ViewPost.jtp?post=19193777&amp;framed=y</a><br />
moguće <em>zebraque deamon</em> ograničenje</p>
</div>
]]></description>
<author>Marijana Glavica</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?hardver</guid>
<pubDate>Sun, 11 Jan 2009 20:07:29 -0000</pubDate>
</item>
<item>
<title><![CDATA[Hardver i održavanje]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?hardver_i_odr%C5%BEavanje</link>
<description><![CDATA[<div>Creator: Marijana Glavica</div><hr/><div class="wiki">
</div>
]]></description>
<author>Marijana Glavica</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?hardver_i_odr%C5%BEavanje</guid>
<pubDate>Sun, 11 Jan 2009 20:07:46 -0000</pubDate>
</item>
<item>
<title><![CDATA[Održavanje]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?odr%C5%BEavanje</link>
<description><![CDATA[<div>Creator: Marijana Glavica</div><hr/><div>Tags: održavanje, sysadmin</div><hr/><div class="wiki">
<p>
kako učiniti da to radi idućih nekoliko godina</p>
<p>
&nbsp;&nbsp;&nbsp;&nbsp;* tražiti ponude od tvrtki koje to mogu održavati i nadograđivati, kako bi se procijenili troškovi<br />
&nbsp;&nbsp;&nbsp;&nbsp;* opisati radna mjesta u ustanovi potrebna za održavanje<br />
&nbsp;&nbsp;&nbsp;&nbsp;* procijeniti količinu i cijenu edukacije</p>
<p>
&nbsp;&nbsp;&nbsp;&nbsp;* početkom travnja ostvaren kontakt s LibLime<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;o treba ih zamoliti za ponudu<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+ opisati stanje i potrebe (zahtjeve)<br />
&nbsp;&nbsp;&nbsp;&nbsp;* ponudu treba tražiti i od drugih firmi</p>
</div>
]]></description>
<author>Marijana Glavica</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?odr%C5%BEavanje</guid>
<pubDate>Sun, 11 Jan 2009 20:06:40 -0000</pubDate>
</item>
<item>
<title><![CDATA[Global system preferences]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?global_system_preferences</link>
<description><![CDATA[<div>Creator: Marijana Glavica</div><hr/><div>Tags: globalni parametri, sysadmin</div><hr/><div class="wiki">
<p>
Ovdje se nalaze pojašnjenja i bilješke uz postavke sostupne preko Koha administracijskog sučelja.</p>
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [KOHA]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#admin">KOHA (Admin)</a><!-- wiki: {link: [KOHA] Admin} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#i18n_l10n">KOHA (I18N/L10N)</a><!-- wiki: {link: [KOHA] I18N/L10N} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#cataloguing">KOHA (Cataloguing)</a><!-- wiki: {link: [KOHA] Cataloguing} --></span></li>
</ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="admin">Admin</h1>
<p>
<strong>IndependantBranches</strong> : OFF / ON<br />
If ON, increases security between libraries.</p>
<p>
Na što se točno odnosi taj (in)security? - mislim da ima pojasnjenje u dokumentaciji za 2.2<br />
Kako se koristi? Radi li kako treba?</p>
<h1 id="i18n_l10n">I18N/L10N</h1>
<p>
<strong>dateformat</strong> : metric<br />
This controls how dates are displayed on the Koha screens, not how they are stored in the database (usually yyyy-mm-dd).</p>
<p>
to treba za prikaz u katalogu (pogledati holdings, podatke o primjecima)</p>
<p>
podesila sam na metirc, ovaj opis postavke ima gresku, treba biti dd/mm/yyyy:<br />
us mm/dd/yyyy, metric dd/mm/yyy, ISO yyyy/mm/dd</p>
<h1 id="cataloguing">Cataloguing</h1>
<p>
<strong>RoutingSerials</strong> (If ON, serials routing is enabled) : ON / OFF</p>
<p>
Razmotriti treba li nam ovo? Ako treba, odrediti prioritete.</p>
<p>
<strong>autoBarcode</strong> : OFF</p>
<p>
Item dobiva barcode u obliku serijskog broja bilo da je ova opcija OFF ili ON nakon što se klikne na &quot;Add Item&quot;. Barcode se ne može izbrisati preko &quot;Edit Item&quot;.<br />
ako je ON, u Edit Items sučelju barcode se generira klikom na polje, ako je OFF klik ne generira barcode</p>
</div>
]]></description>
<author>Marijana Glavica</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?global_system_preferences</guid>
<pubDate>Sun, 11 Jan 2009 17:41:21 -0000</pubDate>
</item>
<item>
<title><![CDATA[Koha virtual LDAP]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?koha_virtual_ldap</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: for:dpavlin, ldap, sysadmin</div><hr/><div class="wiki">
<p>
Za detalje pogledajte <a href="https://saturn.ffzg.hr/koha/index.cgi?ldap" title="(196 months) Kako podesiti Kohu da radi s LDAP bazom Video prezentacije o Virtual LDAP-u http html5tv.rot13.org H...">LDAP</a></p>
<p>
Virtualni LDAP omogućava Kohi da isporučuje podatke preko LDAP-a drugim sustavima, u našem slučaju, kopirkama, vidi <a href="https://saturn.ffzg.hr/koha/index.cgi?safeq_integration" title="(202 months)  toc Integration of SafeQ and Koha We are trying to integrate users in SafeQ and our users in Koha. ...">SafeQ integration</a>.</p>
<p>
Drugi dio sustava je <a href="https://saturn.ffzg.hr/koha/index.cgi?ldap_rewrite" title="(199 months) Dio [Koha virtual ldap] repozitorja http svn.rot13.org index.cgi virtual-ldap log bin ldap-rewrite.p...">LDAP rewrite</a> koji omogućava korištenje <a href="mailto:login@ffzg.hr">login@ffzg.hr</a> bez modifikacija kohe.</p>
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [KOHA]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#upgrade">KOHA (upgrade)</a><!-- wiki: {link: [KOHA] upgrade} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#start_server_process">KOHA (start server process)</a><!-- wiki: {link: [KOHA] start server process} --></span></li>
</ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="upgrade">upgrade</h1>
<p>
Upgrade na <strong>r61</strong> koji ima podršku za novu koha konfiguraciju i logine bez modifikacije kohe:</p>
<pre>
# tunnel
dpavlin@llin:~$ ssh -R 8022:localhost:22 10.60.0.252

dpavlin@koha-2010-01-06:~$ cd /srv/virtual-ldap/
dpavlin@koha-2010-01-06:/srv/virtual-ldap$ svn update
A    sql
A    sql/organizationalunit.sql
A    sql/group.sql
A    sql/hreduperson.sql
U    lib/LDAP/Virtual.pm
U    lib/LDAP/Koha.pm
U    bin/ldap-rewrite.pl
Updated to revision 61.
</pre>
<br /><h1 id="start_server_process">start server process</h1>
<pre>
dpavlin@koha-upgrade:~$ screen -S virtual-ldap
</pre>
<br /><p>
Pokrenuti server (inače to radi monit, ali on je deinstaliran da ne gnjavi)</p>
<pre>
dpavlin@koha-upgrade:~$ cd /srv/virtual-ldap/
dpavlin@koha-upgrade:/srv/virtual-ldap$ ./bin/virtual-ldap.pl 
LDAP server listening on port 1389
</pre>
<br /><p>
Čudan depdendency koji ne bi trebao postojati (kako radi na produkciji?)</p>
<pre>
dpavlin@koha-upgrade:/srv/virtual-ldap$ ./bin/virtual-ldap.pl 
Can't locate Net/LDAP/Server.pm in @INC (@INC contains: lib /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at lib/LDAP/Virtual.pm line 12, &lt;DATA&gt; line 96.
BEGIN failed--compilation aborted at lib/LDAP/Virtual.pm line 12, &lt;DATA&gt; line 96.
Compilation failed in require at ./bin/virtual-ldap.pl line 7, &lt;DATA&gt; line 96.
BEGIN failed--compilation aborted at ./bin/virtual-ldap.pl line 7, &lt;DATA&gt; line 96.


dpavlin@koha-upgrade:/srv/virtual-ldap$ sudo apt-get install libnet-ldap-server-perl
</pre>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?koha_virtual_ldap</guid>
<pubDate>Fri, 08 Jan 2010 19:08:08 -0000</pubDate>
</item>
<item>
<title><![CDATA[Zotero WebDAV server]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?zotero_webdav_server</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: for:dpavlin, sysadmin</div><hr/><div class="wiki">
<p>
<a target="_blank" title="(external link)" href="http://www.zotero.org/">Zotero<!-- wiki-renamed-hyperlink "Zotero"<http://www.zotero.org/> --></a> is a free, easy-to-use <strong>Firefox extension</strong><br />
to help you <strong>collect, manage, and cite</strong> your research sources. It lives right where you do <br />
your work—in the <strong>web browser</strong> itself.</p>
<h1 id="izazov">Izazov</h1>
<p>
Problem (err, izazov) je u tome da želimo imati Zotero koji se autorizira WebDAV-om koristeći račune iz Kohe. Jedna od mogućnosti je koristiti jednostavno AAIEdu LDAP server ali onda nemamo korisnike koji su samo u Kohi.</p>
<p>
Druga ideja je bila koristiti <tt>libapache2-mod-auth-mysql</tt> za autorizaciju direktno na Koha bazu, ali nažalost izgleda da se neda konfigurirati za isti oblik md5 hash-a passworda koji koristi koha (sigh)</p>
<p>
<strong>Ostatak uputa je strgan (i/ili star) dok ne rješim problem!</strong></p>
<p>
<a target="_blank" title="(external link)" href="http://bugs.rot13.org/rt/Ticket/Display.html?id=397">http://bugs.rot13.org/rt/Ticket/Display.html?id=397</a></p>
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [KOHA]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#izazov">KOHA (Izazov)</a><!-- wiki: {link: [KOHA] Izazov} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#za_korisnike_zotera">KOHA (Za korisnike Zotera)</a><!-- wiki: {link: [KOHA] Za korisnike Zotera} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#install_zotero_firefox_plugin_2_0">KOHA (Install Zotero Firefox plugin 2.0)</a><!-- wiki: {link: [KOHA] Install Zotero Firefox plugin 2.0} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#pode_C5_A1avanje_servera">KOHA (Podešavanje servera)</a><!-- wiki: {link: [KOHA] Podešavanje servera} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#apache_kao_ssl_proxy">KOHA (Apache kao SSL proxy)</a><!-- wiki: {link: [KOHA] Apache kao SSL proxy} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#apache_webdav">KOHA (Apache WebDAV)</a><!-- wiki: {link: [KOHA] Apache WebDAV} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#apache_auth">KOHA (Apache auth)</a><!-- wiki: {link: [KOHA] Apache auth} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#directory">KOHA (Directory)</a><!-- wiki: {link: [KOHA] Directory} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#apache_vhost">KOHA (Apache vhost)</a><!-- wiki: {link: [KOHA] Apache vhost} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#test">KOHA (Test)</a><!-- wiki: {link: [KOHA] Test} --></span></li>
</ul></ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="za_korisnike_zotera">Za korisnike Zotera</h1>
<h2 id="install_zotero_firefox_plugin_2_0">Install Zotero Firefox plugin 2.0</h2>
<p>
<a target="_blank" title="(external link)" href="http://www.zotero.org/download/zotero-2.0b7.4.xpi">install<!-- wiki-renamed-hyperlink "install"<http://www.zotero.org/download/zotero=-2.0b7.4.xpi> --></a></p>
<h1 id="pode_C5_A1avanje_servera">Podešavanje servera</h1>
<h2 id="apache_kao_ssl_proxy">Apache kao SSL proxy</h2>
<pre>
dpavlin@koha-dev:~$ sudo a2enmod proxy_http
Considering dependency proxy for proxy_http:
Enabling module proxy.
Enabling module proxy_http.
Run '/etc/init.d/apache2 restart' to activate new configuration!
</pre>
<br /><pre>
    &lt;Proxy *&gt;
        Order deny,allow
#       Deny from all
#       Allow from localhost
        Allow from all
    &lt;/Proxy&gt;

    ProxyRequests       on
    ProxyPass           /zotero http://localhost:4242/zotero
    ProxyPassReverse    /zotero http://localhost:4242/zotero
</pre>
<br /><h2 id="apache_webdav">Apache WebDAV</h2>
<pre>
dpavlin@koha-dev:~$ sudo a2enmod dav_fs dav
Considering dependency dav for dav_fs:
Enabling module dav.
Enabling module dav_fs.
Module dav already enabled
Run '/etc/init.d/apache2 restart' to activate new configuration!
dpavlin@koha-dev:~$ sudo /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting.
</pre>
<br /><h2 id="apache_auth">Apache auth</h2>
<pre>
dpavlin@koha-dev:~$ sudo apt-get install libapache2-mod-auth-mysql

dpavlin@koha-dev:~$ sudo a2enmod auth_mysql
Enabling module auth_mysql.
Run '/etc/init.d/apache2 restart' to activate new configuration!
dpavlin@koha-dev:~$ sudo /etc/init.d/apache2 restart
</pre>
<br /><h2 id="directory">Directory</h2>
<pre>
dpavlin@koha-dev:~$ sudo mkdir /srv/zotero
</pre>
<br /><h2 id="apache_vhost">Apache vhost</h2>
<pre>
dpavlin@koha-dev:~$ cat /etc/apache2/sites-available/zotero-dev.vzb.ffzg.hr 
&lt;VirtualHost *&gt;
        ServerName zotero-dev.vbz.ffzg.hr
        DocumentRoot /srv/zotero
        &lt;Directory /home/srw/example.com&gt;
                Options Indexes MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        &lt;/Directory&gt;

                Auth_MySQL_Info localhost LOGIN PASSWORD

        &lt;Location /&gt;

                Auth_MYSQL on

                Auth_MySQL_Password_Table borrowers
                Auth_MySQL_Username_Field userid
                Auth_MySQL_Password_Field password
                Auth_MySQL_Empty_Passwords off
                Auth_MySQL_Encryption_Types Crypt_MD5
                #PHP_MD5

                DAV On
                AuthType Basic
                AuthName &quot;Zotero WebDAV server - use Koha login and password&quot;
                Require valid-user

        &lt;/Location&gt;

&lt;/VirtualHost&gt;

dpavlin@koha-dev:/etc/apache2/sites-enabled$ sudo a2ensite zotero-dev.vzb.ffzg.hr
</pre>
<br /><h2 id="test">Test</h2>
<pre>
dpavlin@koha-dev:~$ sudo apt-get install cadaver

dpavlin@koha-dev:~$ cadaver http://zotero-dev.rot13.org
</pre>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?zotero_webdav_server</guid>
<pubDate>Tue, 17 Nov 2009 16:23:26 -0000</pubDate>
</item>
<item>
<title><![CDATA[WebPAC2]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?webpac2</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: mysql, sysadmin, WebPAC2</div><hr/><div class="wiki">
<p>
Korisne bilješke za korištenje <a target="_blank" title="(external link)" href="http://webpac.us/">WebPAC2<!-- wiki-renamed-hyperlink "WebPAC2"<http://webpac.us/> --></a> sa Kohom.</p>
<h1 id="indeksiranje_podataka_iz_kohe">Indeksiranje podataka iz Kohe</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://blog.rot13.org/2009/07/sharing_mysql_between_openvz_containers.html">http://blog.rot13.org/2009/07/sharing_mysql_between_openvz_containers.html</a></li>
</ul>
<pre>
root@koha-hw:~# mount --bind /vz/root/212052/var/run/mysqld/ \
      /vz/root/212056/var/run/mysqld/
</pre>
<br /><pre>
dpavlin@webpac2:/srv/webpac2$ export KOHA_USER=kohaadmin
dpavlin@webpac2:/srv/webpac2$ export KOHA_PASSWD=password
dpavlin@webpac2:/srv/webpac2$ ./run.pl --config vhost/koha/config.yml 
</pre>
<br /><ul>
<li><a target="_blank" title="(external link)" href="http://webpac2.rot13.org/webpac2.cgi/koha">http://webpac2.rot13.org/webpac2.cgi/koha</a></li>
</ul>
<p>
Drugi način je korištenje DBD::Gofer <tt>DBI_AUTOPROXY='dbi:Gofer:transport=stream;url=ssh:dpavlin@koha.ffzg.hr'</tt> ali za to cijeli resultset mora stati u memoriju</p>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?webpac2</guid>
<pubDate>Fri, 29 Jan 2010 11:34:31 -0000</pubDate>
</item>
<item>
<title><![CDATA[Računala za pretraživanje kataloga]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?ra%C4%8Dunala_za_pretra%C5%BEivanje_kataloga</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: for:dpavlin, sysadmin</div><hr/><div class="wiki">
<span class="nlw_phrase"><img alt="racunala-za-pretrazivanje-kataloga.JPG" src="https://saturn.ffzg.hr/koha/index.cgi/racunala-za-pretrazivanje-kataloga.JPG?action=attachments_download;page_name=ra%C4%8Dunala_za_pretra%C5%BEivanje_kataloga;id=20091107142641-0-22538" /><!-- wiki: {image: racunala-=za-=pretrazivanje-=kataloga.JPG} --></span><br /><br /><p>
Koristi <a target="_blank" title="(external link)" href="http://webconverger.com/">Webconverger<!-- wiki-renamed-hyperlink "Webconverger"<http://webconverger.com/> --></a> distribuciju za kreiranje web kioska</p>
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [KOHA]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#dodatno_instalirani_paketi">KOHA (Dodatno instalirani paketi)</a><!-- wiki: {link: [KOHA] Dodatno instalirani paketi} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#lokalne_webconverger_modifikacije">KOHA (Lokalne Webconverger modifikacije)</a><!-- wiki: {link: [KOHA] Lokalne Webconverger modifikacije} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#instalacija">KOHA (instalacija)</a><!-- wiki: {link: [KOHA] instalacija} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#promjene">KOHA (promjene)</a><!-- wiki: {link: [KOHA] promjene} --></span></li>
</ul></ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="dodatno_instalirani_paketi">Dodatno instalirani paketi</h1>
<ul>
<li>dropbear</li>
<li><a target="_blank" title="(external link)" href="http://webconverger.com/xpis/webcnoaddressbar.xpi">http://webconverger.com/xpis/webcnoaddressbar.xpi</a> - skrivanje address bar-a</li>
</ul>
<h1 id="lokalne_webconverger_modifikacije">Lokalne Webconverger modifikacije</h1>
<h2 id="instalacija">instalacija</h2>
<pre>
root@opr:/srv/pxelator# apt-get install squashfs-tools aufs-tools aufs-modules-`uname -r`
</pre>
<br /><h2 id="promjene">promjene</h2>
<pre>
dpavlin@opr:/srv/pxelator$ ./bin/webc-overlay.sh 
+ mount+ egrep /tmp/(base|export|changes)

+ sudo mount /srv/pxelator/tftp/webconverger/iso/live/filesystem.squashfs /tmp/base/ -o loop
+ mkdir /tmp/changes /tmp/base /tmp/export
mkdir: cannot create directory `/tmp/changes': File exists
mkdir: cannot create directory `/tmp/base': File exists
mkdir: cannot create directory `/tmp/export': File exists
+ sudo mount -t aufs -o br:/tmp/changes/:/tmp/base/ none /tmp/export/
+ sudo chroot /tmp/export
root@opr:/# 
</pre>
<br /><p>
Nakon <tt>Ctrl+D</tt> rebuildati će se <tt>/srv/pxelator/tftp/webconverger/custom.squashfs</tt> koji koriste katalozi za boot.</p>
</div>
<hr/><div>Attachments: racunala-za-pretrazivanje-kataloga.JPG</div>]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?ra%C4%8Dunala_za_pretra%C5%BEivanje_kataloga</guid>
<pubDate>Sat, 07 Nov 2009 14:26:41 -0000</pubDate>
</item>
<item>
<title><![CDATA[Instalacija i nadogradnja]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?instalacija_i_nadogradnja</link>
<description><![CDATA[<div>Creator: Marijana Glavica</div><hr/><div>Tags: instalacija, sysadmin</div><hr/><div class="wiki">
<p>
u <tt>/srv/koha</tt> direktoriju</p>
<p>
$ git pull<br />
$ perl Makefile.PL<br />
$ make<br />
$ make test<br />
$ sudo make install<br />
$ git log</p>
<h1 id="git">Git</h1>
<ul>
<li><strong>Pro Git Book:</strong> <a target="_blank" title="(external link)" href="http://progit.org/book/">http://progit.org/book/</a></li>
<li><strong>GitCasts:</strong> <a target="_blank" title="(external link)" href="http://gitcasts.com/">http://gitcasts.com/</a></li>
</ul>
<p>
<strong>Korisne git komande</strong></p>
<pre>
$ git diff --cached # difference between HEAD and the index; what
                    # would be committed if you ran &quot;commit&quot; now.
$ git diff          # difference between the index file and your
                    # working directory; changes that would not
                    # be included if you ran &quot;commit&quot; now.
$ git diff HEAD     # difference between HEAD and working tree; what
                    # would be committed if you ran &quot;commit -a&quot; now.
$ git status        # a brief per-file summary of the above.
</pre>
<br /><h1 id="instalacija_perl_modula">Instalacija perl modula</h1>
<p>
pr. Test::More</p>
<p>
$ apt-get install libtest-more-perl<br />
ili<br />
$ sudo cpan Test::More</p>
<h1 id="nakon_nadogradnje_na_produkciji">Nakon nadogradnje na produkciji</h1>
<ul>
<li>editirati <tt>SIPconfig.xml</tt> - u tagu service dodati odgovarajuću IP adresu</li>
<li>restore LDAP setinga</li>
</ul>
<h1 id="how_to_reset_the_koha_3_database">How to Reset the Koha 3 Database</h1>
<p>
<a target="_blank" title="(external link)" href="http://wiki.koha.org/doku.php?id=resetdatabasekoha3">http://wiki.koha.org/doku.php?id=resetdatabasekoha3</a></p>
<h1 id="tutorial_for_updating_database_files">Tutorial for Updating Database Files</h1>
<p>
<a target="_blank" title="(external link)" href="http://wiki.koha.org/doku.php?id=en:documentation:tutorials:dbupdatetutorial">http://wiki.koha.org/doku.php?id=en:documentation:tutorials:dbupdatetutorial</a></p>
</div>
]]></description>
<author>Marijana Glavica</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?instalacija_i_nadogradnja</guid>
<pubDate>Tue, 27 Oct 2009 20:09:17 -0000</pubDate>
</item>
<item>
<title><![CDATA[Lokane promjene]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?lokane_promjene</link>
<description><![CDATA[<div>Creator: Marijana Glavica</div><hr/><div>Tags: for:dpavlin, polja u bazi, prilagodba, primjerci, sysadmin, unos podataka</div><hr/><div class="wiki">
<p>
<strong>Repozitorij:</strong> <a target="_blank" title="(external link)" href="http://koha-dev.rot13.org:8081/cgi-bin/gitweb.cgi?p=koha-ffzg.git;a=summary">koha-ffzg.git<!-- wiki-renamed-hyperlink "koha=-ffzg.git"<http://koha=-dev.rot13.org:8081/cgi=-bin/gitweb.cgi?p=koha=-ffzg.git;a=summary> --></a></p>
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [KOHA]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#promijenjene_datoteke">KOHA (Promijenjene datoteke:)</a><!-- wiki: {link: [KOHA] Promijenjene datoteke:} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#dodane_datoteke">KOHA (Dodane datoteke)</a><!-- wiki: {link: [KOHA] Dodane datoteke} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#promjene_na_bazi">KOHA (Promjene na bazi)</a><!-- wiki: {link: [KOHA] Promjene na bazi} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#veli_C4_8Dina_polja">KOHA (Veličina polja)</a><!-- wiki: {link: [KOHA] Veličina polja} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#opis_potrebnih_promjena">KOHA (Opis potrebnih promjena)</a><!-- wiki: {link: [KOHA] Opis potrebnih promjena} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#prikaz_bibliografskih_podataka_u_normal_view">KOHA (Prikaz bibliografskih podataka u normal view)</a><!-- wiki: {link: [KOHA] Prikaz bibliografskih podataka u normal view} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#prikaz_starog_inventarnog_broja_u_rezultatima_pretra_C5_BEivanja">KOHA (Prikaz starog inventarnog broja u rezultatima pretraživanja)</a><!-- wiki: {link: [KOHA] Prikaz starog inventarnog broja u rezultatima pretraživanja} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#unos_podataka_o_primjercima">KOHA (Unos podataka o primjercima)</a><!-- wiki: {link: [KOHA] Unos podataka o primjercima} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#indikator_za_poziciju_rfid_naljepnice">KOHA (Indikator za poziciju RFID naljepnice)</a><!-- wiki: {link: [KOHA] Indikator za poziciju RFID naljepnice} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#prikaz_barkod_broja_u_title">KOHA (Prikaz barkod broja u &lt;title&gt;)</a><!-- wiki: {link: [KOHA] Prikaz barkod broja u <title>} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#statistika_prolazaka_kroz_vrata">KOHA (Statistika prolazaka kroz vrata)</a><!-- wiki: {link: [KOHA] Statistika prolazaka kroz vrata} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#su_C4_8Delje_za_dla">KOHA (Sučelje za DLA)</a><!-- wiki: {link: [KOHA] Sučelje za DLA} --></span></li>
</ul></ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="promijenjene_datoteke">Promijenjene datoteke:</h1>
<p>
<tt>C4/Circulation.pm</tt><br />
<tt>C4/Search.pm</tt><br />
<tt>cataloguing/additem.pl</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/en/includes/biblio-view-menu.inc</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/en/modules/cataloguing/additem.tmpl</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/en/modules/cataloguing/results.tmpl</tt></p>
<h1 id="dodane_datoteke">Dodane datoteke</h1>
<p>
<tt>dla_interface/downloadLog.log</tt><br />
<tt>dla_interface/download.pl</tt><br />
<tt>dla_interface/output.txt</tt><br />
<tt>dla_interface/search.pl</tt><br />
<tt>catalogue/passhistory.pl</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/img/rfidPosition1.jpg</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/img/rfidPosition2.jpg</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/img/rfidPosition3.jpg</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/en/modules/catalogue/passhistory.tmpl</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/en/modules/dla_interface/search.tmpl</tt></p>
<h1 id="promjene_na_bazi">Promjene na bazi</h1>
<h2 id="veli_C4_8Dina_polja">Veličina polja</h2>
<p>
Potrebno je povećati broj znakova u nekim poljima u <em>koha.items</em> i <em>koha.biblioitems</em></p>
<table style="border-collapse: collapse;" class="formatter_table">
<tr>
<td style="border: 1px solid black;padding: .2em;"><strong>polje</strong></td>
<td style="border: 1px solid black;padding: .2em;"><strong>stara vrijednost</strong></td>
<td style="border: 1px solid black;padding: .2em;"><strong>nova vrijednost</strong></td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">items.itemcallnumber</td>
<td style="border: 1px solid black;padding: .2em;">varchar(30)</td>
<td style="border: 1px solid black;padding: .2em;">varchar(255)</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">items.cn_sort</td>
<td style="border: 1px solid black;padding: .2em;">varchar(30)</td>
<td style="border: 1px solid black;padding: .2em;">varchar(100)</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">biblioitems.cn_class</td>
<td style="border: 1px solid black;padding: .2em;">varchar(30)</td>
<td style="border: 1px solid black;padding: .2em;">varchar(100)</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">biblioitems.cn_item</td>
<td style="border: 1px solid black;padding: .2em;">varchar(10)</td>
<td style="border: 1px solid black;padding: .2em;">varchar(100)</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">biblioitems.cn_sort</td>
<td style="border: 1px solid black;padding: .2em;">varchar(30)</td>
<td style="border: 1px solid black;padding: .2em;">varchar(100)</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">biblioitems.isbn</td>
<td style="border: 1px solid black;padding: .2em;">varchar(14)</td>
<td style="border: 1px solid black;padding: .2em;">varchar(255)</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">biblioitems.issn</td>
<td style="border: 1px solid black;padding: .2em;">varchar(9)</td>
<td style="border: 1px solid black;padding: .2em;">varchar(20)</td>
</tr>
</table>
<br /><pre>
mysql&gt; alter table items modify itemcallnumber varchar(255);
</pre>
<br /><hr />
<h1 id="opis_potrebnih_promjena">Opis potrebnih promjena</h1>
<h2 id="prikaz_bibliografskih_podataka_u_normal_view">Prikaz bibliografskih podataka u <em>normal view</em></h2>
<p>
Marijana:<br />
<tt>koha-tmpl/intranet-tmpl/ffzg/en/modules/cataloguing/results.tmpl</tt></p>
<h2 id="prikaz_starog_inventarnog_broja_u_rezultatima_pretra_C5_BEivanja">Prikaz starog inventarnog broja u rezultatima pretraživanja</h2>
<p>
Sučelje je prilagođeno tako da je sa stranice s rezultatima odmah moguće doći na stranicu za uređivanje podataka o primjercima.<br />
Budući da su podaci o primjercima generirani na temelju inventarnog broja, svaki zapis o primjerku ima taj broj u trenutku konverzije. <br />
Inv. brojevi ispisuju se na stranici s rezultatima i klikom na pojedini inv. broj dolazi se na sučelje za editiranje primjerka s tim inventarnim brojem.</p>
<p>
Dobrica:<br />
<tt>C4/Search.pm</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/en/modules/cataloguing/results.tmpl</tt></p>
<p>
Potrebno je još:</p>
<ul>
<li>vizualno istaknuti podatak o lokaciji i signaturi na stranici s rezultatima pretraživanja</li>
<li>omogućiti ograničavanje pretraživanja na podatak o signaturi - staroj i novoj - da li u istom kriteriju ili ne?</li>
<li>vizualno istaknuti, različitim bojama naslove: Add item (crveno) i Edit item (zeleno)</li>
<li>pored naslova Add Item i Edit item ispisati inv. broj</li>
<li>pofarbati polje za signaturu u crveno</li>
</ul>
<h2 id="unos_podataka_o_primjercima">Unos podataka o primjercima</h2>
<h3 id="indikator_za_poziciju_rfid_naljepnice">Indikator za poziciju RFID naljepnice</h3>
<p>
Dodane su slike s brojevima 1, 2 ili 3 koji ukazuju na pozicijamu RFID naljepnice na knjizi.<br />
Za prvi primjerak broj se genira po slučaju, ostali primjerci istog naslova idu cirkularno.</p>
<p>
Hrvoje Matasić, Vivainfo:<br />
<tt>cataloguing/additem.pl</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/en/modules/cataloguing/additem.tmpl</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/img/rfidPosition1.jpg</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/img/rfidPosition2.jpg</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/img/rfidPosition3.jpg</tt></p>
<h2 id="prikaz_barkod_broja_u_title">Prikaz barkod broja u &lt;title&gt;</h2>
<p>
Barkod iz naslova se koristi kod čipiranja.</p>
<p>
Hrvoje Matasić, Vivainfo:<br />
<tt>cataloguing/additem.pl</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/en/modules/cataloguing/additem.tmpl</tt></p>
<h2 id="statistika_prolazaka_kroz_vrata">Statistika prolazaka kroz vrata</h2>
<p>
(ovo je nemoguće implementirati jer vrata ne mogu pročitati oznaku primjerka s čipa)</p>
<p>
Hrvoje Matasić, Vivainfo:<br />
<tt>koha-tmpl/intranet-tmpl/ffzg/en/modules/catalogue/passhistory.tmpl</tt><br />
<tt>catalogue/passhistory.pl</tt><br />
<tt>C4/Circulation.pm</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/en/includes/biblio-view-menu.inc</tt></p>
<h2 id="su_C4_8Delje_za_dla">Sučelje za DLA</h2>
<p>
<em>opis funkcionalnosti</em></p>
<p>
Hrvoje Matasić, Vivainfo:<br />
<tt>dla_interface/downloadLog.log</tt><br />
<tt>dla_interface/download.pl</tt><br />
<tt>dla_interface/output.txt</tt><br />
<tt>dla_interface/search.pl</tt><br />
<tt>koha-tmpl/intranet-tmpl/ffzg/en/modules/dla_interface/search.tmpl</tt></p>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?lokane_promjene</guid>
<pubDate>Wed, 02 Sep 2009 17:21:33 -0000</pubDate>
</item>
<item>
<title><![CDATA[Printanje kartica]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?printanje_kartica</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div class="wiki">
</div>
]]></description>
<author>Marijana Glavica</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?printanje_kartica</guid>
<pubDate>Tue, 08 Sep 2009 19:46:28 -0000</pubDate>
</item>
<item>
<title><![CDATA[Evolis Dualys 3 Smart]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?evolis_dualys_3_smart</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div class="wiki">
Replace this text with your own.   </div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?evolis_dualys_3_smart</guid>
<pubDate>Thu, 13 Aug 2009 18:33:21 -0000</pubDate>
</item>
<item>
<title><![CDATA[Koha performance]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?koha_performance</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: for:dpavlin, sysadmin</div><hr/><div class="wiki">
<p>
Ova stranica dokumentira naša podešavanja (i pokušaje) za što bržom Koha instalacijom.</p>
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [KOHA]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#apache_deflate_kompresija">KOHA (Apache deflate kompresija)</a><!-- wiki: {link: [KOHA] Apache deflate kompresija} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#session">KOHA (Session)</a><!-- wiki: {link: [KOHA] Session} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#profile">KOHA (Profile)</a><!-- wiki: {link: [KOHA] Profile} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#devel_nytprof">KOHA (Devel::NYTProf)</a><!-- wiki: {link: [KOHA] Devel::NYTProf} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#koha_240">KOHA (koha-240)</a><!-- wiki: {link: [KOHA] koha-=240} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#zebra_reindex">KOHA (Zebra reindex)</a><!-- wiki: {link: [KOHA] Zebra reindex} --></span></li>
</ul></ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="apache_deflate_kompresija">Apache deflate kompresija</h1>
<p>
Smanjuje veličinu stranice koja se isporučije browersu.</p>
<div class="nlw_phrase"><div class="fetchrss_box">
  <div class="fetchrss_titlebox">
    
  
  
 <div class="fetchrss_title">
   <a href="http://sysadmin-cookbook.rot13.org/#apache2">Sysadmin Cookbook :: apache2</a>
 </div>


  </div>
  
 <ul class="fetchrss_items">
  
  
    
  <li class="fetchrss_item">
    <a href="http://sysadmin-cookbook.rot13.org/#apache2">apache2</a>
    
      <p class="fetchrss_description">
        <h4>deflate-test.sh</h4>
<ul class=changes><li>check if deflate gets any benefits to single URL
 <a class="date" title="r155" href="http://svn.rot13.org/index.cgi/sysadmin-cookbook/revision?rev=155">2009-11-02 15:40</a></li></ul><a class="path" href="http://svn.rot13.org/index.cgi/sysadmin-cookbook/view/recepies/apache2/deflate-test.sh">apache2/deflate-test.sh</a><pre class=content>#!/bin/sh

if [ -z &quot;$1&quot; ] ; then
	echo &quot;Usage: $0 <a href="http://www.example.com/&quot;">http://www.example.com/&quot;</a>
	exit 1
else
	url=$1
fi

time wget $url -O /tmp/foo
echo
time wget --header=&quot;Accept-Encoding: gzip&quot; $url -O /tmp/foo.gz
echo

orig_size=`ls -al /tmp/foo    | awk '{ print $5 }'`
comp_size=`ls -al /tmp/foo.gz | awk '{ print $5 }'`

if [ $comp_size -lt $orig_size ] ; then
	echo &quot;OK $comp_size &lt; $orig_size&quot;;
else
	echo &quot;ERROR: no visible compression benefits&quot;
fi

#ls -al /tmp/foo /tmp/foo.gz</pre>
<h4>deflate.conf</h4>
<ul class=changes><li>Apache2 configuration to deflate all content
 <a class="date" title="r154" href="http://svn.rot13.org/index.cgi/sysadmin-cookbook/revision?rev=154">2009-11-02 15:39</a></li></ul><a class="path" href="http://svn.rot13.org/index.cgi/sysadmin-cookbook/view/recepies/apache2/deflate.conf">apache2/deflate.conf</a><pre class=content># /etc/apache2/conf.d/deflate.conf

&lt;IfModule mod_deflate.c&gt;
	AddOutputFilterByType DEFLATE text/html text/plain text/xml

	SetOutputFilter DEFLATE
	SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ 			no-gzip dont-vary
	SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$	no-gzip dont-vary
	SetEnvIfNoCase Request_URI \.pdf$							no-gzip dont-vary

	BrowserMatch ^Mozilla/4 gzip-only-text/html
	BrowserMatch ^Mozilla/4\.0[678] no-gzip
	BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

	DeflateFilterNote Input input_info
	DeflateFilterNote Output output_info
	DeflateFilterNote Ratio ratio_info
	LogFormat '&quot;%r&quot; %{output_info}n/%{input_info}n (%{ratio_info}n%%)' deflate
	CustomLog /var/log/apache2/deflate.log deflate
&lt;/IfModule&gt;</pre>
<h4>server-status.conf</h4>
<ul class=changes><li>add /server-status in /etc/apache2/conf.d/
 <a class="date" title="r156" href="http://svn.rot13.org/index.cgi/sysadmin-cookbook/revision?rev=156">2009-11-09 14:42</a></li></ul><a class="path" href="http://svn.rot13.org/index.cgi/sysadmin-cookbook/view/recepies/apache2/server-status.conf">apache2/server-status.conf</a><pre class=content>&lt;IfModule mod_status.c&gt;

# munin needs ExtededStatus
ExtendedStatus On

&lt;Location /server-status&gt;
	SetHandler server-status
	Order deny,allow
	Deny from all
#	Allow from all
	Allow from 127.0.0.1
	Allow from .ffzg.hr
&lt;/Location&gt;

&lt;/IfModule&gt;</pre>
      </p>
    
  </li>

  
 </ul>

</div>
















<!-- wiki: {fetchrss: http://sysadmin-=cookbook.rot13.org/rss/apache2.xml full}
--></div><br /><br /><h1 id="session">Session</h1>
<pre>
dpavlin@koha:~$ sudo ./mk-query-digest /var/log/mysql/mysql-slow.log

# Profile
# Rank Query ID           Response time    Calls R/Call   Item
# ==== ================== ================ ===== ======== ================
#    1 0xC7A803CDD4FE9A36 30517.0000 45.5%   349  87.4413 INSERT UPDATE sessions
#    2 0xB4F2B316DFE865C8  8027.0000 12.0%   119  67.4538 SELECT sessions
#    3 0x6019E0D94A244FF5  3952.0000  5.9%   275  14.3709 SELECT opac_news
#    4 0x1F809CA9753CDEE7  2753.0000  4.1%    23 119.6957 SELECT biblio
#    5 0x27CE7D5D2BC5F598  2305.0000  3.4%   206  11.1893 SELECT fieldmapping
#    6 0xB0F504DD073A49CB  2192.0000  3.3%    30  73.0667 SELECT issues items biblio biblioitems
#    7 0x8ED635CB153D27A5  2146.0000  3.2% 19313   0.1111 SELECT reserves reserveconstraints
#    8 0xDB6DC1962741AB10  1978.0000  3.0%     7 282.5714 SELECT biblio biblioitems itemtypes
#    9 0x32783383AEA5AD49  1642.0000  2.4%    10 164.2000 SELECT items
#   10 0x6DD9F09DA2455228  1361.0000  2.0%     8 170.1250 DELETE sessions
</pre>
<br /><p>
Promjeniti <tt>SessionStorage</tt> u &quot;as temporary files&quot; i opcionalno pomaknuti ih u <tt>/dev/shm</tt> umjesti o u <tt>/tmp/</tt>:</p>
<pre>
dpavlin@koha:~$ diff -urw /srv/koha/C4/Auth.pm /usr/share/koha/lib/C4/Auth.pm
--- /srv/koha/C4/Auth.pm        2010-02-20 21:41:34.000000000 +0100
+++ /usr/share/koha/lib/C4/Auth.pm      2010-04-26 16:03:17.671211497 +0200
@@ -1341,7 +1341,7 @@
     }
     else {
         # catch all defaults to tmp should work on all systems
-        $session = new CGI::Session(&quot;driver:File;serializer:yaml;id:md5&quot;, $sessionID, {Directory=&gt;'/tmp'});
+        $session = new CGI::Session(&quot;driver:File;serializer:yaml;id:md5&quot;, $sessionID, {Directory=&gt;
</pre>
<br /><h1 id="profile">Profile</h1>
<h2 id="devel_nytprof">Devel::NYTProf</h2>
<p>
instalacija:</p>
<pre>
root@koha-dev-git-reorg:~# cpan Devel::NYTProf
</pre>
<br /><p>
profile search query:</p>
<pre>
root@koha-dev-git-reorg:/usr/share/koha/opac/cgi-bin/opac# time perl -d:NYTProf -I/usr/share/koha/lib/ opac-search.pl q=human | wc
   1553    3259   58648

real    0m4.001s
user    0m3.152s
sys     0m0.560s
</pre>
<br /><p>
generate html report:</p>
<pre>
root@koha-dev-git-reorg:/usr/share/koha/opac/cgi-bin/opac# nytprofhtml 
Generating report...
Reading nytprof.out
Writing report to nytprof directory
</pre>
<br /><h3 id="koha_240">koha-240</h3>
<p>
First run</p>
<pre>
dpavlin@koha-240:/tmp$ time perl -d:NYTProf -I/usr/share/koha/lib/ /usr/share/koha/opac/cgi-bin/opac/opac-search.pl q=human | wc
Use of uninitialized value $borrowernumber in string eq at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 483.
Use of uninitialized value in string eq at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 486.
   1962    3177   64512

real    0m8.561s
user    0m5.708s
sys     0m0.724s
</pre>
<br /><p>
Second run</p>
<pre>
dpavlin@koha-240:/tmp$ time perl -d:NYTProf -I/usr/share/koha/lib/ /usr/share/koha/opac/cgi-bin/opac/opac-search.pl q=human | wc
Use of uninitialized value $borrowernumber in string eq at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 483.
Use of uninitialized value in string eq at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 486.
   1962    3177   64512

real    0m6.664s
user    0m5.636s
sys     0m0.816s
</pre>
<br /><p>
Drop caches and run profile:</p>
<pre>
dpavlin@koha-240:/tmp$ sudo sh -c 'echo 3 &gt; /proc/sys/vm/drop_caches'
</pre>
<br /><h2 id="zebra_reindex">Zebra reindex</h2>
<pre>
dpavlin@koha-240:/srv/koha$ sudo -u koha ./misc/migration_tools/rebuild_zebra.pl -b -v -r -d /tmp/indexing -k -x -nosanitize

</pre>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?koha_performance</guid>
<pubDate>Sun, 24 Oct 2010 20:59:30 -0000</pubDate>
</item>
<item>
<title><![CDATA[Backup i restore]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?backup_i_restore</link>
<description><![CDATA[<div>Creator: Marijana Glavica</div><hr/><div>Tags: backup, for:dpavlin, restore, sysadmin</div><hr/><div class="wiki">
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [KOHA]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#mysql_baza_iz_komandne_linije">KOHA (MySQL baza iz komandne linije)</a><!-- wiki: {link: [KOHA] MySQL baza iz komandne linije} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#backup">KOHA (Backup)</a><!-- wiki: {link: [KOHA] Backup} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#restore">KOHA (Restore)</a><!-- wiki: {link: [KOHA] Restore} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#restore_sa_zfs">KOHA (Restore sa zfs)</a><!-- wiki: {link: [KOHA] Restore sa zfs} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#opr_zfs_backup_server">KOHA (opr - zfs backup server)</a><!-- wiki: {link: [KOHA] opr -= zfs backup server} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#cpio_file_transfer">KOHA (cpio file transfer)</a><!-- wiki: {link: [KOHA] cpio file transfer} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#rsync_file_update">KOHA (rsync file update)</a><!-- wiki: {link: [KOHA] rsync file update} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#virtualna_ma_C5_A1ina">KOHA (Virtualna mašina)</a><!-- wiki: {link: [KOHA] Virtualna mašina} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#pokrenuti_screen_u_kojem__C4_87e_biti_virtualna_ma_C5_A1ina">KOHA (Pokrenuti screen u kojem će biti virtualna mašina)</a><!-- wiki: {link: [KOHA] Pokrenuti screen u kojem će biti virtualna mašina} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#filesystem">KOHA (Filesystem)</a><!-- wiki: {link: [KOHA] Filesystem} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#start_lxc">KOHA (Start LXC)</a><!-- wiki: {link: [KOHA] Start LXC} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#setup_inside_lxc">KOHA (Setup inside LXC)</a><!-- wiki: {link: [KOHA] Setup inside LXC} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#btrfs">KOHA (BTRFS)</a><!-- wiki: {link: [KOHA] BTRFS} --></span></li>
</ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="mysql_baza_iz_komandne_linije">MySQL baza iz komandne linije</h1>
<h2 id="backup">Backup</h2>
<pre>
$ mysqldump --add-drop-table --single-transaction -u _kohauser_ -p koha &gt; 2008-11-11_koha.sql
$ mysqldump --add-drop-table -u _kohauser_ -p koha issues &gt; 2008-11-11_koha.issues.sql
</pre>
<br /><p>
<a target="_blank" title="(external link)" href="http://www.nabble.com/Backing-up-3.0-to21076508.html">http://www.nabble.com/Backing-up-3.0-to21076508.html</a></p>
<h2 id="restore">Restore</h2>
<pre>
$ mysql -u _kohauser_ -p koha &lt; 2008-11-11_koha.sql
$ mysql -u _kohauser_ -p koha.issues &lt; 2008-11-11_koha.issues.sql
</pre>
<br /><h1 id="restore_sa_zfs">Restore sa zfs</h1>
<h2 id="opr_zfs_backup_server">opr - zfs backup server</h2>
<pre>
# Find backup snapshot to restore
dpavlin@opl:~$ ./veid2hostname.sh 
212052 koha-dev.rot13.org
212056 webpac2.rot13.org
212226 koha.ffzg.hr
dpavlin@opl:~$ sudo zfs list | grep 212226 | tail -3
opl/backup/212226@2010-01-05   662M      -  25.4G  -
opl/backup/212226@2010-01-06    28K      -  25.4G  -
opl/clone/212226-mlin         30.0M  24.5G  25.4G  /opl/clone/212226-mlin

# make clone to access files
dpavlin@opl:~$ sudo zfs clone opl/backup/212226@2010-01-06 opl/clone/koha-2010-01-06
dpavlin@opl:~$ df -h /opl/clone/koha-2010-01-06
Filesystem            Size  Used Avail Use% Mounted on
opl/clone/koha-2010-01-06
                       50G   26G   25G  51% /opl/clone/koha-2010-01-06
</pre>
<br /><h2 id="cpio_file_transfer">cpio file transfer</h2>
<ul>
<li>mlin - hardware which provide resources</li>
<li>opl - machine with backup files</li>
</ul>
<pre>
root@mlin:/virtual.clone# mkdir koha-2010-01-06
root@mlin:/virtual.clone# cd koha-2010-01-06/

# start listener for cpio data transfer
root@mlin:/virtual.clone/koha-2010-01-06# nc -l -p 8888 | pv | cpio --extract --make-directories --preserve-modification-time --numeric-uid-gid --sparse
</pre>
<br /><pre>
dpavlin@opl:~$ sudo bash
root@opl:~# cd /opl/clone/koha-2010-01-06
root@opl:/opl/clone/koha-2010-01-06# find . | cpio --create | pv | nc 10.60.0.93 8888
</pre>
<br /><h2 id="rsync_file_update">rsync file update</h2>
<pre>
dpavlin@mlin:~$ sudo rsync -ravH --numeric-ids --sparse --delete --exclude 'backup*' \
  10.60.0.90:/opl/clone/koha-2010-01-06/ /virtual.clone/koha-2010-01-06/

real    24m48.767s
user    5m0.027s
sys     2m3.656s
</pre>
<br /><p>
Kopiranje postojeće virtualne mašine prije rsync-a da bi se smanjilo broj promjena koje treba prenjeti rsync-om:</p>
<pre>
dpavlin@mlin:/virtual.clone/koha.ffzg.hr$ time sudo cp -ar * ../koha-2010-01-06/

real    14m59.742s
user    0m0.932s
sys     0m38.278s
</pre>
<br /><h1 id="virtualna_ma_C5_A1ina">Virtualna mašina</h1>
<p>
Nakon restora sa zfs-a treba napraviti sljedeća podešavanja:</p>
<h2 id="pokrenuti_screen_u_kojem__C4_87e_biti_virtualna_ma_C5_A1ina">Pokrenuti screen u kojem će biti virtualna mašina</h2>
<pre>
dpavlin@mlin:~$ screen -S koha-upgrade
</pre>
<br /><h2 id="filesystem">Filesystem</h2>
<pre>
lvcreate -s /dev/vg/koha -L 80G -n koha-upgrade

root@mlin:~# mount /dev/vg/koha-upgrade /virtual.clone/koha-upgrade/
root@mlin:~# df /virtual.clone/koha-upgrade/
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg-koha--upgrade
                      82569904  56551456  26018448  69% /virtual.clone/koha-upgrade
</pre>
<br /><h2 id="start_lxc">Start LXC</h2>
<pre>
root@mlin:~# cd /srv/sysadmin-cookbook/recepies/lxc/
root@mlin:/srv/sysadmin-cookbook/recepies/lxc# ./ve2lxc.sh /virtual.clone/koha-upgrade/ 10.60.0.253 koha-upgrade
</pre>
<br /><h2 id="setup_inside_lxc">Setup inside LXC</h2>
<ul>
<li>ugasiti monit <tt>apt-get remove monit</tt></li>
<li><del>provjeriti IP adrese u <tt>/etc/apache2/sites-enabled/</tt></del></li>
</ul>
<h1 id="btrfs">BTRFS</h1>
<pre>
root@opl:~# zfs clone opl/backup/212226@2010-03-06 opl/clone/koha-2010-03-06
</pre>
<br /><pre>
root@prod:/virtual# time rsync -rav --exclude 'backup/*' --delete 10.60.0.90::clone/koha-2010-03-06/ /virtual/koha/
receiving incremental file list
...

sent 3297036 bytes  received 4392640729 bytes  6527004.85 bytes/sec
total size is 23473104677  speedup is 5.34

real    11m13.873s
user    1m15.985s
sys     0m39.890s

root@prod:/virtual# btrfsctl -s /virtual/koha@2010-03-06 /virtual/koha
operation complete
Btrfs Btrfs v0.19

root@prod:/virtual# btrfsctl -s /virtual/koha-242 /virtual/koha
operation complete
Btrfs Btrfs v0.19

dpavlin@prod:~$ sudo bash ve2lxc.sh /virtual/koha-242 10.60.0.242 koha-242

</pre>
</div>
]]></description>
<author>Marijana Glavica</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?backup_i_restore</guid>
<pubDate>Wed, 17 Mar 2010 23:26:28 -0000</pubDate>
</item>
<item>
<title><![CDATA[Printanje i programiranje kartica]]></title>
<link>https://saturn.ffzg.hr/koha/index.cgi?printanje_i_programiranje_kartica</link>
<description><![CDATA[<div>Creator: Marijana Glavica</div><hr/><div>Tags: korisničke kartice, RFID, sysadmin</div><hr/><div class="wiki">
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [KOHA]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#printanje_u_be_C4_8Du">KOHA (Printanje u Beču)</a><!-- wiki: {link: [KOHA] Printanje u Beču} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#naru_C4_8Divanje_praznih_kartica">KOHA (Naručivanje praznih kartica)</a><!-- wiki: {link: [KOHA] Naručivanje praznih kartica} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#plan">KOHA (Plan)</a><!-- wiki: {link: [KOHA] Plan} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#workflow">KOHA (Workflow)</a><!-- wiki: {link: [KOHA] Workflow} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/koha/index.cgi?koha#cups_driver">KOHA (CUPS driver)</a><!-- wiki: {link: [KOHA] CUPS driver} --></span></li>
</ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="printanje_u_be_C4_8Du">Printanje u Beču</h1>
<blockquote>
Beč = batch (eng.) - u jednom cugu, za razliku od po potrebi</blockquote>
<br /><p>
Napisati postojeću proceduru printanja kartica (pokretanje skripte)</p>
<h1 id="naru_C4_8Divanje_praznih_kartica">Naručivanje praznih kartica</h1>
<p>
Paziti da zadnja strana bude bijela, jer i tako moramo printati dvostrano, pa nam to daje veću fleksibilnost.</p>
<h1 id="plan">Plan</h1>
<ul>
<li>čitač postaviti ispod printer-a tako da programirana kartica padne na čitač i isprogramira se (možda malo alu-folije ako čitač bude hvatao kartice iz spremnika)</li>
<li>Linux stroj sa podrškom za pritanje kartica i barkoda na njima koji podatke sprema nazad direktno u Kohu</li>
</ul>
<h1 id="workflow">Workflow</h1>
<ul>
<li>link sa intranet-a na lokalnu mašinu (linux stroj) gdje se pokreće pitanje na printer (možda lokalno spojen, možda mrežom)</li>
<li>kartica pada na čitač koji je programira i šalje podatak u kohu sa postom na neki ssl cgi (možda sa svojim certifikatima?)</li>
</ul>
<h1 id="cups_driver">CUPS driver</h1>
<span class="nlw_phrase"><div class="wiki-include-page">
<div class="wiki-include-title"><a href='https://saturn.ffzg.hr/rot13/index.cgi?evolis_dualys_3_smart' >Evolis Dualys 3 Smart</a> </div>
<div class="wiki-include-content">
<ul>
<li><a target="_blank" title="(external link)" href="http://github.com/dpavlin/Printer-EVOLIS">http://github.com/dpavlin/Printer-EVOLIS</a></li>
<li><a target="_blank" title="(external link)" href="http://www.evolis.com/eng/Drivers-Support/Product-support/Dualys-3">http://www.evolis.com/eng/Drivers-Support/Product-support/Dualys-3</a></li>
<li><a target="_blank" title="(external link)" href="http://git.rot13.org/?p=evolisprinter.git">http://git.rot13.org/?p=evolisprinter.git</a></li>
</ul>
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [Dobrica Pavlinušić's random unstructured stuff]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#tehnical_test_card">Dobrica Pavlinušić's random unstructured stuff (Tehnical test card:)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Tehnical test card:} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#upstream_cups_support">Dobrica Pavlinušić's random unstructured stuff (Upstream CUPS support)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Upstream CUPS support} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#programming_guide">Dobrica Pavlinušić's random unstructured stuff (Programming guide)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Programming guide} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#encode_the_three_tracks">Dobrica Pavlinušić's random unstructured stuff (Encode the three tracks)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Encode the three tracks} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#use_the_internal_font_and_rotate_them">Dobrica Pavlinušić's random unstructured stuff (Use the internal font and rotate them)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Use the internal font and rotate them} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#print_in_an_image_in_color">Dobrica Pavlinušić's random unstructured stuff (Print in an image in color)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Print in an image in color} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#network_administration">Dobrica Pavlinušić's random unstructured stuff (Network administration)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Network administration} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#debian">Dobrica Pavlinušić's random unstructured stuff (Debian)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Debian} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#apt_cache_show_evolisprinter">Dobrica Pavlinušić's random unstructured stuff (apt-cache show evolisprinter)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] apt-=cache show evolisprinter} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#compilation">Dobrica Pavlinušić's random unstructured stuff (Compilation)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Compilation} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#dmesg">Dobrica Pavlinušić's random unstructured stuff (dmesg)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] dmesg} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#lsusb">Dobrica Pavlinušić's random unstructured stuff (lsusb)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] lsusb} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#cups">Dobrica Pavlinušić's random unstructured stuff (CUPS)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] CUPS} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#printer_options">Dobrica Pavlinušić's random unstructured stuff (printer options)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] printer options} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#duplex_printing">Dobrica Pavlinušić's random unstructured stuff (duplex printing)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] duplex printing} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#cups_raster">Dobrica Pavlinušić's random unstructured stuff (cups raster)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] cups raster} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#gs_cups_rasterizator">Dobrica Pavlinušić's random unstructured stuff (gs cups rasterizator)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] gs cups rasterizator} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#evolis_rasterizator">Dobrica Pavlinušić's random unstructured stuff (evolis rasterizator)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] evolis rasterizator} --></span></li>
</ul></ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="tehnical_test_card">Tehnical test card:</h1>
<table style="border-collapse: collapse;" class="formatter_table">
<tr>
<td style="border: 1px solid black;padding: .2em;">Firmware</td>
<td style="border: 1px solid black;padding: .2em;">0821 f:200 E</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">X-Y-Smart Offsets</td>
<td style="border: 1px solid black;padding: .2em;">16 - 20 - 409</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">Printed lines</td>
<td style="border: 1px solid black;padding: .2em;">994 L / 636 W</td>
</tr>
</table>
<br /><p>
PageSize[243.84 155.52]</p>
<h1 id="upstream_cups_support">Upstream CUPS support</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://www.evolis.com/eng/content/download/1521/12335/file/evolisprinter-2.2-1.src.rpm">http://www.evolis.com/eng/content/download/1521/12335/file/evolisprinter-2.2-1.src.rpm</a></li>
<li><a target="_blank" title="(external link)" href="http://www.evolis.com/eng/content/download/1521/12335/file/evolisprinter-3.0.tar.gz">http://www.evolis.com/eng/content/download/1521/12335/file/evolisprinter-3.0.tar.gz</a></li>
</ul>
<h1 id="programming_guide">Programming guide</h1>
<ul>
<li><span class="nlw_phrase"><a href="/rot13/index.cgi/Programming_Guide_A5013_RevE.pdf?action=attachments_download;page_name=evolis_dualys_3_smart;id=20100815115444-0-24160">Programming_Guide_A5013_RevE.pdf</a><!-- wiki: {file: Programming_Guide_A5013_RevE.pdf} --></span></li>
</ul>
<h2 id="encode_the_three_tracks">Encode the three tracks</h2>
<pre>
Ss                                    // Sequence Start
Pmc;h                                 // Set the coercivity to Hico
Dm;1;EVOLISPEBBLE                     // Download EVOLISPEBBLE on track 1
Dm;2;1234567890                       // Download 12345679890 on track 2
Dm;3;0987654321                       // Download 9876543210 on track 3
Se                                    // Sequence eject
</pre>
<br /><h2 id="use_the_internal_font_and_rotate_them">Use the internal font and rotate them</h2>
<pre>
Wcb ;k                                // Clear Monochrome Panel
Ss                                    // Sequence Start
Pwr ;0                                // Set the text orientation to 0
Wt ;100 ;300 ;0 ;10 ;Test rotations   // Write the Text &quot;Test Rotation&quot;
Wt ;500 ;250 ;0 ;50 ;0                // Write the text &quot;0&quot;
Pwr;90                                // Set the Text orientation to zero
Wt ;500 ;250 ;0 ;50 ;90               // Write the text &quot;90&quot;
Pwr;180                               // Set the Text orientation to 180
Wt ;500 ;250 ;0 ;50 ;180              // Write the text &quot;180&quot;
Pwr;270                               // Set the Text orientation to 270
Wt ;500 ;250 ;0 ;50 ;270              // // Write the text &quot;270&quot;
Se                                    // Sequence eject
</pre>
<br /><h2 id="print_in_an_image_in_color">Print in an image in color</h2>
<pre>
Pr;ymcko                              // Parameter ribbon ymcko
Pc;a;=;10                             // Set the contrast to 10 for all panel
Pl;a;=;10                             // Set the luminosity to 10 for all panel
Ps;k;=;0                              // Set the Speed for black panel to 0
Ss                                    // Sequence start
Db;y;32;xxxxxxxxxxxxxxx               // Download the data for yellow pannel
Db;m;32;xxxxxxxxxxxxxx                // Download the data for magenta pannel
Db;c;32;xxxxxxxxxxxxxxx               // Download the data for cyan pannel
Db;o;32;xxxxxxxxxxxxxxx               // Download the data for overlay pannel
Se
</pre>
<br /><h2 id="network_administration">Network administration</h2>
<table style="border-collapse: collapse;" class="formatter_table">
<tr>
<td style="border: 1px solid black;padding: .2em;">Escape sequence</td>
<td style="border: 1px solid black;padding: .2em;">Syntax</td>
<td style="border: 1px solid black;padding: .2em;">Arguments</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">Read the printer's IP address</td>
<td style="border: 1px solid black;padding: .2em;">Rip</td>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">Set the IP address or DHCP</td>
<td style="border: 1px solid black;padding: .2em;">Rip;value</td>
<td style="border: 1px solid black;padding: .2em;">IP address in <tt>xxx.yyy.ttt.uuu</tt> format or <tt>dhcp</tt></td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">Read Hostname</td>
<td style="border: 1px solid black;padding: .2em;">Rehn</td>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">Set Hostname</td>
<td style="border: 1px solid black;padding: .2em;">Pehn;value</td>
<td style="border: 1px solid black;padding: .2em;">Hostname (16 characters max.)</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">Read Subnet mask</td>
<td style="border: 1px solid black;padding: .2em;">Renm</td>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">Set Subnet mask</td>
<td style="border: 1px solid black;padding: .2em;">Penm;value</td>
<td style="border: 1px solid black;padding: .2em;">Subnet mask in xxx.yyy.ttt.uuu format</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">Read the gateway address</td>
<td style="border: 1px solid black;padding: .2em;">Regw</td>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">Set the gateway address</td>
<td style="border: 1px solid black;padding: .2em;">Pegw;value</td>
<td style="border: 1px solid black;padding: .2em;">Gateway address in xxx.yyy.ttt.uuu format</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">Read the WINS server address</td>
<td style="border: 1px solid black;padding: .2em;">Rews</td>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">Read the WINS server address</td>
<td style="border: 1px solid black;padding: .2em;">Pews;value</td>
<td style="border: 1px solid black;padding: .2em;">WINS server address in xxx.yyy.ttt.uuu format</td>
</tr>
</table>
<br /><h1 id="debian">Debian</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://debian.rot13.org/binary/">http://debian.rot13.org/binary/</a></li>
<li><a target="_blank" title="(external link)" href="http://debian.rot13.org/source/">http://debian.rot13.org/source/</a></li>
</ul>
<h2 id="apt_cache_show_evolisprinter">apt-cache show evolisprinter</h2>
<pre>
Package: evolisprinter
Status: install ok installed
Priority: extra
Section: checkinstall
Installed-Size: 160
Maintainer: root@klin
Architecture: i386
Version: 3.0-2
Provides: evolisprinter
Depends: cups
Description: New Pebble Card Printer CUPS driver
</pre>
<br /><h1 id="compilation">Compilation</h1>
<pre>
apt-get install libcups2-dev libcupsimage2-dev
make
sudo checkinstall
</pre>
<br /><h1 id="dmesg">dmesg</h1>
<pre>
[88415.288187] usb 2-4.3: new full speed USB device using ehci_hcd and address 10
[88415.381054] usb 2-4.3: New USB device found, idVendor=058f, idProduct=9254
[88415.381058] usb 2-4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[88415.381061] usb 2-4.3: Product: Generic USB Hub
[88415.381063] usb 2-4.3: Manufacturer: ALCOR
[88415.381149] usb 2-4.3: configuration #1 chosen from 1 choice
[88415.381333] hub 2-4.3:1.0: USB hub found
[88415.381555] hub 2-4.3:1.0: 4 ports detected
[88415.652178] usb 2-4.3.1: new full speed USB device using ehci_hcd and address 11
[88415.745545] usb 2-4.3.1: New USB device found, idVendor=0f49, idProduct=0400
[88415.745549] usb 2-4.3.1: New USB device strings: Mfr=4, Product=18, SerialNumber=0
[88415.745552] usb 2-4.3.1: Product: Evolis Dualys
[88415.745554] usb 2-4.3.1: Manufacturer: EVOLIS
[88415.745639] usb 2-4.3.1: configuration #1 chosen from 1 choice
[88415.747080] usblp0: USB Bidirectional printer dev 11 if 0 alt 0 proto 2 vid 0x0F49 pid 0x0400

[90082.139083] rastertoevolis[8692]: segfault at 0 ip b7ddf657 sp bfd60bc8 error 6 in libc-2.9.so[b7d67000+158000]
[90122.522505] usb 2-4.3.1: USB disconnect, address 11
[90122.522690] usblp0: removed
[90133.216207] usb 2-4.3.1: new full speed USB device using ehci_hcd and address 13
[90133.309579] usb 2-4.3.1: New USB device found, idVendor=0f49, idProduct=0400
[90133.309582] usb 2-4.3.1: New USB device strings: Mfr=4, Product=18, SerialNumber=0
[90133.309585] usb 2-4.3.1: Product: Evolis Dualys
[90133.309587] usb 2-4.3.1: Manufacturer: EVOLIS
[90133.309676] usb 2-4.3.1: configuration #1 chosen from 1 choice
[90133.311236] usblp0: USB Bidirectional printer dev 13 if 0 alt 0 proto 2 vid 0x0F49 pid 0x0400
[94350.140355] gs[27363]: segfault at 197 ip b79fb9a6 sp bf9bf070 error 6 in libgs.so.8.70[b790d000+3fc000]
[94393.919251] gs[27502]: segfault at 197 ip b79be9a6 sp bfefe230 error 6 in libgs.so.8.70[b78d0000+3fc000]
[94459.139970] gs[27726]: segfault at 197 ip b78459a6 sp bfdbcb90 error 6 in libgs.so.8.70[b7757000+3fc000]
</pre>
<br /><h1 id="lsusb">lsusb</h1>
<pre>
Bus 002 Device 013: ID 0f49:0400  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0f49 
  idProduct          0x0400 
  bcdDevice            6.02
  iManufacturer           4 EVOLIS
  iProduct               18 Evolis Dualys
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration         52 Standard Configuration
    bmAttributes         0x40
      (Missing must-be-set bit!)
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      2 Bidirectional
      iInterface             98 Printer Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0001
  Self Powered
</pre>
<br /><h1 id="cups">CUPS</h1>
<h2 id="printer_options">printer options</h2>
<pre>
dpavlin@klin:~$ lpoptions -p EVOLIS_Dualys -l
ColorModel/Output Mode: *RGB
PageSize/Media Size: *Card
Collate/Collate: *True False
MediaType/Media Type: *Blank
InkType/Ink Type: YMCKO YMCKOS YMCKOK KO *Black Blue Gold Green Red Silver White Scratch BlackWax Hologram
Duplex/Two-sided Printing: None *DuplexNoTumble
Brightness/Luminosity: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20
Contrast/Contrast: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20
BlackIn/Black Panel : *N Y
TreatementK/Effect: *G L
SensibilityK/Intensity black panel: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20
OverlayPannel/Define : *FO SCI SCA MS NO
SensibilityO/Intensity overlay panel: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20
BrightnessV/Luminosity: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20
ContrastV/Contrast: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20
BlackInV/Black Back Panel : *N Y
TreatementKV/Effect: *G L
SensibilityKV/Intensity black panel: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20
OverlayBackPannel/Define : FO SCI SCA MS NO
SensibilityOV/Intensity Overlay Back Panel: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20
EjectCard/Specific Action : *None iSmart iCtless Eject Reject Test TestTech Clean
Coercivity/Coercivity: *None Hico Loco JIS
Track1/Track1 : *1 2 3 4 5 8 6 7
Track2/Track2 : 1 *2 3 4 5 8 6 7
Track3/Track3 : 1 2 *3 4 5 8 6 7
</pre>
<br /><h2 id="duplex_printing">duplex printing</h2>
<pre>
dpavlin@klin:~$ lpoptions -p EVOLIS_Dualys -l | grep Duplex
Duplex/Two-sided Printing: None *DuplexNoTumble

dpavlin@klin:~/klin/evolis-dualys-3$ lpr  -Pdualys3 -o Duplex=DuplexNoTumble out/200900000042.print-duplex.pdf 
</pre>
<br /><h2 id="cups_raster">cups raster</h2>
<ul>
<li><a target="_blank" title="(external link)" href="http://www.easysw.com/~mike/rasterview/index.html">http://www.easysw.com/~mike/rasterview/index.html</a></li>
</ul>
<pre>
sudo apt-get install libfltk1.1-dev libcups2-dev libcupsimage2-dev

</pre>
<br /><h2 id="gs_cups_rasterizator">gs cups rasterizator</h2>
<pre>
/usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -I/usr/share/cups/fonts -sMediaColor=k -sMediaType=Card -r300x300 -dDEVICEWIDTHPOINTS=243 -dDEVICEHEIGHTPOINTS=155 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=1 -scupsPageSizeName=Card -c -f -
</pre>
<br /><h2 id="evolis_rasterizator">evolis rasterizator</h2>
<pre>
/usr/lib/cups/filter/rastertoevolis 42 dpavlin foobar 0 Duplex=DuplexNoTumble duplex.ras &gt; foo.evolis
</pre>
</div></div><!-- wiki: {include: rot13 [Evolis Dualys 3 Smart]} --></span><br /></div>
]]></description>
<author>Marijana Glavica</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/koha/index.cgi?printanje_i_programiranje_kartica</guid>
<pubDate>Mon, 13 Dec 2010 15:46:37 -0000</pubDate>
</item>
</channel>
</rss>