ESUPSGC

Arborescence des pages

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

Bloc de code
themeRDark
wget -k --bind-address 127.0.0.1 -4 'https://esup-sgc.univ-villeexample.frorg/wsrest/view/%s/card-b64.html?type=black' -O card-b64.html && dbus-run-session -- chromium --headless=new --disable-gpu --disable-printdev-to-pdf=card.pdf card-b64.html && gs -o card-resize.pdf -sDEVICE=pdfwrite -dPDFFitPage -g10160x6480 card.pdf && convert -monochromeshm-usage --no-first-run --no-default-browser-check --disable-extensions --disable-background-networking --disable-crash-reporter --log-level=3 --print-to-pdf=card.pdf card-b64.html && gs -o card-resize.pdf card.-sDEVICE=pdfwrite -dPDFFitPage -g10160x6480 card.pdf && convert -monochrome card-resize.pdf card.bmp

Aussi BMP_COMMAND_COLOR_PRINTER pourra être de la forme suivante : 

Bloc de code
languagebash
themeRDark
wget -k --bind-address 127.0.0.1 -4 'https://esup-sgc.univ-rouenexample.frorg/wsrest/view/%s/card-b64.html?type=color' -O card-b64.html && dbus-run-session -- chromium --headless=new --disable-gpu --disable-dev-shm-usage --no-first-run --no-default-browser-check --disable-extensions --disable-background-networking --disable-crash-reporter --log-level=3 --print-to-pdf=card.pdf card-b64.html && convert -resize 1016x648 -gravity center -extent 1016x648 -density 600 -alpha off card.pdf card.bmp

...