gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] printing on Windows/Mac


From: Jim Busser
Subject: Re: [Gnumed-devel] printing on Windows/Mac
Date: Sat, 16 Jan 2010 12:49:44 -0800

On 2010-01-16, at 1:14 AM, Karsten Hilbert wrote:

> Jim, what is the equivalent call sequence for Acrobat Reader
> on Mac ?

The call sequence for any Mac binary application is

        open -a <appName> followed by optional filename argument

        open -a <appName> <filename>

        open -a Adobe\ Reader <filename>

however, as mentioned Adobe Reader will open only PDF. More advisable on the 
Mac would be to bypass specifying the app name and doing simply:

        open <filename>

which, in the case of PDFs (and postscript) files, will open Preview, whereas 
in the case of .txt and .rtf files the Mac will open TextEdit and so on.

(where a file type is as-yet unrecognized on Mac, the command line will yield

        'No application knows how to open "fullySpecifiedFilename'

whereas when called from the GUI the user gets presented with the dialog with 
button through which to be able to define an application association.)

-- Jim





reply via email to

[Prev in Thread] Current Thread [Next in Thread]