<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Aplicaci%C3%B3_inventari.inventari.joanillo.org</id>
	<title>Aplicació inventari.inventari.joanillo.org - Historial de revisió</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Aplicaci%C3%B3_inventari.inventari.joanillo.org"/>
	<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Aplicaci%C3%B3_inventari.inventari.joanillo.org&amp;action=history"/>
	<updated>2026-09-23T03:56:49Z</updated>
	<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://wiki.joanillo.org/index.php?title=Aplicaci%C3%B3_inventari.inventari.joanillo.org&amp;diff=257696&amp;oldid=prev</id>
		<title>Joan a 13:56, 14 set 2018</title>
		<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Aplicaci%C3%B3_inventari.inventari.joanillo.org&amp;diff=257696&amp;oldid=prev"/>
		<updated>2018-09-14T13:56:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pàgina nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
https://help.libreoffice.org/Common/Creating_and_Printing_Labels_and_Business_Cards/ca&lt;br /&gt;
Creating_and_Printing_Labels_and_Business_Cards&lt;br /&gt;
&lt;br /&gt;
Libre Office Writer&lt;br /&gt;
Fitxer &amp;gt; Nou &amp;gt; Etiquetes&lt;br /&gt;
Format: Continu&lt;br /&gt;
Marca: Tower&lt;br /&gt;
Pestanya format:&lt;br /&gt;
Dist hor:5cm (la mida real de la nostra etiqueta)&lt;br /&gt;
Dist vert:3cm (la mida real de la nostra etiqueta)&lt;br /&gt;
Amplada:5cm (la mida real de la nostra etiqueta)&lt;br /&gt;
Alçada:3cm (la mida real de la nostra etiqueta)&lt;br /&gt;
Marge esq: 3cm (és important per tal de què s'imprimeixi bé)&lt;br /&gt;
Marge sup:3cm  (és important per tal de què s'imprimeixi bé)&lt;br /&gt;
&lt;br /&gt;
Ho vinculem a una base de dades (todo)&lt;br /&gt;
I document nou.&lt;br /&gt;
&lt;br /&gt;
Volem que s'imprimeixin els marges. Seleccionem un marge. Botó dret, propietats, vores, i agafem la segona preconfiguració.&lt;br /&gt;
&lt;br /&gt;
Fitxer &amp;gt; imprimeix&lt;br /&gt;
seleccionem SCX (Samsung)&lt;br /&gt;
propietats: és important Safata de paper Tray1. Protesta, però en la impressora diem sergüent.&lt;br /&gt;
&lt;br /&gt;
4cmx2cm&lt;br /&gt;
10files x 8 cols&lt;br /&gt;
&lt;br /&gt;
===========&lt;br /&gt;
https://help.libreoffice.org/Common/Database_Wizard/ca&lt;br /&gt;
Auxiliar de bases de dades&lt;br /&gt;
https://help.libreoffice.org/Common/Text_File_Connection/ca&lt;br /&gt;
Connexió a fitxers de text&lt;br /&gt;
&lt;br /&gt;
Conectar una base de datos MySQL con LibreOffice&lt;br /&gt;
https://linuxmanr4.com/2017/09/11/conectar-una-base-de-datos-mysql-a-libreoffice/&lt;br /&gt;
Descarreguem el connector JDBC per a mysql: mysql-connector-java_8.0.12-1ubuntu18.04_all.deb&lt;br /&gt;
mysql-connector-java-8.0.12.tar.gz&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-cache search libreoffice-mysql&lt;br /&gt;
[sudo] contrasenya per a joan: &lt;br /&gt;
libreoffice-base-drivers - Database connectivity drivers for LibreOffice&lt;br /&gt;
libreoffice-mysql-connector - MariaDB/MySQL Connector extension for LibreOffice&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libreoffice-mysql-connector&lt;br /&gt;
msuriol@jaumebalmes.net&lt;br /&gt;
&lt;br /&gt;
DataSource URL: mysql://localhost/inventari?serverTimezone=UTC&lt;br /&gt;
&lt;br /&gt;
JDBC Driver class: com.mysql.jdbc.Driver&lt;br /&gt;
Click on “Test class” to verify that the driver is working&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
$ sudo apt-cache search libreoffice | grep base&lt;br /&gt;
...&lt;br /&gt;
libreoffice-base - office productivity suite -- database&lt;br /&gt;
libreoffice-base-drivers - Database connectivity drivers for LibreOffice&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install libreoffice-base libreoffice-base-drivers&lt;br /&gt;
&lt;br /&gt;
I ara en el Openoffice Writer ja puc fer File &amp;gt; New &amp;gt; Database&lt;br /&gt;
S'ha creat el fitxer sensor_rand.odb a la carpeta Documents, que representa la connexió a la meva bd.&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
create database inventari;&lt;br /&gt;
&lt;br /&gt;
create table inventari(&lt;br /&gt;
num_calaix varchar(3) primary key,&lt;br /&gt;
etiqueta varchar(60),&lt;br /&gt;
descripcio longtext&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
insert into inventari values (1,'calaix1', 'desc calaix1');&lt;br /&gt;
insert into inventari values (2,'calaix2', 'desc calaix2');&lt;br /&gt;
insert into inventari values (3,'calaix3', 'desc calaix3');&lt;br /&gt;
insert into inventari values (4,'calaix4', 'desc calaix4');&lt;br /&gt;
insert into inventari values (5,'calaix5', 'desc calaix5');&lt;br /&gt;
insert into inventari values (6,'calaix6', 'desc calaix6');&lt;br /&gt;
insert into inventari values (7,'calaix7', 'desc calaix7');&lt;br /&gt;
insert into inventari values (8,'calaix8', 'desc calaix8');&lt;br /&gt;
insert into inventari values (9,'calaix9', 'desc calaix9');&lt;br /&gt;
insert into inventari values (10,'calaix10', 'desc calaix10');&lt;br /&gt;
insert into inventari values (11,'calaix11', 'desc calaix11');&lt;br /&gt;
insert into inventari values (12,'calaix12', 'desc calaix12');&lt;br /&gt;
insert into inventari values (13,'calaix13', 'desc calaix13');&lt;br /&gt;
insert into inventari values (14,'calaix14', 'desc calaix14');&lt;br /&gt;
insert into inventari values (15,'calaix15', 'desc calaix15');&lt;br /&gt;
insert into inventari values (16,'calaix16', 'desc calaix16');&lt;br /&gt;
insert into inventari values (17,'calaix17', 'desc calaix17');&lt;br /&gt;
insert into inventari values (18,'calaix18', 'desc calaix18');&lt;br /&gt;
insert into inventari values (19,'calaix19', 'desc calaix19');&lt;br /&gt;
insert into inventari values (20,'calaix20', 'desc calaix20');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1;R&amp;lt;1K;&lt;br /&gt;
2;R&amp;lt;=20K;&lt;br /&gt;
3;R&amp;gt;20K i altres;&lt;br /&gt;
4;C cer1;&lt;br /&gt;
5;C cer2;&lt;br /&gt;
6;C elec1;&lt;br /&gt;
7;C elec2;&lt;br /&gt;
8;LED;&lt;br /&gt;
9;LED blanc;&lt;br /&gt;
10;xips1;SN74HC574N (D-Type flip-flop), 4N35 (optoacoblador),&lt;br /&gt;
Ay-3-8910A, 74LS04, TL072CP (Dual Operational Amplifier), RC4558P&lt;br /&gt;
(Dual General-Purpose Operational Amplifier), 74LS73 (flip-flop JK),&lt;br /&gt;
24LC256 (EEPROM), KR5129, UA741CN (741 amplificador operacional), PRMA&lt;br /&gt;
1A05, PIC16F84A (microcontroller), 4532BE (CMOS encoder), 74HC32P&lt;br /&gt;
(Quadruple 2-Input Positive OR Gate), SN75441 (H-bridge), LM339N (LOW&lt;br /&gt;
POWER Quad Voltage Comparator), TC4081BP (quad 2-input and-Gate),&lt;br /&gt;
TC4093BP (Quad 2-input Nand Schmitt Trigger Logic Gate), LM358N&lt;br /&gt;
(operational amplifier), UA741CN (operational amplifier), 6N139&lt;br /&gt;
(IC-DIP8 1 CHANNEL LOGIC OUTPUT OPTOCOUPLER), Speakjet, LM392N&lt;br /&gt;
(LOW-POWER OPERATIONAL AMPLIFIER), CD4017BE (CONTADOR DIVISOR DECADA,&lt;br /&gt;
contador johnson), HCF4081BE (quad 2-input and-Gate), HEF4081BP (Quad&lt;br /&gt;
2-input AND gate), 74HC32N (quad 2-input OR gates), ATMEGA8-16PU&lt;br /&gt;
(microcontroller), LA4550 (audio pre-amp), TC4093BP (Quad 2-input Nand&lt;br /&gt;
Schmitt Trigger Logic Gate), LM386N (Audio Power Amplifier), LTV4N35&lt;br /&gt;
(OPTOACOPLADOR), HCF4017BE (contador décadas), 2206CP (generador de&lt;br /&gt;
funcions), ADC0804 (conversor analàgic-digital), TDA1517 (Stereo Power&lt;br /&gt;
Amplifier)&lt;br /&gt;
11;xips2;74HC14AP (Inv HEX SCHMITT TRIG), 555 (Timer), 74HCT139 (Dual&lt;br /&gt;
2-line to 4-line, desmultiplexor), CD4011BE (NAND CMOS), SN7400N (Quad&lt;br /&gt;
2-input NAND), L293D (DRIVER PARA MOTORES PASO A PASO), ATMEGA168,&lt;br /&gt;
MCP23017 (expansor i2c compatible con Arduino)&lt;br /&gt;
12;KIT Arduino;&lt;br /&gt;
13;sensor1;LDR (sensor llum), SFR (sensor força), 18B20 (sensor&lt;br /&gt;
temperatura), LM35 (sensor temperatura), LM335 (sensor temperatura),&lt;br /&gt;
ultrasons&lt;br /&gt;
14;sensor2;GY-521 (MPU-6050 mpu6050 Module 3 Axis Analog Gyro Sensors&lt;br /&gt;
Accelerometer Module), RTC (real time clock), SEN-00252 (triple axis&lt;br /&gt;
accelerometer), CB760 80016 (optical sensor), ADXL335 (triple axis&lt;br /&gt;
accelerometer),CODIFICADOR ROTATORIO CON SWITCH EJE PULSADOR - ROTARY&lt;br /&gt;
ENCODER -ARDUINO M0012&lt;br /&gt;
 15;sensor3;MIC amp, sensors de força, buzzer piezoelèctric, sensor&lt;br /&gt;
pressió atmosfèrica, electret microphone, MPX4115A (sensor de pressió&lt;br /&gt;
absoluta)&lt;br /&gt;
 16;transistors 3 potes;TDA2050 (amplificador audio 32W), BC307 PNP,&lt;br /&gt;
BC109 NPN, Transistor BJT 2N3904 NPN, BC547B NPN, BC558B NPN, 78L05&lt;br /&gt;
(regulador tensió 5V), 2N7000 (N-MOSFET), 494B NPN, BC337 NPN,&lt;br /&gt;
fototransistor, 2N2822, BC549B (NPN), BD139 (NPN), BD140 (PNP), BT137&lt;br /&gt;
(TRIAC), IRL540 (Transistor de potencia LOGIC LEVEL MOSFET IRL540&lt;br /&gt;
TO-220 100V 36A), dissipador transistor potència&lt;br /&gt;
17;termosellat;&lt;br /&gt;
18;POTS1;&lt;br /&gt;
19;POTS2;&lt;br /&gt;
20;POTS3;&lt;br /&gt;
21;POTS PET;&lt;br /&gt;
22;sòcals DIP&lt;br /&gt;
23;protoboard;&lt;br /&gt;
24;cristalls;&lt;br /&gt;
25;breakouts1;U-disk audio player TF SD card voice module MP3 Sound&lt;br /&gt;
WTV020-SD-16P Arduino,modulo radio AR1010 TEA5767 fm programable&lt;br /&gt;
estereo de baja potencia arduino&lt;br /&gt;
26;interruptors;&lt;br /&gt;
27;pulsadors;&lt;br /&gt;
28;connectors mascle1;diferents tamanys&lt;br /&gt;
29;connectors mascle2;diferents tamanys&lt;br /&gt;
30;connectors femella&lt;br /&gt;
31;connector cable PCB (TBD)&lt;br /&gt;
32;connector pin femella amb cable&lt;br /&gt;
33;varis;Chevy Cadillac Cluster Stepper Motors Switec Juken X27.168 &amp;amp;&lt;br /&gt;
10 BULBS, sppedometer (28BYJ-48 Stepper Motor with ULN2003 Driver&lt;br /&gt;
Board (mòdul X113647)), portapiles&lt;br /&gt;
34;cables normals;&lt;br /&gt;
35;cable pla;&lt;br /&gt;
36;connector pin femella;2,3,4&lt;br /&gt;
37;tira pin PCB TH femella;&lt;br /&gt;
38;tira pin PCB TH mascle;&lt;br /&gt;
39;connectors MOLEX i similars;&lt;br /&gt;
40;connectors varis TBD;connectors massa,...&lt;br /&gt;
41;shortcut jumper;&lt;br /&gt;
42;jack 6.3 femella;&lt;br /&gt;
43;jack 6.3 mascle;&lt;br /&gt;
44;jack 2.5,3.5 mascle;&lt;br /&gt;
45;jack 2.5,3.4 femella;&lt;br /&gt;
46;RCA femella;connectors altaveus pinçar cable&lt;br /&gt;
47;connector paral·lel;&lt;br /&gt;
48;connector sèrie;&lt;br /&gt;
49;ventilador;&lt;br /&gt;
50;coure bobina;&lt;br /&gt;
51;coure;&lt;br /&gt;
52;relés;&lt;br /&gt;
53;iman, solenoide;&lt;br /&gt;
54;portapiles;&lt;br /&gt;
55;portapiles 9V;&lt;br /&gt;
56;bananes, pinces cocodril;&lt;br /&gt;
66;projectes petits;audio-llibre&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pro Micro ATmega32u4 5V 16Mhz compatible Arduino Pin Header chip&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
AMPHENOL MF30-HF1T CONTACT, SOCKET, 24-20 AWG, CRIMP Price for 100&lt;br /&gt;
20Pcs SD Memory Card Socket Connector Plug Adapter Short Deck New&lt;br /&gt;
150x Resistencia SMD SMT 0805 1K 1000 Ohm 5% 0,125w - RESISTOR&lt;br /&gt;
100pcs SMD Micro Interruptor Momentáneo Botón Pulsador Táctil 2 Pins 6x3x3mm&lt;br /&gt;
4x Tira 40 Pines Macho 2,54 mm Dorados - Pin header, Row - Electronica, Arduino&lt;br /&gt;
2pcs Brass Joint Shaft Motor Flexible Coupling Coupler Connector 3mm to 4mm&lt;br /&gt;
5X(RC Airplane 2mm to 3mm Brass Motor Coupling Shaft Coupler Connector DW&lt;br /&gt;
2pcs RC Airplane Helicopter 2mm to 3mm Brass Motor Shaft Coupling Coupler&lt;br /&gt;
&lt;br /&gt;
Nokia 5110 84 * 48 Resolución Pixel LCD Módulo Blanco Fondo Luz Adaptador PCB&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Un cop hem generat el document (abans de combinar-lo), per defecte les etiquetes estan amb el format ''Liberation 12''. M'ha costat molt trobar com es canvia, i al final es feiua així. Sobre una de les etiquetes, amb el botó dret faig Estil &amp;gt; Edita l'estil. I escullo el tipus i tamany de la lletra, el centrat, etc. I ja està.&lt;br /&gt;
{{Autor}}, setembre 2018&lt;/div&gt;</summary>
		<author><name>Joan</name></author>
		
	</entry>
</feed>