• [^] # Re: Cups sous Ubuntu

    Posté par . En réponse au message Problème d'impression sous Kubuntu .... Évalué à 1.

    Merci pour ton aide !

    Concernant l'imprimante,elle se trouve bien dans System/configuration/imprimante. Quand je tente d'imprimer une page de test, il me dit qu'il l'a bien envoyé, mais l'imprimante ne reçoit rien et aucune tache en cours non plus...

    La commande lpstat me fait un retour de chariot vide.. et j'ai tenté d'imprimer via la console avec "lp -d bar -o cpi=12 -o lpi=8 -o page-left=72 test.txt" et ça me dit qu'aucune classe ou imprimante n'est trouvée...

    J'ai tenté aussi de passer par l'utilitaire de Samsung, néant.. et j'ai testé ça mais idem.. :

    Set up the printer without Samsung's shit setup tool!
    The setup-tool that Samsung had offered doesn't work on my Debian GNU/Linux Sarge.
    But I have found a Way to setup the printer without it. It's even better to do
    it this way:

    get the driver package from the samsung website.
    unpack it:

    tar zxvf 20050425144636875_lpp-1.1.7-27-i386.tar.gz

    Make a directory somwhere in the system:

    mkdir /usr/local/samsung

    Copy the ppd directory:

    cp -R image/ppd /usr/local/samsung

    The directory image/bin/Linux/x86/filters contains the various
    proprietary "printer drivers"

    For the CLP-500 you need only ppmtosplc and pscms
    You have to copy them to /usr/local/samsung/filters
    and symlink them into /usr/lib/cups/filter
    this quirks seems to be needed by the drivers:

    mkdir /usr/local/samsung/filters
    cd image/bin/Linux/x86/filters
    cp ppmtosplc pscms /usr/local/samsung/filters
    cd /usr/local/samsung/filters
    ln -s ppmtosplc pscms /usr/lib/cups/filter

    Now you have to set up a config file /etc/linuxprint.cfg needed by ppmtosplc:
    write in /etc/linuxprint.cfg this:

    ------------------------------------------------------------
    <?xml version="1.0"?>
    <linux root="/usr/local/samsung" system="cups">
    <option name="ghostscript" value="/usr/bin/gs"/>
    <printer ppd="ppd/C/CLP-500splc.ppd" queue="colorlaser">
    <option name="Resolution" value="600"/>
    <option name="Duplex" value="None"/>
    <option name="PageSize" value="A4"/>
    <option name="InputSlot" value="AUTO"/>
    <option name="MediaType" value="Normal"/>
    <option name="JCLJamrecovery" value="RWJOff"/>
    </printer>
    </linux>
    ------------------------------------------------------------

    eventually you have to adjust the value A4 into Letter

    Now you can set up the printer in CUPS
    with your preferred config tool like KDEPrint or foomatic-gui
    choose the correct ppd file "CLP-500splc" for the printer and
    name the queue "colorlaser".