Readme for Pegg_el 0.10
-----------------------

	Pegg_el 0.10 - Linux 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. !


------


Pegg_el is a linux userspace driver for Casio EL-700 label printers.
It scans the USB for your printer using libusb (libusb.sourceforge.net).
Although it is the first Version of pegg_el, it is already capable of nearly
every feature of the EL-700 printer. 
Pegg_el accepts many options. The have an idea look at this list:

        OPTION                      MEANING
	------------------------------------------------------------------
	-t			    Just test the connection and get some
	                            Information about the tape loaded
        -C			    Only make a cut
	
	-s0,1 			    Select printing speed 0=low, 1=high
	                            (DEFAULT: 0)

	-f0,1,2,3		    Feed select: 0=no feed, 1=large margin,
				    2=small margin, 3=medium margin
				    
	-c0,1,2			    Set cut mode during printing (If you just
	                            want to cut your printed label, then use -C)
				    0=normal cut, 1=half cut, 2=no cut
				    
	-d0,1,2,3,4		    Select the density 0=light...5=dark
	
	-o			    Offset (example: Offset 12px => -o12)
	                            maximum: 255

	-H                          Selects print head (only EL-5000W)
				    -H0=256dot -H1=64dot
				    
	FORMAT ARGUMENTS            MEANING
	--------------------------------------------------------------------
	
	-w			    Sets the printing width (variable)
	
	-h			    Sets the printing height (fixed to:
	                            64,128,256,384)
	
The default arguments of pegg_el are choosen such that the using of pegg_el
is compatible with the KL/KP Version: pegg. So by just typing

     pegg_el ./test_raw, or pegg_el -3 ./test_raw


pegg_el will print a label with 512x64px.

Here are some examples for using pegg_el:



1) Print an label out of label.xbm.crw  with dimensions of 2048x384:


       pegg_el -w2048 -h384 label.xbm.crw



2) Print a label out of test.xbm.crw with dimensions 1024x256 at high speed
   without cutting it:
   
      pegg_el -w1024 -h256 -c2 -s1 test.xbm
      
      
      
3) Just make a cut:      

      pegg_el -C



Hopefully you can use pegg_el. Please test it and report bugs via email

                    daniel.amkreutz@tu-harburg.de