• [^] # Re: stat

    Posté par . En réponse au journal Visualisation automatique d'un fichier PDF créé avec l'imprimante virtuelle cups-pdf. Évalué à 1.


    ### Key: PostProcessing (config, lptoptions)
    ## postprocessing script that will be called after the creation of the PDF
    ## as arguments the filename of the PDF, the username as determined by
    ## CUPS-PDF and the one as given to CUPS-PDF will be passed
    ## the script will be called with user privileges
    ## set this to an empty value to use no postprocessing

    du coup un simple "id" permet de récupérer l'utilisateur

    USER=$(id -un)