From: <doc...@us...> - 2007-08-06 17:37:58
|
Revision: 141 http://openpcl.svn.sourceforge.net/openpcl/?rev=141&view=rev Author: documentsystems Date: 2007-08-06 10:38:00 -0700 (Mon, 06 Aug 2007) Log Message: ----------- Howard Hoagland. In PosPrintSetupDialogChoices, deleted "TO DO" comment "Add code to take the defaults from the user options in the Preferences, instead of the below initializations" because finished implementing write all the print setup dialog options the user clicked on (Use Windows Print or print PCL Direct, Print as displayed, Legal first then Letter, Letter first then Legal, All on Legal, All on Letter (shrinks Legal), Print Form Names, Duplex), to the local persisted storage using the java.util.prefs.Preferences in a platform independent way. For Windows, it will write to the Registry at "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\openpcl\viewer". For Macintosh, the Preferences object in the local running JVM writes the settings in a Macintosh specific way. Modified Paths: -------------- openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialogChoices.java Modified: openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialogChoices.java =================================================================== --- openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialogChoices.java 2007-08-06 17:20:55 UTC (rev 140) +++ openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialogChoices.java 2007-08-06 17:38:00 UTC (rev 141) @@ -17,7 +17,6 @@ public static final int sPaperSizePrintAllOnLegal = 4; public static final int sPaperSizePrintAllOnLetterShrinksLegal = 5; - // TODO Add code to take the defaults from the user options in the Preferences, instead of the below initializations private PrintService mSelectedPrintService = null; private int mNumAdditionalCopies = 0; private int mPrintFormat = sPrintFormatIsWindowsPrint; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |