Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > by-pkgid > 5137030635f1a2b143b3f7bbf8d8f581 > files > 230

printer-filters-2006-7.1.20060mdk.i586.rpm

For the impatient:

!!! CHECK THE MAKEFILE !!!

Pegg 0.23 Installation
----------------------


	Pegg 0.23 - Linxu support for Casio label printers.

	Copyright (c) 2003,2004 Daniel Amkreutz, <daniel.amkreutz@tu-harburg.de>
                  (c) 2004 Alex Perry, <alex@pamurray.com>
  
        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

Pegg uses libusb >= 0.1.7(!) (libusb.sourceforge.net)
In order to install Pegg 0.23 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 path given in the makefile. 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

Note for KP-C50:
You first have to modify the source according to the way described in line 247 of pegg.c
Please keep in mind, that the KP-C50 will be used exclusively by X when it is used as 
a mouse also. If you want to use this device with pegg, you will have to choose another
pointing device in X, such that the printer is available for pegg.



2) TESTING

After the installation you may test pegg by doing the folowing:

1. Connect your printer.

2. Try a pegg -t to see if pegg recognizes your printer. You should see the type of your printer
   in the output. (You will have to be loged in as root in order to scan the USB)

3. If pegg has found your printer print a test label using the test_raw file. To do so type in
   this command:

   pegg -d4 ./test_raw
  
The printer should now print a label with some text on it. 
If you have completed these steps you are doone with the installation.
For detailed informations on pegg, please have a look at the README file.




3) UNINSTALLATION:

If you want to uninstall pegg, just cd to the pegg build directory and type

make uninstall



Daniel Amkreutz <daniel.amkreutz@tu-harburg.de>