readmeMac.txt

J2PrinterWorksTestApplication

1) Run sample application J2PrinterWorksTestApplication.jar.

The sample application J2PrinterWorksTestApplication.jar may be run by 
double-clicking the jar file in the Mac Finder or by shell commands. 
The shell script runMac.command may be used to run J2PrinterWorksTestApplication 
on Mac OS X. Double-clicking runMac.command will launch 
J2PrinterWorksTestApplication.jar. If runMac.command fails due to an "access 
privileges" error, make the runMac.command file executable with this command in 
the Mac Terminal:
chmod +x runMac.command
Now double-clicking runMac.command in the Mac Finder will launch 
J2PrinterWorksTestApplication.jar.

2) Build sample application J2PrinterWorksTestApplication.jar.

The sample application J2PrinterWorksTestApplication.jar may be built with 
Apple's Xcode development environment or with the commands below in the Mac 
Terminal. Replace the template <> path with your path.
--------------------
cd <path to J2PrinterWorks folder>/samplePrograms/J2PrinterWorksTestApplication
javac -classpath .:../../J2PrinterWorks.jar *.java
jar cfm J2PrinterWorksTestApplication.jar manifest.txt *.class
rm *.class
--------------------
