File: lprcolor

package info (click to toggle)
pnm2ppa 1.13-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,732 kB
  • sloc: ansic: 7,506; sh: 4,222; makefile: 125; python: 8
file content (4 lines) | stat: -rwxr-xr-x 136 bytes parent folder | download | duplicates (7)
1
2
3
4
#!/bin/sh
cat $1 | \
gs -sDEVICE=ppmraw -q -sPAPERSIZE=a4 -dNOPAUSE -r600 -sOutputFile=- - | \
pnm2ppa   $2 $3 $4 $5 -i - -o /dev/lp0