• # Ca dépend du lpr !

    Posté par . En réponse au message précisions sur la commande lpr. Évalué à 2.

    Ben oui, c'est lequel ?
    Si c'est celui fourni par CUPS, l'aide en ligne disponnible ici,
    http://localhost:631/sum.html#4_4_4(...)
    avec un cupsd qui tourne indique ceci :

    Setting the Page Margins

    Normally the page margins are set to the hard limits of the printer. Use the -o page-left=value, -o page-right=value , -o page-top=value, and -o page-bottom=value options to adjust the page margins:

    lp -o page-left=value filename ENTER
    lp -o page-right=value filename ENTER
    lp -o page-top=value filename ENTER
    lp -o page-bottom=value filename ENTER
    lpr -o page-bottom=value filename ENTER

    The value argument is the margin in points; each point is 1/72 inch or 0.35mm.

    Si ce n'est pas le lpr fourni par cups, je n'en ai aucune idée. Il est probable (mais c'est loin d'être certain) que ces options sont transversales à toutes les versions de lpr, mais je n'en mettrais pas ma main à couper.
    En espérant que ça t'aidera.