Stylus Color 480 Photo Image Print System for Linux Description 


Contents
1   License Agreement
2   Version Up Record 
3   Products Description
4   File Configuration
5   Installation Method
6   Operation
6.1    ekpstm
6.1.1    Specification for the options
6.2    pips-sc480
6.2.1    Specification for the options
6.2.2    Default values for optional settings
6.2.3    Combianation of options
6.2.4    Specification for pipsrc
6.2.5    libsc480.so Specification
7   Handling Instructions
8   Acknowledgement


1  License Agreement
The copyright of this software is reserved by Epson Kowa Corporation and
the licensor.This software may be reproduced, stored in a retrieval system,
or transmitted in any form, mechanical, photocopying, or otherwise, with
the agreement below.


1. It is not allowed to use, copy, reproduce, hand over or in any 
    other way give information about this software's program source 
    that is not open to the public.
2. Reverse engineering, reverse compiling and reverse assembling of 
    the object code of this software that is not open to the public 
    is prohibited.
3. Regular function or objective is not assumed with respect to the 
    use of this software.
    The user is responsible for the usage of this software.
4. This software is provided with free of charge, and Epson Kowa 
    Corporation shall not be liable to the user or third parties for
    damages, losses, costs, or expenses incurred by purchaser or third
    parties as a result of: accident, misuse, or abuse of this product
    or un authorized modifications, repairs, or alterations to this 
    product.
5. If this software or the modified product of this software is provided
    to third parties, this agreement is also applied to third parties.
6. The printer that this software is applied to is listed below.

            Seiko Epson Ink Jet Printer
            - Stylus Color 480


2  Version Up Record
Fri Jan 19 2001     Created


3  Products Description

This software is a Printer Driver (filter) for the high quality print with
SEIKO EPSON Color Ink Jet Printer from the Linux.
 

4  File Configuration

pips-sc480        Product's main body
libsc480.so       Print library
gsconfig-sc480    GS setting tool
filter-sc480      Print filter
readme-sc480      Operational description
libsc480.readme   Library specification



5  Installation Method

(1).... Installing a rpm file
Executes the rpm command to complete the installation.
-----------------
rpm -i pips-sc480-2.0-1.i386.rpm
-----------------

Depends on the distribution, dependent errors may occur. 
Execution of the rpm command shown below may helps you to avoid the error.
-----------------
rpm -i --nodeps pips-sc480-2.0-1.i386.rpm
-----------------



(2)....Installation with a tgz file
STEP 1
Decompress the tgz file.
-----------------
tar -xvfz pips-sc480-2.0.i386.tgz
-----------------

STEP 2
Execute install.sh.
-----------------
cd pips-sc480-2.0
install.sh
-----------------

(3).... Setting after the installation
It is necessary to describe a setup for using pips-sc480 to /etc/printcap.
Usually although it is automatically added at the time of installation, 
when it is not¡¡described by a certain factor or setup is changed, please 
execute Setup script.

Setup is interactively performed by setup script.
Execute the following commands and set up according to messages.

 # /usr/local/EPKowa/SC580/setup


When you set up manually without using script, please refer to the following.

Setting example
    1     sc480:\
    2        :lp=/dev/lp0:\
    3        :sh:\
    4        :if=/usr/local/EPKowa/SC480/filter-sc480:\
    5        :sd=/var/spool/lpd/sc480:\
    6        :mx#0:\

    1:Printer name
    2:Specify the printer port
    3:Control the cover sheet
    4:Specify the input filter
    5:Specify the spool directory
    6:Specify the maximum file size for spooling(Set 0 for the unlimited value)

Additionally, the following description is added to /etc/services. This is also
automatically added at the time of installation.

    cbtd     35586/tcp

Finally, correct "PrinterDevicePath" entry of /etc/ekpdrc. Please describe the
path to the device driver of the port where the printer is connected after '='.

(Example) Default setting value

          PrinterDevicePath = /dev/lp0


* When LPRng is being used for a printing spooler, setup is not reflected
  if LPRng is not re-started after installation or a setup ,please be
  careful.

  The re-starting method of LPRng (It may change with systems.)
  -----------------
  /etc/rc.d/init.d/lpd restart
  -----------------


6  Operation

6.1  ekpd

6.1.1  The operation method

In order to use a printer, it is necessary to start ekpd first. ekpd performs
two-way communication with a printer. Usually, it starts automatically when
starting of Linux. When it has not started, please execute the following
commands by root authority.

# /etc/rc.d/init.d/ekpd start

There are the following options in a command.

    start       start ekpd
    stop        stop ekpd
    restart     restart ekpd

6.1.2  Setup

Setup of ekpd is described in /etc/ekpdrc. Setting items are as follows. (The
inside of a parenthesis is a default)

PrinterName
The printer name described in printcap  (sc480)

PrinterDevicePath
Path to the connection place device driver of a printer (/dev/lp0)

DummyDevicePath
The path to FIFO file for a printing data input (/var/ekpd/ekplp0)

CommandServerPort
The port number for communication       (35586)

6.2  ekpstm

6.2.1  The operation method

It can also start automatically when printing start. add the machine to which
the printer is connected to the access list of X servers by xhost for starting
automatically. 
The following commands are executed after login.

    # xhost <Machine name>


* This work may be required also when using  in a PC (local machine). 
  Execute the following commands after login in case.

    # xhost $HOSTNAME

  We recommend you to write these commands to .xinit, since it is troublesome
  to execute them each time .

6.3   pips-sc480

6.3.1   The operation method

The utility(GUI) for the X-Window environment starts from the command line
'pips-sc480' on the X-Window environment.

* It is necessary to set up the locale at the time of printing after installation.
  Start GUI utility, in order to set up the locale. Whenever it is started, it
  memorizes its language setup (LANG). At the time of printing, the setup is used
  for printing. Please notice that documents may cause character transformation
  when the locale is not correctly set up at the time of printing.

The 'common' button which performs following operations is located on the
bottom of the window.
  [Save]:Save the current settings and keep the settings for the next
