Rutgers, The State University of New Jersey
OFFICE OF INFORMATION TECHNOLOGY | TECHNICAL DIRECTOR'S WEB PAGE
 

Sun's PC File Viewer  
 

Sun has recently announced a program that can view files generated by standard PC word processors, etc. For Solaris 2.6, it is available from Sun's web site: Sun Microsystem: PC File Viewer. It is a standard part of Solaris 7.

There's one significant limitation: printing is not supported. Sun says it will be supported in a future version.

The product appears to be a cut-down version of INSO's "Quick View". Supported formats for this version are:

Word Processor

Spreadsheet

Graphics

Presentation

Note that Microsoft and Wordperfect Office 2000 use the same file formats as the previous versions, so this program should be able to view their files also.

Because of the large size of the file, I've put a copy in /rutgers/ref/solaris-dist/pcv_install.bin. This is visible only from within Rutgers. This is actually a ksh script, so you can just execute it.

Things to note about the installer:

Things to note about using the program:

If you want to call the viewer automatically from mail programs such as pine, you'll need to add entries to your mailcap file. At Rutgers this is commonly /etc/mailcap, though on my system it is /usr/local/etc/mailcap. If you're not the system administrator, you can add the lines to .mailcap in your home directory. You'll want to add lines that look like this:

application/rtf; sdtpcv %s
application/msword; sdtpcv %s
application/vnd.ms-excel; sdtpcv %s
application/x-excel; sdtpcv %s
application/x-msexcel; sdtpcv %s
application/ppt; sdtpcv %s
application/vnd.ms-powerpoint; sdtpcv %s
application/wordperfect5.1; sdtpcv %s
application/vnd.lotus-1-2-3; sdtpcv %s

(This is not a complete list of all possible document types. It's just the ones I've run into. You can of course add additional ones, though you'll need to see what MIME type is used.) This assumes you have made a symlink from /opt/bin. Otherwise you'll need to use the whole path: /opt/SUNWdtpcv/bin/sdtpcv.

Other things you may want to add to your mailcap that have nothing to do with this program are

   application/postscript; ghostview %s
   text/html; netscape %s
   application/pdf;/opt/bin/acroread %

However I'd check first to see whether they are already present. Most systems will probably have ghostview set up already. Acroread is the Adobe PDF file viewer. If you don't have it, you can get it from the Adobe web site, www.adobe.com. If you have an older version of Lynx, the text/html entry may cause it to loop.

BACK TO TOP

For more information, contact hedrick@rutgers.edu.
Last updated: Monday, 21-Jun-1999 16:02:23 EDT
© 1999 Rutgers, The State University of New Jersey. All rights reserved.