-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
102 lines (62 loc) · 3.12 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
For the impatient:
!!! CHECK THE MAKEFILE FIRST !!!
Pegg_el 0.11 Installation
--------------------------
Pegg_el 0.11 - Linux support for Casio label printers.
Copyright (c) 2003,2004 Daniel Amkreutz, <[email protected]>
(c) 2004 Alex Perry
IMPORTANT NOTICE:
* This software was designed using data made available by and is released
with the permission of CASIO COMPUTER CO., LTD.
* CASIO COMPUTER Co., LTD. assumes no responsibility for the content of
this software.
* Please do not contact CASIO COMPUTER CO., LTD. with any inquiries
concerning this software.
A large amount of code is borrowed from the libusb Documentation.
The communication API of the Printer has been greatly documented
and published by CASIO COMPUTER CO., LTD
Many Thanks.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
You may use this program for whatever you want as long the above written
text remains.
Please support Pegg by testing it and reporting bugs !
------
1) INSTALLATION
Note for EL-5000W users:
Before you can use pegg_el you have to change the USB ProductID of to the one the EL-7000W printer has
in the pegg_el.c file (line 326).
Pegg_el uses libusb >= 0.1.7(!) (libusb.sourceforge.net)
In order to install Pegg_el 0.11 make sure that you have installed libusb with headers
(meaning you have a file named usb.h on you machine).
Before using the make command please check the variables in the makefile.
If you own an EL-5000W you will have to add the right productID of the printer in pegg_el.c
as described there in line 333. After you checked everything just type the folowing
to build and install pegg:
make
make install
This will install pegg into the path given in the PREFIX Variable in the Makefile
and copies the manpage into the manpath.
If you would like to clean the projectpath then type
make clean
2) TESTING
After the installation you may test pegg by doing the folowing:
1. Connect your printer.
2. Try a pegg_el -t to see if pegg recognizes your printer. You should see the type of label you have
mounted on your printer. (You will have to be loged in as root in order to scan the USB)
3. If pegg_el has found your printer print a test label using the test_raw file. To do so type in
this command:
pegg_el -w512 -h128 ./test_raw
The printer should now print a label with some text on it.
If everything works fine, you are done with installation. Please read the README file, for
informations about the commandline options and usage of pegg.
3) UNINSTALLATION
If you want to uninstall pegg, just cd to the pegg build directory and type:
make uninstall
---
Daniel Amkreutz <[email protected]>