Re: Man entry to pdf variant command
Re: Man entry to pdf variant command
- Subject: Re: Man entry to pdf variant command
- From: Laine Lee via AppleScript-Users <email@hidden>
- Date: Sun, 31 Jan 2021 00:36:54 -0600
- Thread-topic: Man entry to pdf variant command
On 1/30/21, 4:16 PM, "Axel Lüttgens via AppleScript-Users"
<email@hidden> wrote:
Le 30 janv. 2021 à 10:31, Laine Lee a écrit :
[…]
The “-fc” option works fine, but I’m unable to imagine the right construct for
the “.ps” (font size) option in my command line. The default Courier for my
command is much too large. Every way I’ve tried to add it so far messes
everything up. The line I’m working with now is:
ffmpeg -h full | groff -fC -T pdf | open -f -a /Applications/Preview.app
[…]
Hello Laine,
Probably quick and (very) dirty, but perhaps could you try something along this
one:
{ echo '.ps 8' ; ffmpeg -h full ; } | groff -fC -Tpdf | open -f
-a /Applications/Preview.app
Axel
Great! Thanks Axel!
Now why is it that
{ echo '.ps 8' ; ffmpeg -h full ; } | /usr/local/bin/groff -fC -dpaper=a4l
-P-pa4 -P-l -ms -T pdf | open -f -a /Applications/Preview.app
Works fine in Terminal, but
do shell script “{ echo '.ps 8' ; ffmpeg -h full ; } | /usr/local/bin/groff -fC
-dpaper=a4l -P-pa4 -P-l -ms -T pdf | open -f -a /Applications/Preview.app”
doesn’t work in Script Editor?
Remember, running in Mojave.
Laine
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden