On 13/12/2009 15:28, Jan Schenkel wrote:

Looking back at your original question, I can now see you weren't looking to 
embed high-resolution images into a new PDF document, but rather how you print 
a PDF file.

On Mac, you can use an AppleScript to ask Preview or Acrobat Reader to print 
the PDF file. Preview will always be there, but you can even ask the Finder to 
print the document and it will pick the correct application for you.

On Windows, you can sue a command-line utility called 'pdfp' - which you can download 
from here:<http://www.esnips.com/doc/9e2a3a72-52ca-4711-945b-85316465f02f/pdfp>
There's also a newer version which is more compatible with Acrobat Reader 8 and 
higher, pdfp8, which you can download 
here:<http://www.esnips.com/doc/0a1928c4-a96d-4a4c-838a-eb6e0b9a986c/pdfp8>
PDFP requires that Adobe Acrobat Reader is installed on the system, but that's 
a dependency you shouldn't have to worry about.
> From the command-line, you would use something like
pdfp -p "<printername>" -c<copies>  "<filepath>"
So translating that into revTalk:
##
put thePathToPdfpExe&&  "-p"&&  quote&  thePrinterName&  quote&&  \
     "-c"&&  theNumberOfCopies&&  quote&  theFilePath&  quote \
     into theCommand
get shell(theCommand)
##
You might want to set the 'hideConsoleWindows' global property to true before 
calling the 'shell' function.

And, Linux ????

HTH,



_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to