Setting up photo-card access

This file documents the procedure to set up access to the photo-card readers on hpoj-supported models with this functionality, including the PhotoSmart printers, PSC 950, and OfficeJet D series. See the hpoj Supported devices page for the most up-to-date information on models with this capability.

Currently, photo-card access is performed using the mtools command-line utilities and the ptal-photod daemon provided as part of the hpoj software.

In case of difficulty

If something goes wrong with these instructions, then refer to the separate photo-card access details and troubleshooting document for more information.

Initial setup

Be sure to follow the instructions to compile and install the hpoj software and set up basic device connectivity if you haven't already. When "ptal-init setup" adds a new device, it probes the device for photo-card reader support and arranges for ptal-photod to be started automatically.

Place the following lines in /etc/mtools.conf (for all users) or ~/.mtoolsrc (for individual users):

	mtools_skip_check=1
	drive p: file=":0" remote
If you have more than one hpoj-managed device with photo-card readers, then add as many additional lines as needed, incrementing the "drive" letter and "file" number each time as follows:
	drive q: file=":1" remote
	drive r: file=":2" remote
	drive s: file=":3" remote
The drive letters are how you refer to the device with the mtools commands, and the numbers specified by the file=":0" keyword are used to match the drive letter with a specific instance of ptal-photod.

Important: Look through the rest of the file to make sure you aren't re-using a drive letter that is already defined. If you are, then use different drive letter(s), and/or comment out drive definitions that you don't need. Also, try running mtoolstest to see if it detects any configuration file problems.

Accessing photo cards

The following mtools commands are useful for manipulating files and directories on the currently inserted photo card. For more information, refer to the manual pages for each command and the general mtools manual page.

Examples:

In case of difficulty

If something goes wrong with these instructions, then refer to the separate photo-card access details and troubleshooting document for more information.

Next steps

You may now set up printing and/or scanning (depending on your model) if you haven't already, or return to the index.