Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > updates > by-pkgid > 9f76d24be37ca2d6b601b0e9b5bc1cc7 > files > 218

printer-filters-1.0-138.2.100mdk.i586.rpm

For the impatient:

!!! CHECK THE MAKEFILE !!!

Pegg 0.16 Installation
----------------------


	Pegg 0.16 - Linxu support for Casio label printers.

	Copyright (c) 2003,2004 Daniel Amkreutz, <daniel.amkreutz@tu-harburg.de>

        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.15 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

For KP-C50:

You first have to modify the source according to the way described in line 210 of pegg.c

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 might 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 -5 ./test_raw

   (5 specifies maximum density of the print)
   The printer should now print a label with some text on it.