跳至页脚内容
打印工具

如何从手机打印 PDF 文件(初学者教程)

使用安卓手机打印 PDF 文档或网页,可以方便地获得重要文档或照片的纸质副本。 无论您是远程办公还是家中没有打印机,都可以使用手机的默认打印服务,通过几个简单的步骤轻松打印 PDF 文件。本文将指导您如何使用手机打印 PDF 文件,并介绍相关的打印选项和主题。

从安卓手机打印PDF文件

您可以使用 Google 云打印直接从 Chrome 下载 PDF 和网页,该功能允许用户从 Android 和 Chrome 连接到打印机。 您也可以使用网页打印成 PDF 文件。 如果您想使用任何应用程序打印该文件,请按照以下步骤操作。

第一步:下载PDF查看器应用程序

要从手机打印 PDF 文件,您需要在设备上安装一款 PDF 查看器应用。Android 和 iOS 平台上都有多种 PDF 查看器应用可供选择,例如 Adobe Acrobat Reader、Foxit PDF Reader 或 Google Docs。 只需前往应用商店,搜索"Google Apps for PDF Viewer",然后将其下载到您的设备上即可。

步骤二:打开PDF文件

安装好 PDF 查看器应用程序后,就可以打开想要打印的 PDF 文件了。 您可以通过打开 PDF 查看器应用程序,然后导航到文件所在位置来完成此操作。 或者,您也可以直接通过电子邮件或即时通讯应用打开 PDF 文件。

How to Print PDFs from a Phone - Figure 1: Open PDF

使用 PDF 阅读器应用程序打开 PDF 文件

步骤 3:选择打印选项

打开 PDF 文件后,您将看到文档预览。 从应用程序菜单中选择"打印"。 打印选项可能以打印机图标或"打印"字样表示。您可能需要点击三点图标并选择"打印"。

How to Print PDFs from a Phone - Figure 2: Print Option

从所选的 PDF 阅读器应用程序访问打印功能

第四步:选择您的打印机

选择"打印"选项后,系统会提示您选择打印机。 如果您通过 Wi-Fi 连接到打印机,您应该会看到网络上可用打印机的列表。 选择您要用来打印 PDF 文件的打印机。

How to Print PDFs from a Phone - Figure 3: Arrow pointing to printer selection

从可用打印机列表中选择一台打印机

步骤 5:调整打印设置

打印 PDF 文件之前,您可能需要调整一些打印设置,例如份数、页面范围或彩色/黑白打印。请务必检查这些设置,以确保打印出的 PDF 文件符合您的预期。

How to Print PDFs from a Phone - Figure 4: Print Settings

打印前,请为文档指定其他打印设置。

步骤六:开始打印

最后,点击"打印"按钮开始打印您的PDF文件。根据文件的大小和复杂程度,打印可能需要一些时间。 使用默认打印服务完成打印后,您应该会得到一份 PDF 文件的纸质副本。

从 iPhone 打印文档

从 iPhone 设备打印 PDF 文件与在 Android 设备上打印或使用 Google 云打印略有不同。 以下是如何从 iPhone 的"分享"菜单打印 PDF 文件的方法:

  1. 使用"文件"应用或 iPhone 设备上安装的任何其他 PDF 查看器应用打开要打印的 PDF 文件。
  2. 点击屏幕左下角的"分享"图标。
  3. 从可用选项列表中,选择"打印"选项。

    您的设备将开始搜索连接到您 Wi-Fi 网络的附近打印机。 屏幕上应该会显示可用打印机的列表。

  4. 选择要使用的打印机,打印设置将显示在屏幕上。
  5. 根据你的喜好设置打印选项,然后点击"打印"按钮。

按照这些步骤操作后,您的设备会将打印作业发送到打印机,文档应该会开始打印。

IronPrint C# PDF 库

IronPrint C# PDF 库是一个功能强大的工具,可用于以编程方式打印 PDF 文件。 该库易于使用,并为开发人员提供广泛的功能,包括在 WebApps、MAUI、Avalonia 等平台上使用自定义设置进行 PDF 打印。

