Re: Print MS Excel workbook / worksheet to PDF
Re: Print MS Excel workbook / worksheet to PDF
- Subject: Re: Print MS Excel workbook / worksheet to PDF
- From: Roger Howard <email@hidden>
- Date: Tue, 24 May 2011 08:55:47 -0700
On May 24, 2011, at 8:35 AM, Leonid Bogdanov wrote:
> Hello!
>
> I'm trying to save a MS Excel workbook / worksheet into a single PDF file.
> MS Excel dictionary says that these objects have got "save workbook as" and "save as" commands, respectively.
>
> These commands have a file to which save a resulting PDF as an input parameter. But MS Excel creates several PDF files instead:
> single PDF file for every sheet in a workbook for a workbook and single file with a name of a sheet as postfix for a sheet.
>
> How can I save a workbook / worksheet to PDF file, exactly as I specified in command input. Any workarounds are welcomed, e.g.,
> easily merge several PDF files into one.
If you can't find a direct solution, you can merge PDF pages easily using GhostScript. Here's an example command:
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=merged.pdf pdf1.pdf pdf2.pdf
Where merged.pdf is the final PDF resulting from merging pdf1.pdf and pdf2.pdf.
Hope that helps,
R _______________________________________________
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