Available in PaperCut NG and PaperCut MF.

iOS printing (iPad & iPhone)

NOTE

This section describes our legacy approach to iOS printing. We highly recommend reading about Mobility Print and following the set-up instructions in the Mobility Print Help Center.

PaperCut NG/MF's iPad/iPhone Printing support enables printing to all your PaperCut NG/MF managed printers across your enterprise (and iOS devices - iPad, iPhone, iPod Touch). As well as enabling printing, the PaperCut NG/MF iPad/iPhone App also provides the rich functionality desktop users are used to, such as authentication, balance display and selecting / charging to Shared accounts when printing.

The PaperCut NG/MF iPad/iPhone App is able to be deployed / installed in a pre-configured form for your network via a simple URL.

PaperCut NG/MF's iPad/iPhone Printing support works by providing two key parts:

  1. The PaperCut NG/MF Printer Advertiser - advertises the Apple CUPSCommon User Printing System (CUPS) is a printing system for Unix operating systems that allows a computer to act as a print server. A computer running CUPS is a host that can accept print jobs from client computers, process them, and send them to the appropriate printer. printers managed by PaperCut NG/MF using BonjourBonjour is Apple's implementation of zero-configuration networking (zeroconf), a group of technologies that includes service discovery, address assignment, and hostname resolution. Bonjour locates devices such as printers, other computers, and the services that those devices offer on a local network using multicast Domain Name System (mDNS) service records./mDNS (so the iPads / iPhones users can find the PaperCut NG/MF controlled queues).

  2. The PaperCut NG/MF iOS App, providing support for print authentication, balance display, account selection and other features.

At the time of writing there is no built-in option provided by Apple to print from an iOS device to server shared print queues. PaperCut NG/MF uses existing technologies built into Mac OS (Bonjour/mDNS) to advertise PaperCut NG/MF managed server shared print queues so you an track and control iPad/iPhone printing. Mobility Print, however, allows you to see the print queues across multiple subnets. For more information, see Mobility Print.

Some printers include built-in support for AirPrint® (for printing direct from iOS devices to the printer), however, the nature of print control/accounting requires that print jobs are intercepted by a central server. Additionally, most larger organizations want to leverage their existing print infrastructure, policies and print rules rather than change them. PaperCut NG/MF's solution for iPad/iPhone Printing now allows you to leverage your existing network and PaperCut NG/MF setup.

NOTE

"AirPrint" is a registered trademark of Apple Inc.

Requirements

  1. Mac OS X 10.10 or greater system to share the print queues (computer version is fine, server tools not required)

  2. Apple iOS 5 or greater devices to print from

  3. Wireless network

The PaperCut Printer Advertiser is a part of the PaperCut primary and secondary serverA PaperCut secondary server is a system that directly hosts a printer, that is, a print server with a Print Provider installed. A secondary server can be a server style system hosting many printers, a desktop style system hosting printer(s) also shared to other network users, or a desktop style system with the printer used only for local users (not shared). installation and advertises the PaperCut print queues to iOS devices.

For Windows, Linux or Novell sites (or sites with a Mac OS 10.6 or older print serverA print server is a system responsible for hosting print queues and sharing printer resources to desktops. Users submit print jobs to a print server rather then directly to the printer itself. A print server can be a dedicated server but on many networks this server also performs other tasks, such as file serving they would prefer not to upgrade), you can configure a separate (secondary) Mac OS 10.8 print server to share print queues. This can be as simple as purchasing a Mac Mini system and making it accessible from the wireless network.

Sharing printers to iOS devices

  1. Set up a Mac OS 10.8+ system to act as your iPad / iPhone print server. This can be your existing Mac print server (if it meets the system requirements), or a separate (secondary) print server (see Configure a Macintosh secondary print server for details).

  2. Install the print queues and drivers for the printers you want to share to your iOS devices. These print queues should point directly to the printer, not another print server.

  3. Test printing from a local application (e.g. Safari) to ensure that the drivers and printers are functioning correctly.

  4. Install PaperCut. If you are setting up a secondary Mac print server (i.e. the primary PaperCut server is on another system), follow the steps at Configure a Macintosh secondary print server.

    Ensure that your Mac server is connected to the same subnet as the wireless network that the iOS devices will connect to. Without further configuration, the publishing protocol Bonjour broadcasts to the local subnet only and devices on other subnets will not see your printers. If you want to overcome the single subnet limitation, see Advanced iPad/iPhone printing set, Multi subnet configuration.

  5. Run PaperCut NG/MF/providers/iosprint/mac using start-iosprint.command; This will enable the PaperCut iOS print service.

  6. Share all the printers that you want to publish to iOS devices: System Preferences > Print & Scan > [select printer] > Share this printer on the network (to do this, Printer Sharing must first be enabled in the Sharing pane).

  7. Run /Applications/PaperCut NG/MF/Control Printer Monitoring.command; then choose to disable print tracking on the print queues that will be shared (see On Mac for details). This allows you to test iOS Printing functionality without PaperCut's monitoring involved (to limit what is being tested).

  8. Print a document from your iOS device e.g. open Safari, load a web page, touch the "arrow" menu; then select Print. When selecting a printer, the queues shared from your Mac print server are displayed (if not, see Troubleshooting). The job should print correctly.

  9. Test printing across a number of printers and apps such as Mail, Safari, Photos and iBooks / PDFs. Not all printers are capable of supporting all formats. Take the time to test and ensure the printers that you are making available produce acceptable results.

  10. Re-enable PaperCut tracking using /Applications/PaperCut NG/MF/Control Printer Monitoring.command (see On Mac for details).

