SuSE GmbH

SuSE Support Database

Title: Printing: Gamma Correction (Adjusting the brightness)

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

Printing: Gamma Correction (Adjusting the brightness)

Request:


You'd like to adjust the brightness (e.g. the amount of ink used) of your printer

Procedure:

  1. You'll need to change the file /var/lib/apsfilter/preloads/gamma.ps
    Assuming your printer uses CMYK colors, just remove the % sign from the line you'd like to use ...as follows:
    %%   CYAN      MAGENTA     YELLOW      BLACK
    %{0.217 exp} {0.217 exp} {0.217 exp} {0.217 exp} setcolortransfer
    %{0.256 exp} {0.256 exp} {0.256 exp} {0.256 exp} setcolortransfer
    {0.333 exp} {0.333 exp} {0.333 exp} {0.333 exp} setcolortransfer
    %{0.450 exp} {0.450 exp} {0.450 exp} {0.450 exp} setcolortransfer
    
    The values must be between 0 and 1. The smaller the number - the darker the colors.

  2. Enter the file /var/lib/apsfilter/preloads/gamma.ps in the variables PRELOADS in the file /etc/apsfilterrc as follows:
    if [ "$COLOR" = "mono" ] ; then
    #   GS_FEATURES="-dBitsPerPixel=1"
        PRELOADS=""
    else
    #   GS_FEATURES="-dBitsPerPixel=24"
       PRELOADS="/var/lib/apsfilter/preloads/gamma.ps"
    fi
    
    Of course, instead of /etc/apsfilterrc you could also use /etc/apsfilterrc.DEVICE.

    Just replace DEVICE with your Ghostscript-Driver.
    for example:

    if [ "$COLOR" = "mono" ] ; then
    #  GS_FEATURES=
       PRELOADS=""
    else
    #  GS_FEATURES=
      PRELOADS="gamma.ps"
    fi
    
    It shouldn't matter if you use PRELOADS="gamma.ps" or PRELOADS="/var/lib/apsfilter/preloads/gamma.ps"

----------

Keywords: PRINTING, PRINTER, GAMMA, GAMMA CORRECTION, BRIGHTNESS

----------

Categories: Frequently asked Questions , Documentation , Printer

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-jsmeix_print-gammakorrektur, Copyright SuSE GmbH, Nuremberg, Germany - Version: 03. Nov 1999
SuSE GmbH - Last generated: 17. Jan 2000 16:00:45 by snbarth with sdb_gen 1.00.0