For complete description of the program options and commands see the manual file (UNIX `man' format) included with the package.
photopc [-h] [-v[v]] [-q] [-s speed] [-l device] [command [params]] ...Commands are normally entered at an "MS-DOS prompt". Under Windows, camera control commands can be entered using an "MS-DOS Prompt" window (sometimes referred to as a "DOS box" or "console window"), or invoked using a Windows "short-cut" icon (or a PIF).
To get help on using the program:
photopc -hThis will print a brief summary of the program's options and commands.
photopc -l devicewhere device is the name of the serial port which has the camera attached. Under Windows and/or MS-DOS, the allowable "device" names are "COM1:" and "COM2:". The default serial port is "COM1:".
photopc -s speedwhere speed is the requested baud rate: 9600, 19200, 38400, 57600 or 115200. The default speed is usually the highest. You may find that with older PCs a slower speed is needed for reliable operation.
photopc queryThis will dump the entire state of the camera including information like the number of photos taken, the amount of free memory, the current date/time set in the camera, the camera's model and serial number, the user-specified camera setting, etc.
photopc image num filenamewhere num is the number of the image to be downloaded and filename is the name of the file to recieve the JPEG image. For example "photopc image 4 photo4.jpg" will download the 4th photo into the file "photo4.jpg".
photopc image all directorywhere directory is the name of the directory to receive the JPEG files.
For example, the command "photopc image all .", will downloaded all images from the camera into the current woring directory, into files named "MMDD_CCC.jpg" where "MM" is the month the photo was taken, "DD" is the day of the month the photo was taken, and "CCC" is a sequence number.
The user can control the program's JPEG file naming algorithm using the "-f" option. Two useful options under MS-DOS are:
-f 1 (image file names are MMDD_CCC.jpg (default)) -f 2 (image file names are YYMMDDCC.jpg)where "YY" is a two-digit year, "MM" is a two-digit month, "DD" is a two-digit day of the month (all based on the the time that the photo was taken), and "CC" (or "CCC") is a sequence number. The user actually has complete control over the file naming through the use of "-f" and a format string...the description of which is beyond the scope of this document.
photopc erase numwhere num is the number of the photo to be deleted.
photopc eraseallThis will delete all photos from the camera.
photopc countThis will report the number of photos currently stored in the camera.
For example, to use serial port COM2 at 57600 baud to query the camera, then download all the images in the camera to the current directory (in "YYMMDDCC.jpg" file name format):
photopc -l com2: query -f 2 image all . -s 57600A command such as this can be invoked as part of a Windows 95 "short-cut" icon, allowing quick, automatic downloading of a camera with a single mouse double-click.
If you have trouble communicating with your camera, try lowering the serial port speed using the "-s" option. (Turning the camera on also solves many camera communication problems! :-)
This software is Copyright ©1997,1998 by Eugene G. Crosser. MS/DOS and Windows support Copyright ©1998 Bruce D. Lightner.
You may do virtually what you wish with this software, as long as the explicit reference to its original author is retained.
THIS SOFTWARE IS PROVIDED AS IS AND COME WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT WILL THE COPYRIGHT HOLDER BE LIABLE FOR ANY DAMAGES RESULTING FROM THE USE OF THIS SOFTWARE.
Trademarks referenced herein are those of their respective owners.