                    Posiflex PP/XP Printer CUPS
                Driver installation instructions for
	                UBUNTU12.04 (or other Linux)

                        Version 1.05
                         Feb 7, 2013
                    Posiflex Technology Inc.


Posiflex Linux CUPS Driver for PP/XP printers contain so 
called PPD file and filter file.

The PPD(PostScript Printer Description) contains descriptions about every 
one of the printer's capabilities and the printer specific commands to be send
if one or more of those capabilities are to be called for in the print job. 

The filter to take a PostScript file and converts it to the correct raster 
or other format for the target print device.


=============================================================================
System Requirement
=============================================================================
This software requires that the following is present on your computer
the CUPS server & architecure (see www.cups.org)


=============================================================================
Dip Switch Setting Note
=============================================================================
. It is necessary to change pin 1 of 4 position dip switch 2 from OFF to ON 
  before using CUPS driver to print. 
. The default DPL (Dots Per Line) of PP/XP is 512 dots. If you want to set
  the DPL to 576 dots, please change pin 3 of 4 position dip switch to ON.


=============================================================================
Web Page Printing Note
=============================================================================
. When you use web page printing and the DPL of your printer is set to 512 dots,
  please set the "Media Sizes" setting to "80mm * 320mm".(The default setting now)
. When you use web page printing and the DPL of your printer is set to 576 dots,
  please set the "Media Sizes" setting to "90mm * 360mm".


=============================================================================
Installing Posiflex CUPS Driver for Linux
=============================================================================
Note: You must have administrator access rights on your 
      Linux machine to install Posiflex CUPS Driver for Linux. 


1. Open a shell (bash, etc.)

2. Copy the Posiflex CUPS driver files from the distribution folder to a folder.
   > mkdir /posiflex
   > cp <distribution folder>/*  /posiflex
   > mkdir pp-cups
   > cd /posiflex/pp-cups
   > tar -xf ../pp-cups.tar


3. ** NOTE!! 
   If using PP8000U with USB interface, make sure
   that printer is power on and connect to the system.


4. Begin to install CUPS driver and please follow up the instruction on screen.
   > ./installpp


5. Goto http://localhost:631 or use your favorite CUPS admin tool.


6. Add a new printer queue for your model.


7. If your CUPS driver version is before v1.3.8, please make sure that the
   using port of printer queue have read/write permissions of other user.
   The port permission maybe changed using:
   > chmod 666 /dev/ttyS0  	# for Serial interface
   or
   > chmod 666 /dev/ttyACM0  	# for USB interface of PP8000
   or
   > chmod 666 /dev/ttyUSB0  	# for USB interface of PP7000
   or
   > chmod 666 /dev/ttylp0  	# for Parallel interface of PP8000

   Please look into below to confirm the change of permission.
   > ls -l /dev/ttyACM0		# Example PP8000U

     ## before permission changed:
     crw-rw---- 1 root uucp 166, 0 Apr  2 07:30 ttyACM0

     ## after permission changed:
     crw-rw-rw- 1 root uucp 166, 0 Apr  2 07:30 ttyACM0
            ===
             |
             +------------- Other user read/write permission

   Please set the IP address and listen port of LAN printer at port setting.
   Example: 192.168.192.168:9100 (default)

8. Print test page and see the result


=============================================================================
Driver Option Settings
=============================================================================

1. Media Sizes:
   - 80mm * 64mm
   - 70mm * 280mm
   - 80mm * 320mm
   - 90mm * 360mm
   - 64mm * 64mm
   - 64mm * 76mm
   - 64mm * 90mm
   - 64mm * 100mm
   - 64mm * 115mm
   - 64mm * 130m
   - 64mm * 150mm
   - 64mm * 177mm
   - 64mm * 200mm
   - 64mm * 230mm
   - 64mm * 254mm
   - 64mm * 305mm
   - 64mm * 2540mm
   The default value is 80mm * 320mm.

2. Cash Drawer:
   - No
   - CR1
   - CR2
   - both
   The default value is No.

3. Page cut:
   - No Cut
   - Document Cut
   - Page Cut
   The default value is Document Cut.
   
4. Horiz. Dots
   - 384
   - 512
   - 576
   The default value is 512.
   When the Horizontal Dots set to 512, 
   --> The left space is 9 mm and the right space is 7.
   When the Horizontal Dots set to 576, 
   --> The left space is 5 mm and the right space is 4.


5. Beep
   Please reserve to "Disable"

6. Delay sec
   Please reserve to "No".


=============================================================================
NOTICE!!
=============================================================================
After completed all the installation, Please note:
  
  If using PP8000U with USB interface, please restart Linux 
  when printer is re-plug into the system.