使用 IronPrint 库的优势之一是它可以与 .NET Core 和 .NET Framework 一起使用,这使得它成为使用不同平台的开发人员的多功能选择。 该库的设计宗旨是简单易用,开发人员可以使用它来快速实现 PDF 打印过程的自动化。

IronPrint C# PDF 库的特性

IronPrint C# PDF 库具有多种功能,使其成为开发人员的强大工具。 以下是部分功能特性:

  1. PDF 打印:IronPrint 可用于从任何 .NET 应用程序打印 PDF 文件。 2.使用对话框打印:IronPrint 可以使用打印对话框进行打印。 3.自定义打印设置:IronPrint 可用于自定义打印设置。 图书馆提供多种打印选项,包括纸张尺寸、份数和打印质量。 4.获取打印机名称:IronPrint 可以获取打印机名称,方便您选择要打印的打印机。

代码示例

这里可以看到支持使用 IronPrint 打印 PDF 的代码。

using IronPrint;

// Create a new PrintSettings object to hold print configuration
PrintSettings printSettings = new PrintSettings();
// Set the DPI (dots per inch) for the print output
printSettings.Dpi = 150;
// Specify the number of copies to print
printSettings.NumberOfCopies = 2;
// Set the paper orientation to portrait mode
printSettings.PaperOrientation = PaperOrientation.Portrait;

// Use the Printer class to send the document to the printer
// The "newDoc.pdf" is the file to be printed with the specified print settings
Printer.Print("newDoc.pdf", printSettings);
using IronPrint;

// Create a new PrintSettings object to hold print configuration
PrintSettings printSettings = new PrintSettings();
// Set the DPI (dots per inch) for the print output
printSettings.Dpi = 150;
// Specify the number of copies to print
printSettings.NumberOfCopies = 2;
// Set the paper orientation to portrait mode
printSettings.PaperOrientation = PaperOrientation.Portrait;

// Use the Printer class to send the document to the printer
// The "newDoc.pdf" is the file to be printed with the specified print settings
Printer.Print("newDoc.pdf", printSettings);
Imports IronPrint

' Create a new PrintSettings object to hold print configuration
Private printSettings As New PrintSettings()
' Set the DPI (dots per inch) for the print output
printSettings.Dpi = 150
' Specify the number of copies to print
printSettings.NumberOfCopies = 2
' Set the paper orientation to portrait mode
printSettings.PaperOrientation = PaperOrientation.Portrait

' Use the Printer class to send the document to the printer
' The "newDoc.pdf" is the file to be printed with the specified print settings
Printer.Print("newDoc.pdf", printSettings)
$vbLabelText   $csharpLabel

结论

从移动设备或 Google 云端硬盘帐户打印 PDF 文件是一种随时随地打印文档的便捷方式。 无论你使用的是安卓设备还是苹果设备,操作过程都非常简单易懂。

对于希望以编程方式打印 PDF 文件的开发人员来说,IronPrint C# PDF 库是一个强大的工具,它提供了一系列可直接打印的功能。 该库设计简单易用,可与 .NET Core 和 .NET Framework 一起使用。

IronPrint C# PDF 库以商业许可形式提供,起价为$799 ,对于希望简化 PDF 打印流程的企业和个人来说,这是一个经济实惠的选择。

总而言之,无论您是从移动设备打印 PDF 文件,还是希望自动执行 PDF 打印过程,IronPrint C# PDF 库都是一个强大的工具,可以帮助您快速高效地实现目标。

Curtis Chau
技术作家

Curtis Chau 拥有卡尔顿大学的计算机科学学士学位,专注于前端开发,精通 Node.js、TypeScript、JavaScript 和 React。他热衷于打造直观且美观的用户界面,喜欢使用现代框架并创建结构良好、视觉吸引力强的手册。

除了开发之外,Curtis 对物联网 (IoT) 有浓厚的兴趣,探索将硬件和软件集成的新方法。在空闲时间,他喜欢玩游戏和构建 Discord 机器人,将他对技术的热爱与创造力相结合。