如何在OS X中打印到PDF文件-阿里云开发者社区

开发者社区> 余二五> 正文

如何在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,如需转载请自行联系原作者

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
docker介绍与安装
docker介绍与安装
4 0
金融机构如何应对核心系统分布式智能化升级大潮?
1月18日,阿里云发布“核心转型路书” ,并推出“金融级云原生工场”,更是以颇为干货的内容,详细阐述了阿里云在参与支持我国金融机构实现核心分布式智能化转型中的成功实践。在详细阅读了全书之后,笔者认为金融机构的核心系统升级的时代大戏已经开启,并将在阿里云的引领下逐渐走向高潮。
4 0
elaticsearch kibana介绍与安装
elaticsearch kibana介绍与安装
7 0
Elasticsearch最佳实践建议
本文主要是总结了Elasticsearch从安装、配置到应用程序使用、运维、性能优化的最佳实践的建议,希望能对于Elasticsearch的开发和运维提供一些帮助。
7 0
prometheus介绍与安装
prometheus介绍与安装
4 0
冬季实战营第一期:从零到一上手玩转云服务器-学习报告
动手实操ECS云服务器、快速搭建LAMP环境、部署MySQL数据库、快速搭建Docker环境、从零搭建Spring Boot、使用PolarDB和ECS搭建门户博客
36 0
分布式shiro权限验证
对于非前后端分离的后台管理系统权限验证,shiro做为一个轻量级的权限验证框架,在很多以前的项目中会被使用。
4 0
Mybatis-plus在项目中的应用
Mybatis-plus在项目中的应用
5 0
+关注
20382
文章
0
问答
文章排行榜
最热
最新
相关电子书
更多
《2021云上架构与运维峰会演讲合集》
立即下载
《零基础CSS入门教程》
立即下载
《零基础HTML入门教程》
立即下载