AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.07.24 09:50 "[patch] tiff2ps: set pagesize in ps output", by Balatoni Denes
2003.07.24 11:56 "Re: [patch] tiff2ps: set pagesize in ps output", by Tom Kacvinsky

2003.07.24 11:56 "Re: [patch] tiff2ps: set pagesize in ps output", by Tom Kacvinsky

The only problem I have with this patch is that if the PageSize is greater than any available media on a printer, the printer usually will not print it. The best best is to set the page size policy via:

  <<
    /Policies <<
      /PageSize 3
    >>
  >> setpagedevice

There are other options for the pagesize policy, but option 3 means scale the image to the nearest (in area) media and select that media. I guess maybe the policy value could be an option.

Also, you probably should add 'if (!generateEPSF && ( level2 || level3 ) )'. There