您当前的位置:IT头条网要闻正文

应该怎样在iOS设备上创建PDF文件

放大字体  缩小字体 2018-09-17 01:29:55  阅读:822+ 来源:本站原创 作者:程媛媛

AirPrint may not be officially implemented in Mac OS X yet, but the feature remains present in the latest iOS 4.2 GM available to developers. For those who do have iOS 4.2 GM installed on their iDevices and are hoping to enable AirPrint, we've got a handy guide for you. Or you can also can use the AirPrint Hacktivator to get the job done.

That all covers printing to paper from iOS, but I've decided to take it a step further for those who want to "print" but remain paperless: Print to a PDF. And not only print to a PDF, but then immediately have that PDF accessible to the same device.

Here are some rather simple steps to get your PDF on.


1) I'm going to assume you've already upgraded your system to 10.6.5 and that you're running the latest iOS 4.2 GM on your device (or the official version, when it's eventually released).

2) If you haven't already, Hacktivate AirPrint on the system you'll use to serve printers. That is, unless Apple re-activates the feature by the time you read this. Either way, you'll need AirPrint up and running. Reboot.

3) Install CUPS-PDF on the AirPrint server system. This will allow you to create a PDF "printer" on the system. Installation is rather painless.

4) Create the CUPS-PDF printer by using System Preferences->Fax & Print. Click the '+' sign to add a new printer, and you'll see a similar dialog box as pictured to the right (minus my Canon printer). Select CUPS-PDF and name the printer whatever you want, using the Generic Postscript Printer selection. Click 'Add'.

5) With the new "printer" selected in the 'Print & Fax' screen, check the 'Share this printer on the network' box.

5) Install Dropbox if you don't already use it.

6) Using the Terminal, you're going to move aside the original directory that CUPS-PDF uses to store PDFs and have them instead appear in your Dropbox:

$ mkdir ~/Dropbox/documents/PDFs
$ sudo mv /var/spool/cups-pdf/ANonYMOUS /var/spool/cups-pdf/ANONYMOUS-orig
$ sudo ln -s ~/Dropbox/documents/PDFs /var/spool/cups-pdf/ANONYMOUS

7) On your iOS device running 4.2, you can now enter an app that supports printing and choose the new PDF printer. When you print to this device, the generated file will now appear in your Dropbox (in the folder you specified in Step 6). Open with the Dropbox app, GoodReader, or whatever else you're using that supports Dropbox integration, and voila, a PDF printout of whatever you were looking at, good to go!

为你推荐

  • 华为nova 15系列发布:前后双红枫,与鸿蒙AI深度融合

    12月22日,华为在“nova 15系列及全场景新品发布会”上正式推出全新一代nova,以突…

    数码
  • SpaceX计划2026年IPO募资超300亿美元

      据媒体周二报道,埃隆・马斯克旗下的 SpaceX 正推进IPO计划,拟募资规模将远超…

    数码
  • 抖音生活服务推出六项扶持措施,多个品类下调入驻保证金

    在烟火市集暨抖音生活服务首届创作者大会上,抖音生活服务发布六项商家扶持措施,…

    数码
  • 进博会对话高通钱堃,混合AI是未来,5G-A发挥重要作用

    最近,高通公司全球高级副总裁钱堃在第七届中国国际进口博览会期间接受媒体专访时介…

    数码
  • 从手机到汽车 高通孟樸进博会解读5G+AI推动朋友圈扩展

    11月5日至10日,第七届中国国际进口博览会在上海举办,高通公司中国区董事长孟樸在进…

    数码
  • “如果发现本网站发布的资讯影响到您的版权,可以联系本站!同时欢迎来本站投稿!