From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079343919343.tru64-unix-managers.marc@archive.invalid> From: Julian Rogan Date: Wed, 05 Apr 2000 09:22:48 +0000 To: tru64-unix-managers Subject: SUMMARY: tif to postscript conversion X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079343919343 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--5217492-3355-954926568=:228" --5217492-3355-954926568=:228 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-Language: en-GBR And the winner is: Jan Vendenber and Matt White fro: "You might try the tiff2ps program which comes with the libtiff package, found at http://www.libtiff.org " It's unclear to me whether it effectively handles multi-page tiff files, but it looks like it might. Excerpts from the manpage: ... -a Generate output for all IFDs (pages) in the input file. ... EXAMPLES The following generates PostScript Level II for all pages of a facsimile: tiff2ps -a2 fax.tif | lpr Note also that if you have version 2.6.1 or newer of Ghostscript then you can efficiently preview facsimile generated with the above command. To generate Encapsulated PostScript for a the image at directory 2 of an image use: tiff2ps -d 1 foo.tif (notice that directories are numbered starting at zero.) Actually it was the only one I tried and it installed very easily (./configure,make and make install ) Other people suggested: xv ImageMagick Gostscript I did not try any of them as the tiff2ps seemed the easiest. Jim Dennis: GS (ghostscript) will do this. Also, (if you are looking for a non-freeware solution) I do not know if it runs on Tru64 or not, but Compaq's CDA Converter Library for OpenVMS does this too. Here is an excerpt from the OpenVMS help files... CONVERT The CONVERT commands perform the following functions: o Converts a revisable format file to another revisable or final form file from the DCL command line. (see /DOCUMENT). o Copy records from one file to another, changing the organization and format of the input file to that of the output file (see File). o Make empty buckets in Prologue 3 indexed files available so that new records can be written in them (see /RECLAIM). Additional information available: /DOCUMENT file /RECLAIM /DOCUMENT Converts documents from one format to another for the purpose of sharing information among different applications. Specify the input file name and format and the output file name and format as shown below. The default input and output file format is DDIF (Digital Document Interchange Format). DDIF is a standard format for the storage and interchange of compound documents, which can include text, graphics, and images. Digital's CDA Converter Library, a layered product that offers conversion among other popular file formats, is separately installed and documented. If you have the CDA Converter Library Version 2.2 or later installed on your system, see HELP CDA_ Converters for more information. An /OPTIONS qualifier specifies a file containing options that are applied to the input and output file to ensure that minimal changes in format and content occur during the conversion. A /MESSAGE_FILE qualifier creates a file to which informational and error messages are logged during the conversion. NOTE The DEC CDA Base Services for OpenVMS Decwindows Motif or later must be installed in order to use the /MESSAGE_FILE qualifier and new versions of the DEC CDA Base Services converters. Format CONVERT/DOCUMENT input-filespec/FORMAT=input-format - output-filespec/FORMAT=output-format Additional information available: Parameters Qualifiers /FORMAT /OPTIONS /MESSAGE_FILE DEC_CDA_Base_Service_Converters Creating_the_Options_File Valid_Conversions CDA$_Facility_Messages /FORMAT /FORMAT=format-name Specifies the encoding format of the input or output file. The default input and output format is DDIF. Input converters bundled with the DEC CDA Base Services and the default file extensions for the file formats they support are as follows: Input Format File Extension DDIF .DDIF DTIF .DTIF TEXT .TXT Output converters bundled with the DEC CDA Base Services for OpenVMS DECwindows Motif and the default file extensions for the file formats they support are as follows: Output Format File Extension DDIF .DDIF DTIF .DTIF TEXT .TXT PS .PS ANALYSIS .CDA$ANALYSIS /OPTIONS /OPTIONS=options-filename Specifies a file that contains processing option for both input and output. An options file is a text file with a default file extension of .CDA$OPTIONS on OpenVMS systems. An options file is not required. Default processing options are applied automatically when you convert a file. You may, however, require settings other than the default. Processing options can help ensure minimal changes when your input file is converted to a different output file format. /MESSAGE_FILE /MESSAGE_FILE=filespec /NOMESSAGE_FILE (default) Turns on message logging for document conversion. Messages output by the input and output converters are directed to the file specified with filespec. If filespec is not specified, messages are output to SYS$ERROR. The default is /NOMESSAGE_FILE. Jim Belonis: really like the shareware 'xv' as a graphic file viewer and converter. It will convert .tif to .ps and runs on most Unixes. I don't know if I ever tried it on Tru64. But it worked on earlier Digital Unix. --5217492-3355-954926568=:228 Content-Type: TEXT/x-cdsi-msrtf; CHARSET=US-ASCII Content-ID: 0 Content-Language: en-GBR {\rtf1\ansi\ansicpg1252\deff0\deflang2057\deftab360{\fonttbl {\f0\fswiss\fcharset0 Arial;}} {\colortbl ;\red0\green0\blue255;} \uc1\pard\f0\fs20 And the winner is:\par \par Jan Vendenber and Matt White fro:\par \par \pard "You might try the tiff2ps program which comes with the libtiff\par package, found at\par \par \cf1\ul http://www.libtiff.org\cf0\ul0 "\par \par \par It's unclear to me whether it effectively handles multi-page tiff\par files, but it looks like it might. Excerpts from the manpage:\par ...\par -a Generate output for all IFDs (pages) in the input\par file.\par ...\par EXAMPLES\par The following generates PostScript Level II for all pages\par of a facsimile:\par tiff2ps -a2 fax.tif | lpr\par Note also that if you have version 2.6.1 or newer of\par Ghostscript then you can efficiently preview facsimile\par generated with the above command.\par \par To generate Encapsulated PostScript for a the image at\par directory 2 of an image use:\par tiff2ps -d 1 foo.tif\par (notice that directories are numbered starting at zero.)\par \par \par \par \par Actually it was the only one I tried and it installed very easily (./configure,make and make install )\par \par Other people suggested:\par \par xv\par \pard\par ImageMagick \par \par Gostscript\par \par I did not try any of them as the tiff2ps seemed the easiest.\par \par \par Jim Dennis:\par \par \pard GS (ghostscript) will do this.\par \par Also, (if you are looking for a non-freeware solution) I do not know if it\par runs on Tru64 or not, but Compaq's CDA Converter Library for OpenVMS does\par this too. Here is an excerpt from the OpenVMS help files...\par \par CONVERT\par \par The CONVERT commands perform the following functions:\par \par o Converts a revisable format file to another revisable or final\par form file from the DCL command line. (see /DOCUMENT).\par \par o Copy records from one file to another, changing the organization\par and format of the input file to that of the output file (see\par File).\par \par o Make empty buckets in Prologue 3 indexed files available so that\par new records can be written in them (see /RECLAIM).\par \par \par Additional information available:\par \par /DOCUMENT file /RECLAIM\par /DOCUMENT\par \par Converts documents from one format to another for the purpose\par of sharing information among different applications. Specify the\par input file name and format and the output file name and format as\par shown below.\par \par The default input and output file format is DDIF (Digital\par Document Interchange Format). DDIF is a standard format for the\par storage and interchange of compound documents, which can include\par text, graphics, and images.\par \par Digital's CDA Converter Library, a layered product that offers\par conversion among other popular file formats, is separately\par installed and documented. If you have the CDA Converter Library\par Version 2.2 or later installed on your system, see HELP CDA_\par Converters for more information.\par \par An /OPTIONS qualifier specifies a file containing options that\par are applied to the input and output file to ensure that minimal\par changes in format and content occur during the conversion.\par \par A /MESSAGE_FILE qualifier creates a file to which informational\par and error messages are logged during the conversion.\par \par NOTE\par \par The DEC CDA Base Services for OpenVMS Decwindows Motif or\par later must be installed in order to use the /MESSAGE_FILE\par qualifier and new versions of the DEC CDA Base Services\par converters.\par \par Format\par \par CONVERT/DOCUMENT input-filespec/FORMAT=input-format -\par output-filespec/FORMAT=output-format\par \par \par \par \par Additional information available:\par \par Parameters Qualifiers\par /FORMAT /OPTIONS /MESSAGE_FILE\par DEC_CDA_Base_Service_Converters Creating_the_Options_File\par Valid_Conversions CDA$_Facility_Messages\par \par /FORMAT\par /FORMAT=format-name\par \par Specifies the encoding format of the input or output file. The\par default input and output format is DDIF.\par \par Input converters bundled with the DEC CDA Base Services and the\par default file extensions for the file formats they support are as\par follows:\par \par Input Format File Extension\par \par DDIF .DDIF\par DTIF .DTIF\par TEXT .TXT\par \par Output converters bundled with the DEC CDA Base Services for\par OpenVMS DECwindows Motif and the default file extensions for the\par file formats they support are as follows:\par \par Output\par Format File Extension\par \par DDIF .DDIF\par DTIF .DTIF\par TEXT .TXT\par PS .PS\par ANALYSIS .CDA$ANALYSIS\par \par \par /OPTIONS\par /OPTIONS=options-filename\par \par Specifies a file that contains processing option for both input\par and output. An options file is a text file with a default file\par extension of .CDA$OPTIONS on OpenVMS systems.\par \par An options file is not required. Default processing options are\par applied automatically when you convert a file. You may, however,\par require settings other than the default. Processing options can\par help ensure minimal changes when your input file is converted to\par a different output file format.\par \par \par /MESSAGE_FILE\par /MESSAGE_FILE=filespec\par /NOMESSAGE_FILE (default)\par \par \par Turns on message logging for document conversion. Messages output\par by the input and output converters are directed to the file\par specified with filespec. If filespec is not specified, messages\par are output to SYS$ERROR. The default is /NOMESSAGE_FILE.\par \par \pard Jim Belonis:\par \par \pard really like the shareware 'xv' as a graphic file viewer and converter.\par It will convert .tif to .ps and runs on most Unixes. I don't know if I ever\par tried it on Tru64. But it worked on earlier Digital Unix.\par \pard\par \par } --5217492-3355-954926568=:228--