p.map scale

Kenneth R. Brownfield brownfld at zorro.cecer.army.mil
Thu Mar 11 11:17:39 EST 1993

Cliff Behrens said:
|I still get the following warning:
|sparky% ppmtopgm /u/cliff/paint.ppm | pgmtops | lpr -Pps10 -s
|pgmtops: warning, image too large for page
|Does anyone know if there exists options in ppmtopgm or pgmtops to reduce the
|size of hardcopy so that it fits on an 8 1/2 X ll inch page?

     Pgmtops has a -s option that allows you to specify a conversion scale.
For example, to halve the size of your image, you'd use

sparky% ppmtopgm /u/cliff/paint.ppm | pgmtops -s 0.5 | lpr -Pps10 -s

I've used the scale option before (years ago) and I remember that it seemed to
work quite well.
Kenneth R. Brownfield                 |         brownfld at amber.cecer.army.mil |
Office of GRASS Integration,          | grass-lists-owner at moon.cecer.army.mil |
United States Army Corps of Engineers |   grass-ftp-admin at moon.cecer.army.mil |
Construction Engineering Research     |                   (800) USA-CERL x526 |
Laboratories, Champaign, Illinois     |                   (217) 373-7222  fax |

More information about the grass-user mailing list