You now need to install the iPad / iPhone app (Mobile web client) to print. See the next section for details.

The Mobile web client (web clip)

The Mobile web client is required for printing to PaperCut managed printers. This tool authenticates each print job - effectively linking up users with their print jobs. It can also provide balance display, print job confirmation, user interactions required for Account selection, and message notifications, etc.

IMPORTANTRunning the Mobile web client is mandatory even if user interactions required for Account selectioncan be done BOTH via the Mobile web client AND at the printing device (the ability to assign accounts at the printing device is available). For more information, see Changing attributes of print jobs at the device

Deployment

Deploying the Mobile web client on an iOS device involves the user accessing the following URL:

http://[primary-server]:9191/ios/install,

where [primary-server] is the preferred hostname or IP address of your primary PaperCut server.

TIP

For easier distribution of the installation URL, try adding a link on an intranet page, sending it in an email or printing the URL on posters. It might help to add a short DNS name for your print server or even set up a simple redirect URL (for example, http://myorg/ios/install > http://print-server.myorg.edu:9191/ios/install).

After accessing the installation URL on an iPad/iPhone (iOS device), an Install Profile dialog is displayed. Follow the prompts to create a Printing Web Clip to access the Mobile web client.

For alternative and advanced deployment options, see Advanced App Deployment.

Usage

The PaperCut Mobile web client is used to:

  • Authenticate the user and their print jobs.

  • Display the user's balance.

  • Perform print job confirmation.

  • Perform Shared accounts selection.

  • Display Print scripting messages.

  • Perform other functionality such as message notification.

The following examples illustrate typical usage of the App for a student (immediate print) and a staff member (account selection).

Scenario: Student printing

  1. The student prints from their selected app.

  2. The student closes the app and opens the Printing (PaperCut) app.

  3. The student enters their username and password. On a personal device this step only needs to be performed once. Future logins are performed automatically through the use of an authentication cookie.

  4. The student's print job is authentication and proceeds to print. The student can see their job's progress in the app.

Scenario: Staff printing (account selection)

  1. The staff member prints from their selected app.

  2. The staff member closes the app and opens the Printing (PaperCut) app.

  3. The staff member enters their username and password. On a personal device this step only needs to be performed once. Future logins are performed automatically through the use of an authentication cookie.

  4. The print job is authenticated and is ready for account selection. The account selection dialog is displayed.

  5. The staff member selects their chosen shared account and touches Print. The job prints, and the staff member can see their job's progress in the app.

Troubleshooting & FAQ

Advanced iPad/iPhone printing setup

Multi subnet configuration

You can overcome the single subnet limitation by connecting your Mac server to multiple subnets. If you are using a cabled network, your Mac needs a separate Ethernet interface for each network connection. However, if you are using a wireless network, you can add multiple IP addresses, one for each subnet, to the same network interface.

To add multiple addresses to a wireless interface:

  1. Open Network Preferences ( System Preferences > Network ); then select your wireless interface.

  2. Click the gear icon underneath the interface list; then select Duplicate Service.

  3. Enter a name for your new network; then click Duplicate.

  4. Select the duplicated network connection; then click Advanced.

  5. Click the TCP/IP tab; then select Configure IPv4 Manually.

  6. Enter an IPv4 address for the subnet you want to connect to.

    Your chosen IP address must be unique. Make sure you choose an IP address outside the DHCP address allocation range so there are no address conflicts.

    Alternatively, you can configure DHCP to permanently reserve the chosen address for your Mac Server. (DHCP configuration is normally performed on your network router.)

iPad/iPhone printing technical description

PaperCut for iPad/iPhone printing works by providing four distinct parts:

  1. PaperCut enables Mac OS's built-in Bonjour/mDNS publishing to advertise/publish PaperCut managed/tracked shared print queues, so that they are displayed in the Print menu on iOS devices (on the same network).

  2. CUPS on Mac OS accepts print jobs (as PDF) and renders them into the queue's target printer language (generally PostScript).

  3. PaperCut identifies the print jobs, generally arriving as user guest, as being unauthenticated. The device IP address is used to identify the device sending the print job.

  4. The PaperCut App on the iOS device is used to authenticate the user from their device IP address, linking their print jobs with their username.

  5. The App receives directions from the PaperCut server, such as to display print job details or account selection.

Limiting printer deployment

When PaperCut is installed on a Mac OS 10.8+ print server, all PaperCut NG/MFmanaged and shared printers are published (made available) to iOS devices by default (see Sharing Printers to iOS Devices for details). If you want to share printers to OS X (desktop) systems but not to iOS devices, you can turn off broadcasting/advertising by adding "No iOS" anywhere in the printer's location field, then restarting the system e.g.:

  1. Select System Preferences > Print & Scan > [select printer] > Options & Supplies > Location

  2. In Location, enter the text "No iOS" te.g. "Lab G4.01 (No iOS)".

  3. Restart the system for this change to take effect.

Advanced app deployment

Large deployments such as universities, school districts or corporations with organization-wide iPad / iPhone deployments might want to consider more advanced app deployment techniques. Other than the standard URL based (Configuration Profile) deployment covered in Deployment, there are several other deployment options, all of which are compatible with PaperCut: