The original Summary I sent on this worked great for users using OpenWindows, but not for CDE users. This solution works great with CDE. Ron D -----Original Message----- From: Ian Camm [mailto:ian.camm@sde.eu.sony.com] Sent: Wednesday, December 12, 2001 4:57 AM To: RDinwid@templeinland.com Subject: Re: Acrobat reader association file In the file /usr/dt/appconfig/types/C/solaris.dt where C is the locale you are using. I have the following entries - Solaris 2.7 defaults I think - which I believe are the actions. You may need to point the EXEC_STRING to your actual executable. Cheers, Ian DATA_ATTRIBUTES PDF { ACTIONS Open,Print ICON Dtmime MIME_TYPE application/pdf NAME_TEMPLATE %s.pdf } DATA_CRITERIA PDF0 { DATA_ATTRIBUTES_NAME PDF MODE f CONTENT 0 string %PDF- } DATA_CRITERIA PDF1 { DATA_ATTRIBUTES_NAME PDF MODE f NAME_PATTERN *.pdf } DATA_CRITERIA PDF2 { DATA_ATTRIBUTES_NAME PDF MODE f NAME_PATTERN *.PDF } ACTION Open { ARG_TYPE PDF TYPE MAP MAP_ACTION AcroRead } ACTION Print { ARG_TYPE PDF TYPE MAP MAP_ACTION AcroReadPrint } ACTION AcroRead { TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING acroread "%Arg_1"Filename:"%" } ACTION AcroReadPrint { TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING sh -c ' \ acroread -toPostScript -level2 < "%Arg_1"Filename:"%" | \ dtlp' } > Delivered-To: sunmanagers@sunmanagers.org > From: "Dinwiddie, Ron (TIFPC)" <RDinwid@templeinland.com> > To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org> > Subject: Acrobat reader association file > MIME-Version: 1.0 > X-BeenThere: sunmanagers@sunmanagers.org > X-Mailman-Version: 2.0.8 > List-Help: <mailto:sunmanagers-request@sunmanagers.org?subject=help> > List-Post: <mailto:sunmanagers@sunmanagers.org> > List-Subscribe: <http://www.sunmanagers.org/mailman/listinfo/sunmanagers>, <mailto:sunmanagers-request@sunmanagers.org?subject=subscribe> > List-Id: The Sun Managers Mailing List <sunmanagers.sunmanagers.org> > List-Unsubscribe: <http://www.sunmanagers.org/mailman/listinfo/sunmanagers>, <mailto:sunmanagers-request@sunmanagers.org?subject=unsubscribe> > List-Archive: <http://www.sunmanagers.org/pipermail/sunmanagers/> > Date: Tue, 11 Dec 2001 11:25:28 -0600 > > Hi all, > > I haven't set this up since '98, but I *think* this problem has to do with > creating a MIME file. I have users accessing our Solaris 2.6 server and > using the default file manager to access their files. When they > double-click on a .pdf file, it's not associated with our installed Acrobat > Reader. I would like to create a global file that associates .pdf's to > Acrobat and if I remember correctly, it has to do with a mime configuration > file. Our users $HOME/.cshrc file sources a global .cshrc file so they all > have the same basic environment. I'm searching sunsolve as well as the > acrobat web site for this info, but have come up empty so far. Can anyone > point me in the right direction? > > TIA > Ron D > _______________________________________________ > sunmanagers mailing list > sunmanagers@sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers ************************************************************************* The information contained in this message or any of its attachments may be privileged and confidential and intended for the exclusive use of the addressee. If you are not the addressee any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited *************************************************************************Received on Wed Dec 12 14:33:09 2001
This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:32:37 EDT