cups2pegg - The CUPS Plugin for pegg INSTALLATION
Modifications Copyright (C) 2004 Daniel Amkreutz aixpresso@web.de (public key)
Before you begin
cups2pegg utilizes these programs:
Please make sure that you have installed these programs and that they are working.
Furthermore these tools should be in your $PATH Enviroment (eg. they should be found by which pegg etc.)
Procedure
The installation procedure has three parts.
- First you have to copy the cups2pegg files into the cups directory
- Next you can set up the printer in cups
- At last you should set some parameters in your printing application
Part 1 - Copy cups2pegg into the cups directory
Copy the cups2pegg executable into your CUPS-Backend directory (eg. /usr/lib/cups/backend).
If you do not know your CUPS-Backend directory you might try searching for some default Backends (find / -name parallel)
Next copy casio_klkp.ppd to the CUPS PPD Directory (eg. /usr/share/cups/model).
Make sure that cups2pegg is executable by the cups deamon. And casio_klkp.ppd is readable by cups.
Now restart the cups deamon (/etc/init.d/cupsys restart).
Part 2 - Printer Setup in CUPS
Open your CUPS Configuration page with your favourite Browser (http://localhost:631).
There, under "Printers" select "Add Printer".
Now you should name the printer, write a description etc. Feel free to write something and click on "continue"

Now select "Pegg Printer" and click on "continue"

For the Device URI enter cups2pegg:/SCRATCH_DIRECTORY. Here I've choosen /tmp as scratchdirectory.
The directory will contain some files needed by the backend to convert the print data. These files
will be overwritten automatically each time. So there is not a lot of space required. Click on "continue"

Here select "CASIO" as Manufacturer. "continue"

At last select the KP-C10/50 KL-P1000 PPD file and click "continue".
You are done with part 2.
Part 3 - Setting margins & pagesize
Before you start printing, make sure to set the papersize and margins for the printer correctly.
This is mostly done by your printing client application (like kprinter). Set all margins to zero.
Make a Preview first. And look if the pagesize is about 512x64 px.
If the preview is ok then make a real print.
Congratulations. That is all.
LOGFILE
cups2pegg creates a logfile where you can find some informations about the printing progress.
This logfile can be found in /var/log/cups by default. If you would like to change this you have
to edit the cups2pegg executable and change the LOGFILE Variable.
[home]
[WLAN]
[pegg]
[kpegg]
[xbm2crw]
[cups2pegg]