如何在OS X中打印到PDF文件

简介:

如何在OS X中打印文件到PDF文件?

其实不需要安装任何其他软件,OS X本身支持打印到PDF文件这个功能。

具体操作详见下面文章:


PDF icon

Want to save a document or web page as a PDF file, but you don’t own Adobe Acrobat? No problem, you can print documents, webpages, or nearly anything as a PDF, this means it creates a PDF file directly in Mac OS X using a built-in feature, without the need for any additional software or apps. In fact, this trick works with almost any Mac app, and basically if you can print a document or file through the normal “Print” functions, then that means you can also turn that into a PDF document through this method.

Printing to a PDF File on a Mac

What you’re essentially doing is exporting the file as a PDF through the Macs print service. That may sound complicated but it’s actually quite simple. Here is exactly how to print PDF’s if you haven’t done so before in OS X:

  1. Open the document, web page, or file you want to print to a PDF

  2. Click the File menu and select “Print”, or just hit Command+P

  3. Look for the “PDF” button in the lower left corner, click on that pull-down menu, and select “Save as PDF”

  4. Click “Save” in the save dialogue box, and save the file to whatever location you want (Documents is default)

Locate the resulting document in the Finder or with another app, it’ll appear as a unique PDF file, and no, it will not overwrite or alter the origin file it was created from.

Here is an example of what the submenu looks like in most Mac apps, note there are other PDF saving options too but what we’re looking to do is “Save as PDF” which effectively prints the document precisely as it appears into a PDF document:

Print as PDF in Mac OS X

Going to save gives you a few options, specify a location other than Documents if desired, and you can fill out author information, the title of the PDF document, subject, keywords for searching within the document, and even specify a password and editing options by choosing “Security Options” if you want to protect the file from others having unauthorized access to it:

Print a file as PDF, specify PDF document options if necessary

That’s all there is to it, you will now have a PDF file created instantly by the print function. You can then view it later, use your favorite PDF editor for Mac (or Windows/Linux) to edit the PDF, distribute it online with something like Amazon, ScribD, Google Docs, or whatever else you need it for.

Note that some apps like Google Chrome have a separate Print window, and you’ll find “Save as PDF” as a checkbox option in Chrome alongside “Destination” options. All else is the same though, and you’ll still wind up with the open document or web page being saved as a PDF file through the virtual printer engine of OS X. Additionally, some applications have native “Export to PDF” functions built directly into them, though using those functions does not pass the origin document through the printer engine of OS X and thus can have slightly different results.

This ability has been in Mac OS X for a very long time, but it looks slightly different in older versions of OS X and some things have slightly different language and options. Nonetheless, the general idea is the same and you shouldn’t have a problem working it out, whatever version of OS X you’re using.

Though this is not yet a native feature in iOS, you can set up a bookmarklet to achieve the same function with webpages if you’re interested in doing the same thing on an iPad or iPhone.










本文转自 h2appy  51CTO博客,原文链接:http://blog.51cto.com/h2appy/1611356,如需转载请自行联系原作者
目录
相关文章
|
1天前
|
人工智能 编解码 文字识别
OCRmyPDF:16.5K Star!快速将 PDF 文件转换为可搜索、可复制的文档的命令行工具
OCRmyPDF 是一款开源命令行工具,专为将扫描的 PDF 文件转换为可搜索、可复制的文档。支持多语言、图像优化和多核处理。
61 17
OCRmyPDF:16.5K Star!快速将 PDF 文件转换为可搜索、可复制的文档的命令行工具
|
17天前
|
机器学习/深度学习 人工智能 文字识别
Zerox:AI驱动的万能OCR工具,精准识别复杂布局并输出Markdown格式,支持PDF、DOCX、图片等多种文件格式
Zerox 是一款开源的本地化高精度OCR工具,基于GPT-4o-mini模型,支持PDF、DOCX、图片等多种格式文件,能够零样本识别复杂布局文档,输出Markdown格式结果。
79 4
Zerox:AI驱动的万能OCR工具,精准识别复杂布局并输出Markdown格式,支持PDF、DOCX、图片等多种文件格式
|
2月前
|
人工智能 文字识别 数据挖掘
MarkItDown:微软开源的多格式转Markdown工具,支持将PDF、Word、图像和音频等文件转换为Markdown格式
MarkItDown 是微软开源的多功能文档转换工具,支持将 PDF、PPT、Word、Excel、图像、音频等多种格式的文件转换为 Markdown 格式,具备 OCR 文字识别、语音转文字和元数据提取等功能。
270 9
MarkItDown:微软开源的多格式转Markdown工具,支持将PDF、Word、图像和音频等文件转换为Markdown格式
|
2月前
|
JavaScript
jquery图片和pdf文件预览插件
EZView.js是一款jquery图片和pdf文件预览插件。EZView.js可以为图片和pdf格式文件生成在线预览效果。支持的文件格式有pdf、jpg、 png、jpeg、gif。
64 16
|
3月前
|
Python
文件元数据获取方法对比:`os.path` 与 `os.stat`
本文对比了Python中两种获取文件元数据的方法:`os.path`和`os.stat`。通过示例代码展示了如何获取文件大小和修改时间,并从性能、功能性和代码可读性三方面进行了详细对比。最终给出了根据具体需求选择合适方法的最佳实践建议。
43 2
|
4月前
|
Java Apache Maven
将word文档转换成pdf文件方法
在Java中,将Word文档转换为PDF文件可采用多种方法:1) 使用Apache POI和iText库,适合处理基本转换需求;2) Aspose.Words for Java,提供更高级的功能和性能;3) 利用LibreOffice命令行工具,适用于需要开源解决方案的场景。每种方法都有其适用范围,可根据具体需求选择。
|
4月前
|
Java Apache Maven
Java将word文档转换成pdf文件的方法?
【10月更文挑战第13天】Java将word文档转换成pdf文件的方法?
1109 1
|
4月前
|
索引 Python
PDF文件页面提取操作小指南
PDF文件页面提取操作小指南
127 4
|
4月前
|
Python
Python对PDF文件页面的旋转和切割
Python对PDF文件页面的旋转和切割
69 3
|
4月前
|
计算机视觉 Python
Python操作PDF文件
Python操作PDF文件
58 1