Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Enable hidden PDF workflow menu in 10.2.4 Print dialogs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Enable hidden PDF workflow menu in 10.2.4 Print dialogs
Authored by: bluehz on Feb 19, '03 01:17:07PM
Does anyone here have any experience with the SWFTools and spefically pdf2swf? This converts a PDF to a Flash file. Can come in quite handy. I was attempting to create a PDF service like this:
#!/bin/sh
#
# usage: pdf2swf title options inputfile
#
# INPUT PARAMETERS
# $1 the title of the PDF document
# $2 a string that specifies the CUPS options for the job
# #3 the path to the spooled PDF file
# see http://developer.apple.com/techpubs/macosx/CoreTechnologies/graphics/Printing/PDF_Workflow/pdfw$
# for more info

/usr/local/bin/pdf2swf "$3" -o "~/Desktop/$1.swf"
open -a "Macromedia Flash Player 6" "~/Desktop/$1.swf"
rm "$3"
but the pdf2swf is failing looking for fonts it wants. If you haven't seen SWFTools - its defintely worth a look. Sveral nice tools including pdf2swf, jpeg2swf, png2swf, wav2pdf, swfcombine, and others. It compiles fine on OS X - although you will probably have to use Fink to install the needed libraries - see the website: http://www.quiss.org/swftools

[ Reply to This | # ]