Show
Ignore:
Timestamp:
10/06/08 00:22:07 (16 years ago)
Author:
jerome
Message:

Removed spaces at EOL.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/README

    r3409 r3436  
    2626 
    2727        - PostScript (both DSC compliant and binary) 
    28          
     28 
    2929        - PDF 
    30          
     30 
    3131        - PCL3/4/5 
    32          
     32 
    3333        - PCLXL (aka PCL6) 
    34          
     34 
    3535        - DVI 
    36          
     36 
    3737        - OpenDocument (ISO/IEC DIS 26300) 
    38          
     38 
    3939        - Microsoft Word (c) (tm) (r) (etc...) 
    40          
     40 
    4141        - Plain text 
    42          
     42 
    4343        - TIFF 
    44          
     44 
    4545        - Several other image formats 
    46          
     46 
    4747        - ESC/P2 
    48          
     48 
    4949        - Zenographics ZjStream 
    50          
     50 
    5151        - Samsung QPDL (aka SPL2) 
    52          
     52 
    5353        - Samsung SPL1 
    54          
     54 
    5555        - ESC/PageS03 
    56          
     56 
    5757        - Brother HBP 
    5858 
    5959        - Brother XL2HB 
    60          
     60 
    6161        - Hewlett-Packard Lightweight Imaging Device Interface Language 
    62          
     62 
    6363        - Structured Fax 
    64          
     64 
    6565        - Canon BJ/BJC 
    66          
     66 
    6767        - ASCII PNM (Netpbm) 
    68          
    69 The eleven latter ones, as well as some TIFF documents, are currently  
    70 only supported in page counting mode.  
    7168 
    72 By default, when launched pkpgcounter prints on its standard output  
    73 a single integer representing the total number of pages in all the  
    74 files which filenames you've passed on the command line.  
     69The eleven latter ones, as well as some TIFF documents, are currently 
     70only supported in page counting mode. 
     71 
     72By default, when launched pkpgcounter prints on its standard output 
     73a single integer representing the total number of pages in all the 
     74files which filenames you've passed on the command line. 
    7575 
    7676With no argument, or with a single dash in non-option arguments, 
     
    8787 
    8888  0 - Download pkpgcounter from : 
    89    
     89 
    9090        http://www.pykota.com/software/pkpgcounter/download 
    91          
    92       and extract it :   
    93        
     91 
     92      and extract it : 
     93 
    9494        $ tar -zxf pkpgcounter-x.yy.tar.gz 
    95          
     95 
    9696        where x.yy is pkpgcounter' version number. 
    97          
     97 
    9898  1 - Run the installation script : 
    99        
     99 
    100100        $ python setup.py install 
    101          
    102       This will usually install the pkpgcounter into /usr/bin and   
     101 
     102      This will usually install the pkpgcounter into /usr/bin and 
    103103      the library into /usr/lib/python2.?/site-packages/pkpgpdls/ 
    104          
     104 
    105105  2 - Use pkpgcounter : 
    106    
     106 
    107107      $ pkpgcounter file1.ps file2.pclxl ... <fileN.escp2 
    108        
     108 
    109109      pkpgcounter will display the total size in pages of all the files 
    110110      passed on the command line. 
    111        
     111 
    112112      $ pkpgcounter --colorspace bw --resolution 150 file1.ps 
    113    
     113 
    114114      Will output the percent of black ink needed on each page of 
    115115      the file1.ps file rendered at 150 dpi. 
    116        
    117   3 - That's all !     
    118    
     116 
     117  3 - That's all ! 
     118 
    119119DEPENDENCIES : 
    120120 
    121121  Most of the time, pkpgcounter only depends on the presence of : 
    122    
     122 
    123123  - The Python Imaging Library (python-imaging) 
    124    
     124 
    125125  But, depending on the file formats you plan to work with, and on the 
    126126  accounting mode you want to use (pages vs ink), you may need to install 
    127127  some or all of the additional software listed below. Usually, if one is 
    128   needed then pkpgcounter will complain. So your best bet is probably  
     128  needed then pkpgcounter will complain. So your best bet is probably 
    129129  to NOT INSTALL anything until pkpgcounter asks you to do so on its 
    130130  standard error stream. Here's the list of software which may be needed 
     
    132132 
    133133  - GhostScript (gs) 
    134    
     134 
    135135  - The X Virtual Frame Buffer (xvfb) 
    136    
     136 
    137137  - The X authority file utility xauth (xbase-clients) 
    138    
     138 
    139139  - The dvips converter from TeX DVI to PostScript (tetex-bin) 
    140    
     140 
    141141  - The ImageMagick image manipulation toolkit (imagemagick) 
    142    
     142 
    143143  - The AbiWord word processor (abiword) 
    144144 
    145145  - The GhostPCL/GhostPDL's pcl6 converter from PCL to PostScript 
    146          
     146 
    147147============================================================================= 
    148148 
    149 Troubleshooting :  
     149Troubleshooting : 
    150150----------------- 
    151151 
    152152  If pkpgcounter gives incorrect results to you, please make an incorrectly 
    153   parsed data file available to us on some website, and tell us which  
    154   driver was used, how many pages are in the file, and any additional  
     153  parsed data file available to us on some website, and tell us which 
     154  driver was used, how many pages are in the file, and any additional 
    155155  information you think is relevant. 
    156    
     156 
    157157  If pkpgcounter complain about your system lacking the Python Psyco module, 
    158158  please consider installing it to speedup file parsing. However, don't forget 
    159   that Psyco currently only runs on the 32 bits x86 platform, so no need to  
     159  that Psyco currently only runs on the 32 bits x86 platform, so no need to 
    160160  install it if you've got another system type. 
    161    
     161 
    162162============================================================================= 
    163163 
     
    167167 
    168168    http://www.fea.unicamp.br/pclcount/ 
    169      
    170 Their software is distributed under either the terms of a BSD-like license,     
     169 
     170Their software is distributed under either the terms of a BSD-like license, 
    171171or the terms of the GNU General Public License of the Free Software Foundation. 
    172172 
     
    176176The old parser was still available until pkpgcounter v2.18 was published, but 
    177177was definitely removed after that, just before pkpgcounter v3.00 was published. 
    178      
    179 pkpgcounter's PCLXL (aka PCL6) parser doesn't originate from PCLCount, but  
     178 
     179pkpgcounter's PCLXL (aka PCL6) parser doesn't originate from PCLCount, but 
    180180was written from scratch, just like all the other parsers included in 
    181181pkpgcounter. 
     
    183183============================================================================= 
    184184 
    185 pkpgcounter's ink coverage algorithm for the CMYK colorspace is a  
    186 direct Python port from the PrintBill project by Daniel Franklin.  
    187 PrintBill is distributed under the terms of the GNU General Public  
    188 License of the Free Software Foundation, version 2 or higher. The  
    189 algorithms used for the other colorspaces are a complete rewrite of  
    190 PrintBill's algorithms using both Python and the Python Imaging  
    191 Library's facilities.  
     185pkpgcounter's ink coverage algorithm for the CMYK colorspace is a 
     186direct Python port from the PrintBill project by Daniel Franklin. 
     187PrintBill is distributed under the terms of the GNU General Public 
     188License of the Free Software Foundation, version 2 or higher. The 
     189algorithms used for the other colorspaces are a complete rewrite of 
     190PrintBill's algorithms using both Python and the Python Imaging 
     191Library's facilities. 
    192192 
    193193=============================================================================