operation. All the users use the saved settings.
  [Print: Start the print with the current settings.
  [Quit]: End the operation.

The following settings are available from the 'I/O Settings'.
  [Input]: Specify the PNG file(non-interlaced).
  [Output]: Specify the ESC/P code output file.

The following settings are available from the 'Paper Settings'.
  [Paper Size]: Select the size of paper a printer is supporting.
  [Zoom]: Specify the enlargement or reduction of input image with %.
  (10 to 400)
  [Margin]: Specify the margin in milo meter. (0 to maximum value of right
  margin)

The following settings are available from the 'Main Settings'.
  [Media Type]: Select the paper type which is supported by the printer.
  [Halftone]: Select the Halftone method.
  [Input Resolution]: Select the input resolution.
  [Quality]: Specify the print quality.
  [High Speed]: Select the bi-directional print on or off.

The following settings are available from the "Color Management'.
  [Mode]: Select the color mode.
  [Brightness]: Adjust the brightness.(-50 to +50)
  [Contrast]: Adjust the contrast.(-50 to +50)
  [Saturation]: Adjust the saturation.(-50 to +50)
  [Cyan]: Adjust the density of the Cyan ink.(-50 to +50)
  [Magenta]: Adjust the density of the Magenta ink.(-50 to +50)
  [Yellow]: Adjust the density of the yellow ink.(-50 to +50)

Also, the setting can completed on the command line without starting the GUI.
In this case, 
 set the command
  pips-sc480 [option] input_file
 or
  pips-sc480 [option] < input_file
. Then specify the PNG file for the input_file. 
The output is a standard output. Depends on the combination of the optional
settings, settings may canceled or may not correctly effect the system. Start
the GUI and check the setting value.


If you can set the paper size from the application's property, set the same
size of the paper to the application's property as the setting used in this
software. The print job is proceeded with reference to upper left corner of
the paper. The print area set margin to the left, right, top and bottom of
the paper.
Please refer to '7. Paper size and Margin' for more details.


6.3.2    Specification for the options

- Start Mode
  Format    -ui n1
  Parameter  n1 =  X   Start the GUI
                   C   Operate on the command line
  Specify whether the GUI is started.


- Paper size
  Format    -ms n1
  Parameter  n1 =  "A4"        A4  210x297 mm
                    "B5"        B5  182x257 mm
                    "A5"        A5 148x210 mm
                    "LT"        Letter  8 1/2x11 in
                    "LGL"       Legal  8 1/2x14 in
                    "EXE"       Executive  7 1/4x10 1/2 in
                    "HLT"       Half Letter  5 1/2x8 1/2 in
                    "A6"        A6  105x148 mm
                    "INDEX5"    Index card  5x8 in
                    "INDEX8"    Index card  8x10 in
                    "ENV10"     Envelope #10  4 1/8x9 1/2
                    "ENVDL"     Envelope DL  110x220 mm
                    "ENVC6"     Envelope C6  114x162 mm
                    "ENV5X8"    Envelope 132x220 mm
                    "PHOTO"     Photo Paper  4x6 in
                    "PANORAM"   Panoramic 210x594 mm
  Specify the size of the paper.

- Media
  Format    -mt n1
  Parameter  n1 =  "PLAIN"     Plain Paper
                    "FINE"      360dpi Ink Jet Paper
                    "SFINE"     Photo Quality Ink Jet Paper
					"PMMATT"	Matte Paper -Heavyweight
                    "GPAPER"    Photo Paper
                    "GFILM"     Photo Quality Glossy Film
                    "OHP"       Ink Jet Transparencies
  Specify the type of the paper.

- Resolution
  Format    -re n1
  Parameter  n1 =   120         120dpi
                    240         240dpi
                    360         360dpi
                    720         720dpi
  Specify the resolution.


- Print quality
  Format    -ql n1
  Parameter  n1 =  "DRAFT"     Draft Print
                    "STD"      Standard Print
                    "FINE"     Fine Print
                    "PHOTO"    High Print
  Specify the quality of the print.

- High Speed print
  Format    -hs n1
  Parameter  n1 =  ON          High Speed Print
                   OFF         Simplex Print
  Specify whether the High Speed print is used.

- Halftone
  Format    -ht n1
  Parameter  n1 =  ED          High Quality Halftoning

  Specify the Halftone method.

- Print Scale
  Format    -sc n1
  Parameter  n1 = [10 - 400]
  Specify the enlargement or reduction of input image.
  
- Ink
  Format    -in n1
  Parameter  n1 =  COLOR     Color Print
                    MONO     Black Print
  Specify the Color or the Black print.

- Color mode
  Format    -cc n1
  Parameter  n1 =  PHOTO     Photo - realistic
                    GRAPH    Vivid color
                    NONE     No adjustment
  Adjust the color mode.

- Brightness
  Format    -br n1
  Parameter  n1 = [-50 - 50]
  Adjust the the brightness.

- Contrast
  Format    -co n1
  Parameter  n1 = [-50 - 50]
  Adjust the contrast.

- Saturation
  Format    -sa n1
  Parameter  n1 = [-50 - 50]
  Adjust the saturation.

- Density
  Format    -st n1 n2 n3
  Parameter   n1 = [-50 - 50]   Cyan density adjustment
              n2 = [-50 - 50]   Magenta density adjustment
              n3 = [-50 - 50]   Yellow density adjustment
  Adjust the ink density.

- Margin
  Format    -mg n1 n2
  Parameter   n1 = [0 - right(maximum)]   Left margin
              n2 = [0 - bottom(maximum)]     Top margin
  Specify the margin in milo meter.


Those items that is not changed its optional settings is set as default
settings. However, you can adjust the default settings of the items listed
below in the resource file [.pipsrc]. The value from the option is set as
the value to the each parameter.
Paper size                media size = n1
Paper type                media type = n1
Resolution                resolution = n1
Quality                   quality level = n1
High Speed print          high speed = n1
Halftone                  half tone = n1
Print scale               scale = n1
Ink                       ink = n1
Color mode                color correction = n1
Brightness                brightness = n1
Contrast                 contrast = n1
Saturation                saturation = n1
Density                   strength = n1, n2, n3
Margin                    margin = n1, n2


6.3.3    Default value for optional settings

Start mode:    Start the GUI
Filter type:   Bitmap
Paper size:    A4
Zoom in / Zoom out:   100
Paper type:    Plain paper
Halftone:      High Quality Halftone
Resolution:    360
Quality:       STD
High Speed print:    ON
Inl:           Color
Color - mode:  Photo - realistic
Brightness:    0
Contrast:      0
Saturation:    0
Cyan:          0
Magenta :      0
Yellow :       0
Left Margin:   3
Top Margin:    3

6.3.4    Combination of options

The list shown below indicates the combination of the option that is available
to the Photo Image Print System for Stylus Color 480.  Refer to the list when
changing the options from the command line.

Color print

       Media        Input       Quality  High    Halftone      Color               Outputb
                    resolution           Speed                 mode                resolution (reference)
       -mt          -re         -ql      -hs     -ht           -cc 

       PLAIN        120         DRAFT    ON      ED            PHTOT/GRAPH/NONE    360*120
                    360         STD      ON/OFF  ED            PHTOT/GRAPH/NONE    360*360
                    360         FINE     ON/OFF  ED            PHTOT/GRAPH/NONE    360*720
                    720         FINE     ON/OFF  ED            PHTOT/GRAPH/NONE    360*720
                    360         PHOTO    ON/OFF  ED            PHTOT/GRAPH/NONE    720*720
                    720         PHOTO    ON/OFF  ED            PHTOT/GRAPH/NONE    720*720

       FINE         360         STD      OFF     ED            PHTOT/GRAPH/NONE    360*360
 
       SFINE        360         STD     ON/OFF   ED            PHTOT/GRAPH/NONE    360*720
                    720         STD     ON/OFF   ED            PHTOT/GRAPH/NONE    360*720
                    360         FINE    ON/OFF   ED            PHTOT/GRAPH/NONE    720*720
                    720         FINE    ON/OFF   ED            PHTOT/GRAPH/NONE    720*720

       PMMATT       360         STD     ON/OFF   ED            PHTOT/GRAPH/NONE    360*720
                    720         STD     ON/OFF   ED            PHTOT/GRAPH/NONE    360*720
                    360         FINE    ON/OFF   ED            PHTOT/GRAPH/NONE    720*720
                    720         FINE    ON/OFF   ED            PHTOT/GRAPH/NONE    720*720
  
       GPAPER       360         STD     ON/OFF   ED            PHTOT/GRAPH/NONE    360*720
                    720         STD     ON/OFF   ED            PHTOT/GRAPH/NONE    360*720
                    360         FINE    ON/OFF   ED            PHTOT/GRAPH/NONE    720*720
                    720         FINE    ON/OFF   ED            PHTOT/GRAPH/NONE    720*720

       GFILM        360         FINE    OFF      ED            PHTOT/GRAPH/NONE    720*720
                    720         FINE    OFF      ED            PHTOT/GRAPH/NONE    720*720
  
       OHP          360         STD     OFF      ED            PHTOT/GRAPH/NONE    360*360



Black print

       Media        Input       Quality  High    Halftone      Outputb
                    resolution           Speed                 resolution (reference)                  

       -mt          -re         -ql      -hs     -ht     

       PLAIN        120         DRAFT    ON      ED            360*120
                    240         STD      ON/OFF  ED            480*240
                    360         STD      ON/OFF  ED            360*360
                    360         FINE     ON/OFF  ED            360*720
                    720         FINE     ON/OFF  ED            360*720
                    360         PHOTO    ON/OFF  ED            720*720
                    720         PHOTO    ON/OFF  ED            720*720
                                                               
       FINE         360         STD      OFF     ED            360*360
                                                               
       SFINE        360         STD      ON/OFF  ED            360*720
                    720         STD      ON/OFF  ED            360*720
                    720         FINE     ON/OFF  ED            720*720
                                                               
       PMMATT       360         STD      ON/OFF  ED            360*720
                    720         STD      ON/OFF  ED            360*720
                    720         FINE     ON/OFF  ED            720*720
                                                               
       GPAPER       360         STD      ON/OFF  ED            360*720
                    720         STD      ON/OFF  ED            360*720
                    720         FINE     ON/OFF  ED            720*720
                                                               
       GFILM        720         FINE     OFF     ED            720*720
                                                               
       OHP          360         STD      OFF     ED            360*360


6.5    Specification for pipsrc

This product uses a text-base setting file called pipsrc so that the user can
save    their optional setting values. To create the pipsrc file in the
directory, start the GUI from the root and press the save button.

The pipsrc file is used for the supplementation of the items that is not
specified its option on the command line, and is also used for the default
setting value of GUI settings.

Do not change the data of pipsrc file directly. Change the settings using the
GUI. If you need to change the data of the pipsrc file directly, refer to the
list below.

The printer name is listed first in the pipsrc file. Two fields are related
to each lines with '=' . 

   Paper size
       media size = n1

   Paper type
       media type = n1

   Resolution
       resolution = n1

   Quality
       quality level = n1

   High - Speed print
       high speed = n1

   Halftone
       half tone = n1

   Print scale
       scale = n1

   Ink
       ink = n1

   Color mode
       color correction = n1

   Brightness
       brightness = n1

   Contrast
       contrast = n1

   Saturation
       saturation = n1

   Density
       strength = n1, n2, n3

   Margin
       margin = n1, n2


6.3.6    libsc480.so Specification

Refer to the libsc480.readme file for the specification.

7  Size of the Paper and Margin

The base point to print with Photo Image Print System is upper left corner
(0,0) of the paper. 
However, the default margins are provided to the printer settings. The
outside edge of the image is cut off if it exceeds the value of the default
margins.

The size of the each paper and the margin is listed below.


PaperSize                       Paper Size(1mm)  Margin(1mm)
Name                            Width  Height    Left     Top   Right   Bottom
A4 210 x 297 mm                 210    297       3        3     3       14  
B5 182 x 257 mm                 182    257       3        3     3       14  
A5 148 x 210 mm                 148    210       3        3     3       14  
Letter 8 1/2 x 11 in            216    279       3        3     3       14  
Legal 8 1/2 x 14 in             216    356       3        3     3       14  
Executive 7 1/4 x 10 1/2 in     184    267       3        3     3       14  
Half Letter 5 1/2 x 8 1/2 in    140    216       3        3     3       14  
A6 Index card 105 x 148 mm      105    148       3        3     3       14  
Index card 5 x 8 in             127    203       3        3     3       14  
Index card 8 x 10 in            203    254       3        3     3       14  
Envelope #10 4 1/8 x 9 1/2 in   241    105       3        3     28      14  
Envelope DL 110 x 220 mm        220    110       3        3     7       14  
Envelope C6 114 x 162 mm        162    114       3        3     3       14  
Envelope 132 x 220 mm           220    132       3        3     7       14  
Photo Paper 4 x 6 in            114    164       3        3     3       3   
Photo Paper 100 x 150 mm        100    150       3        3     3       14  
Photo Paper 200 x 300 mm        216    338       3        14    3       14
Panoramic 210 x 594 mm          210    594       3        3     3       14


8  Handling Instructions

- The print data of this software may get large as it operates the high-quality
print, and lpr may return the error. In this case, add the -rs option to lpr.
Please refer the lpr(1) on the manual about the details on lpr. If still the
problem is not solved, install the extra memory or set the Swap. This is the
end of this document.

(Example)
 $ lpr -rs -P <Printer> <PostScript File>


- When this product is used as a filter, the line not intended might be
printed. 
This case is occured because the Postscript file is converted into the
PNG file with Ghostscript (henceforth GS) .It does not depend on this
product. 
It is confirmed generating with GS v5.10 not with v5.50. 



9  Acknowledgement 

    We appreciate the following people who cooperate with us for the
    development of this product.

    Nobby N Hirano <nobby@nmail.hiug.ne.jp>
    Toshihiro Yamagishi <toshihiro@turbolinux.co.jp>
    Nozomi Satou <nozomi@esd.spr.epson.co.jp>
    
***End of file
