You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(19) |
Jul
(39) |
Aug
(30) |
Sep
(14) |
Oct
(4) |
Nov
(12) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
|
Feb
(1) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(2) |
2009 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <doc...@us...> - 2007-08-18 00:26:20
|
Revision: 155 http://openpcl.svn.sourceforge.net/openpcl/?rev=155&view=rev Author: documentsystems Date: 2007-08-17 17:26:22 -0700 (Fri, 17 Aug 2007) Log Message: ----------- Updated svnignore Property Changed: ---------------- openpcl/ Property changes on: openpcl ___________________________________________________________________ Name: svn:ignore + classes build rel doc This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-17 23:12:42
|
Revision: 154 http://openpcl.svn.sourceforge.net/openpcl/?rev=154&view=rev Author: documentsystems Date: 2007-08-17 16:12:44 -0700 (Fri, 17 Aug 2007) Log Message: ----------- Howard Hoagland. 1. Changed the icon names in 7 classes to use Yuko's new icon names. 2. Upgraded the version number from 0.07 date of August 6, 2007 to 0.08 date of August 17, 2007 Modified Paths: -------------- openpcl/src/com/openpcl/install/localinstaller/HelpAbout.html openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html openpcl/src/com/openpcl/viewer/OpenPCLViewer.java openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html openpcl/src/com/openpcl/viewer/jframe/PosSimpleJFrame.java openpcl/src/com/openpcl/viewer/options/PosUserOptionsDialog.java openpcl/src/com/openpcl/viewer/panels/PosWindowControlList.java openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java openpcl/src/com/openpcl/viewer/toolbar/PosToolBar.java openpcl/src/com/openpcl/viewer/tree/PosTree.java Modified: openpcl/src/com/openpcl/install/localinstaller/HelpAbout.html =================================================================== --- openpcl/src/com/openpcl/install/localinstaller/HelpAbout.html 2007-08-17 22:11:15 UTC (rev 153) +++ openpcl/src/com/openpcl/install/localinstaller/HelpAbout.html 2007-08-17 23:12:44 UTC (rev 154) @@ -2,7 +2,7 @@ <html><head><title>OpenPCL Viewer Help About</title></head> <body><font size=4 face="arial"> <b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b><br> -Version 0.07 August 6, 2007<br> +Version 0.08 August 17, 2007<br> OpenPCL is made up of OpenPCLViewer and PclRenderImage.<br> <br> <b>Features:</b> Modified: openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html =================================================================== --- openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html 2007-08-17 22:11:15 UTC (rev 153) +++ openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html 2007-08-17 23:12:44 UTC (rev 154) @@ -2,7 +2,7 @@ <html><head><title>OpenPCL Viewer License</title></head> <body><font size=4 face="arial"> <b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b> -<br>Version 0.07 August 6, 2007 +<br>Version 0.08 August 17, 2007 <br>OpenPCL is made up of OpenPCLViewer and PclRenderImage. <br> <p>The OpenPCL license is the GNU Lesser General Public License (LGPL) which you can view at Modified: openpcl/src/com/openpcl/viewer/OpenPCLViewer.java =================================================================== --- openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-08-17 22:11:15 UTC (rev 153) +++ openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-08-17 23:12:44 UTC (rev 154) @@ -153,7 +153,7 @@ // Instance variables protected String mAppName = "OpenPCL Viewer"; protected String mAppDescription = " - Free Open Source PCL Viewer for the World"; - protected String mAppVersion = "Version 0.07 August 6, 2007"; + protected String mAppVersion = "Version 0.08 August 17, 2007"; private Frame mParentFrame = null; private JApplet mJApplet = null; @@ -1542,7 +1542,7 @@ /** Allow subclases to set their own icon * Subclass plugins override this method so do not delete or rename this method. */ public Icon getJInternalFrameIcon() { - return (PosReadImageIcon.read("MultiDoc.gif")); + return (PosReadImageIcon.read("V221MultiDoc.png")); } /** Allow subclases to set their own title Modified: openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html =================================================================== --- openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html 2007-08-17 22:11:15 UTC (rev 153) +++ openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html 2007-08-17 23:12:44 UTC (rev 154) @@ -2,7 +2,7 @@ <html><head><title>OpenPCL Viewer Help About</title></head> <body><font size=4 face="arial"> <b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b><br> -Version 0.07 August 6, 2007<br> +Version 0.08 August 17, 2007<br> OpenPCL is made up of OpenPCLViewer and PclRenderImage.<br> <br> <b>Features:</b> Modified: openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html =================================================================== --- openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html 2007-08-17 22:11:15 UTC (rev 153) +++ openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html 2007-08-17 23:12:44 UTC (rev 154) @@ -2,7 +2,7 @@ <html><head><title>OpenPCL Viewer License</title></head> <body><font size=4 face="arial"> <b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b> -<br>Version 0.07 August 6, 2007 +<br>Version 0.08 August 17, 2007 <br>OpenPCL is made up of OpenPCLViewer and PclRenderImage. <br> <p>The OpenPCL license is the GNU Lesser General Public License (LGPL) which you can view at Modified: openpcl/src/com/openpcl/viewer/jframe/PosSimpleJFrame.java =================================================================== --- openpcl/src/com/openpcl/viewer/jframe/PosSimpleJFrame.java 2007-08-17 22:11:15 UTC (rev 153) +++ openpcl/src/com/openpcl/viewer/jframe/PosSimpleJFrame.java 2007-08-17 23:12:44 UTC (rev 154) @@ -167,7 +167,7 @@ * @author howard 9/20/06 */ protected void buildSimpleUI() { - setIconImage(PosReadImageIcon.read("pclIcon_32x32.png").getImage()); + setIconImage(PosReadImageIcon.read("V221PclIcon32.png").getImage()); // This is the outer JPanel that will contain the OpenPCLViewer JPanel when added at BorderLayout.CENTER // It's needed to do it this way instead of adding the OpenPCLViewer JPanel directly in the JFrame's layout @@ -340,13 +340,13 @@ JMenu tJMenu = createMenu("File", 'F'); // File, Open - tJMenuItem = createMenuItem("Open Local File", PosReadImageIcon.read("Open.gif"), 'O', + tJMenuItem = createMenuItem("Open Local File", PosReadImageIcon.read("V221Open.png"), 'O', KeyStroke.getKeyStroke("ctrl O")); tJMenuItem.addActionListener(createOpenLocalFileActionListener()); tJMenu.add(tJMenuItem); // File, Close - tJMenuItem = createMenuItem("Close File", PosReadImageIcon.read("CloseFile.gif"), 'C', + tJMenuItem = createMenuItem("Close File", PosReadImageIcon.read("V221CloseFile.png"), 'C', KeyStroke.getKeyStroke("ctrl F4")); tJMenuItem.addActionListener(createCloseFileActionListener()); tJMenu.add(tJMenuItem); Modified: openpcl/src/com/openpcl/viewer/options/PosUserOptionsDialog.java =================================================================== --- openpcl/src/com/openpcl/viewer/options/PosUserOptionsDialog.java 2007-08-17 22:11:15 UTC (rev 153) +++ openpcl/src/com/openpcl/viewer/options/PosUserOptionsDialog.java 2007-08-17 23:12:44 UTC (rev 154) @@ -73,8 +73,8 @@ private String mUpdatesGroupBoxString = "Updates"; // Buttons - private JButton mCreateShortcutJButton = new JButton(PosReadImageIcon.read("pclIcon_32x32.png")); - private JButton mRegisterFileTypeJButton = new JButton(PosReadImageIcon.read("PageNewBig.gif")); + private JButton mCreateShortcutJButton = new JButton(PosReadImageIcon.read("V221PclIcon32.png")); + private JButton mRegisterFileTypeJButton = new JButton(PosReadImageIcon.read("V221PageNewBig.png")); private JButton mPrinterSetupDefaultsJButton = new JButton("Print Setup Defaults"); private JButton mEMailAdvancedSettingsJButton = new JButton("Advanced Settings for EMail"); private JButton mScanningSetupJButton = new JButton("Scanning Setup"); @@ -407,8 +407,6 @@ private void grayOutItemsNotImplemented() { // Buttons - mCreateShortcutJButton.setEnabled(false); - mRegisterFileTypeJButton.setEnabled(false); mEMailAdvancedSettingsJButton.setEnabled(false); mScanningSetupJButton.setEnabled(false); mCheckForUpdatesJButton.setEnabled(false); Modified: openpcl/src/com/openpcl/viewer/panels/PosWindowControlList.java =================================================================== --- openpcl/src/com/openpcl/viewer/panels/PosWindowControlList.java 2007-08-17 22:11:15 UTC (rev 153) +++ openpcl/src/com/openpcl/viewer/panels/PosWindowControlList.java 2007-08-17 23:12:44 UTC (rev 154) @@ -25,11 +25,11 @@ protected ListSelectionListener mListSelectionListener = null; protected Vector<JLabel> mBaseVector = new Vector<JLabel>(3); protected Vector<JLabel> mChoicesVector = null; - protected static final String sTileHorizontalName = "WindowTileHoriz.jpg"; - protected static final String sTileVerticalName = "WindowTileVert.jpg"; - protected static final String sCascadeName = "WindowCascade.jpg"; - protected static final String sWindowSelectedName = "WindowSelected.jpg"; - protected static final String sWindowUnselectedName = "WindowUnselected.jpg"; + protected static final String sTileHorizontalName = "V221WindowTileHoriz.png"; + protected static final String sTileVerticalName = "V221WindowTileVert.png"; + protected static final String sCascadeName = "V221WindowCascade.png"; + protected static final String sWindowSelectedName = "V221WindowSelected.png"; + protected static final String sWindowUnselectedName = "V221WindowUnselected.png"; protected Icon mTileHorizontalIcon = null; protected Icon mTileVerticalIcon = null; protected Icon mCascadeIcon = null; Modified: openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java =================================================================== --- openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java 2007-08-17 22:11:15 UTC (rev 153) +++ openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java 2007-08-17 23:12:44 UTC (rev 154) @@ -131,7 +131,7 @@ private JRadioButton mDuplexNoJRadioButton = new JRadioButton("No"); // JButtons - private JButton mPrintModeMoreInfoJButton = new JButton(null, PosReadImageIcon.read("QuestionMark.gif")); + private JButton mPrintModeMoreInfoJButton = new JButton(null, PosReadImageIcon.read("V221QuestionMark.gif")); private JButton mFontSizeDinkyJButton = new JButton("D"); private JButton mFontSizeSmallJButton = new JButton("*S*"); private JButton mFontSizeMediumJButton = new JButton("M"); Modified: openpcl/src/com/openpcl/viewer/toolbar/PosToolBar.java =================================================================== --- openpcl/src/com/openpcl/viewer/toolbar/PosToolBar.java 2007-08-17 22:11:15 UTC (rev 153) +++ openpcl/src/com/openpcl/viewer/toolbar/PosToolBar.java 2007-08-17 23:12:44 UTC (rev 154) @@ -139,7 +139,7 @@ /** Open Local File toolbar button */ protected JButton createOpenLocalFileButton() { - JButton tJButton = createToolBarButton("Open.gif", "Open File (Ctrl O)"); + JButton tJButton = createToolBarButton("V221Open.png", "Open File (Ctrl O)"); tJButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionOpenLocalFileDialog();} }); @@ -148,7 +148,7 @@ /** Close File toolbar button */ protected JButton createCloseFileButton() { - JButton tJButton = createToolBarButton("CloseFile.gif", "Close File (Ctrl F4)"); + JButton tJButton = createToolBarButton("V221CloseFile.png", "Close File (Ctrl F4)"); tJButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionCloseFile();} }); @@ -157,7 +157,7 @@ /** Close All Files toolbar button */ protected JButton createCloseAllFilesButton() { - JButton tJButton = createToolBarButton("CloseAll.jpg", "Close All Files"); + JButton tJButton = createToolBarButton("V221CloseAll.png", "Close All Files"); tJButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionCloseAllFiles();} }); @@ -166,7 +166,7 @@ /** Save as PCL file toolbar button */ protected JButton createSaveOnePageToPclFileButton() { - JButton tJButton = createToolBarButton("SaveEdit.gif", "Save one page to PCL file"); + JButton tJButton = createToolBarButton("V221Save.png", "Save one page to PCL file"); tJButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionSaveOnePageToPclFile();} }); @@ -175,7 +175,7 @@ /** Print toolbar button */ protected JButton createPrintButton() { - JButton tJButton = createToolBarButton("Print.gif", "Print"); + JButton tJButton = createToolBarButton("V221Print.png", "Print"); tJButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionShowHidePrintChoicesPopup();} }); @@ -184,7 +184,7 @@ /** Previous Page toolbar button */ protected JButton createPreviousPageButton() { - JButton tJButton = createToolBarButton("ArrowLeft.gif", "Previous Page (Cursor up or Ctrl K)"); + JButton tJButton = createToolBarButton("V221ArrowLeft.png", "Previous Page (Cursor up or Ctrl K)"); tJButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionPreviousPage();} }); @@ -193,7 +193,7 @@ /** Next Page toolbar button */ protected JButton createNextPageButton() { - JButton tJButton = createToolBarButton("ArrowRight.gif", "Next Page (Cursor down or Ctrl L)"); + JButton tJButton = createToolBarButton("V221ArrowRight.png", "Next Page (Cursor down or Ctrl L)"); tJButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionNextPage();} }); @@ -202,7 +202,7 @@ /** Show/Hide Tree toolbar button */ protected JButton createShowHideTreeButton() { - JButton tJButton = createToolBarButton("TogglePane.gif", "Show/Hide Tree (Ctrl T)"); + JButton tJButton = createToolBarButton("V221ToggleTree.png", "Show/Hide Tree (Ctrl T)"); tJButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { if ((e.getModifiers() & ActionEvent.CTRL_MASK) > 1) { @@ -217,7 +217,7 @@ /** Zoom out toolbar button */ protected JButton createZoomOutButton() { - JButton tJButton = createToolBarButton("ZoomOut2.jpg", "Zoom Out 2% (Ctrl H)"); + JButton tJButton = createToolBarButton("V221ZoomOut.png", "Zoom Out 2% (Ctrl H)"); tJButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionZoomOutOneNotch();} }); @@ -226,7 +226,7 @@ /** Zoom in toolbar button */ protected JButton createZoomInButton() { - JButton tJButton = createToolBarButton("ZoomIn2.jpg", "Zoom In 2% (Ctrl Z)"); + JButton tJButton = createToolBarButton("V221ZoomIn.png", "Zoom In 2% (Ctrl Z)"); tJButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionZoomInOneNotch();} }); @@ -235,7 +235,7 @@ /** Show/Hide Zoom Slider toolbar button */ protected JToggleButton createShowHideZoomSliderButton() { - JToggleButton tJToggleButton = createToolBarToggleButton("ZoomSlider.jpg", "Show/Hide Zoom Slider",false); + JToggleButton tJToggleButton = createToolBarToggleButton("V221ZoomSlider.png", "Show/Hide Zoom Slider",false); tJToggleButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionShowHideZoomSliderPopup();} }); @@ -244,7 +244,7 @@ /** Zoom width toolbar button */ protected JButton createZoomWidthPageButton() { - JButton tJButton = createToolBarButton("FitVisible.gif", "Zoom Width (Ctrl I)"); + JButton tJButton = createToolBarButton("V221FitVisible.png", "Zoom Width (Ctrl I)"); tJButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionZoomWidth();} }); @@ -253,7 +253,7 @@ /** Change the Look toolbar button */ private JButton createChangeTheLookButton() { - JButton tJButton = createToolBarButton("ChangeTheLook.jpg", "Change the Look"); + JButton tJButton = createToolBarButton("V221ChangeLook.png", "Change the Look"); tJButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionShowHideChangeTheLookPopup();} }); @@ -263,7 +263,7 @@ /** Cascade Windows toolbar button */ protected JButton createCascadeWindowsButton() { - JButton tJButton = createToolBarButton("WindowSelect.jpg", "Tile, Cascade, Select Open Window"); + JButton tJButton = createToolBarButton("V221WindowSelect.png", "Tile, Cascade, Select Open Window"); tJButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionShowHideWindowControlPopup();} }); @@ -272,7 +272,7 @@ /** Options toolbar button */ protected JButton createOptionsButton() { - JButton tJButton = createToolBarButton("Options.png", "Options"); + JButton tJButton = createToolBarButton("V221Options.png", "Options"); tJButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionShowOptionsDialog();} }); @@ -281,7 +281,7 @@ /** Help About toolbar button */ protected JButton createHelpAboutButton() { - JButton tJButton = createToolBarButton("HelpAbout.jpg", "Help Choices (License Info and About)"); + JButton tJButton = createToolBarButton("V221HelpAbout.png", "Help Choices (License Info and About)"); tJButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionShowHideHelpChoicesPopup();} }); Modified: openpcl/src/com/openpcl/viewer/tree/PosTree.java =================================================================== --- openpcl/src/com/openpcl/viewer/tree/PosTree.java 2007-08-17 22:11:15 UTC (rev 153) +++ openpcl/src/com/openpcl/viewer/tree/PosTree.java 2007-08-17 23:12:44 UTC (rev 154) @@ -50,8 +50,8 @@ private JPopupMenu mTreeJPopupMenu = null; private boolean mShowHideExtraInfoOnTree = false; - protected static final String sPCL_ICON = "Eye.gif"; - protected static final String sPAGE_ICON = "Page.gif"; + protected static final String TREE_ROOT_ICON = "V221DocMain.png"; + protected static final String TREE_PAGE_ICON = "V221DocPage.png"; public PosTree(PosView pPosView, String pShortName) { super(); @@ -588,8 +588,8 @@ public PosTreeCellRenderer() { super(); - mPclIcon = PosReadImageIcon.read(sPCL_ICON); - mPageIcon = PosReadImageIcon.read(sPAGE_ICON); + mPclIcon = PosReadImageIcon.read(TREE_ROOT_ICON); + mPageIcon = PosReadImageIcon.read(TREE_PAGE_ICON); mtextSelectionColor = UIManager.getColor("Tree.selectionForeground"); mtextNonSelectionColor = UIManager.getColor("Tree.textForeground"); mbkSelectionColor = UIManager.getColor("Tree.selectionBackground"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-17 22:11:13
|
Revision: 153 http://openpcl.svn.sourceforge.net/openpcl/?rev=153&view=rev Author: documentsystems Date: 2007-08-17 15:11:15 -0700 (Fri, 17 Aug 2007) Log Message: ----------- Howard Hoagland. Added SVN ignore on Thumbs.db file Property Changed: ---------------- openpcl/src/com/openpcl/viewer/images/ Property changes on: openpcl/src/com/openpcl/viewer/images ___________________________________________________________________ Name: svn:ignore + Thumbs.db This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-17 22:08:52
|
Revision: 152 http://openpcl.svn.sourceforge.net/openpcl/?rev=152&view=rev Author: documentsystems Date: 2007-08-17 15:08:55 -0700 (Fri, 17 Aug 2007) Log Message: ----------- Howard Hoagland. Added SVN ignore on Thumbs.db file Property Changed: ---------------- openpcl/lib/notusedimages/ Property changes on: openpcl/lib/notusedimages ___________________________________________________________________ Name: svn:ignore + Thumbs.db This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-17 21:20:34
|
Revision: 151 http://openpcl.svn.sourceforge.net/openpcl/?rev=151&view=rev Author: documentsystems Date: 2007-08-17 14:20:36 -0700 (Fri, 17 Aug 2007) Log Message: ----------- Howard Hoagland. These are the new icons that Yuko made. Added Paths: ----------- openpcl/src/com/openpcl/viewer/images/V221ArrowLeft.png openpcl/src/com/openpcl/viewer/images/V221ArrowRight.png openpcl/src/com/openpcl/viewer/images/V221ChangeLook.png openpcl/src/com/openpcl/viewer/images/V221CloseAll.png openpcl/src/com/openpcl/viewer/images/V221CloseFile.png openpcl/src/com/openpcl/viewer/images/V221DocClose.png openpcl/src/com/openpcl/viewer/images/V221DocMain.png openpcl/src/com/openpcl/viewer/images/V221DocOpen.png openpcl/src/com/openpcl/viewer/images/V221DocPage.png openpcl/src/com/openpcl/viewer/images/V221DocUser.png openpcl/src/com/openpcl/viewer/images/V221FitVisible.png openpcl/src/com/openpcl/viewer/images/V221HelpAbout.png openpcl/src/com/openpcl/viewer/images/V221MultiDoc.png openpcl/src/com/openpcl/viewer/images/V221Open.png openpcl/src/com/openpcl/viewer/images/V221Options.png openpcl/src/com/openpcl/viewer/images/V221PageNewBig.png openpcl/src/com/openpcl/viewer/images/V221PclIcon16.png openpcl/src/com/openpcl/viewer/images/V221PclIcon32.png openpcl/src/com/openpcl/viewer/images/V221PdfAcrobat.png openpcl/src/com/openpcl/viewer/images/V221Print.png openpcl/src/com/openpcl/viewer/images/V221QuestionMark.gif openpcl/src/com/openpcl/viewer/images/V221Save.png openpcl/src/com/openpcl/viewer/images/V221SaveJpg.png openpcl/src/com/openpcl/viewer/images/V221SavePng.png openpcl/src/com/openpcl/viewer/images/V221SaveTiff.png openpcl/src/com/openpcl/viewer/images/V221ToggleTree.png openpcl/src/com/openpcl/viewer/images/V221WebDocs.png openpcl/src/com/openpcl/viewer/images/V221WebDocsBack.gif openpcl/src/com/openpcl/viewer/images/V221WebDocsButton.gif openpcl/src/com/openpcl/viewer/images/V221WindowCascade.png openpcl/src/com/openpcl/viewer/images/V221WindowSelect.png openpcl/src/com/openpcl/viewer/images/V221WindowSelected.png openpcl/src/com/openpcl/viewer/images/V221WindowTileHoriz.png openpcl/src/com/openpcl/viewer/images/V221WindowTileVert.png openpcl/src/com/openpcl/viewer/images/V221WindowUnselected.png openpcl/src/com/openpcl/viewer/images/V221ZoomIn.png openpcl/src/com/openpcl/viewer/images/V221ZoomOut.png openpcl/src/com/openpcl/viewer/images/V221ZoomSlider.png Added: openpcl/src/com/openpcl/viewer/images/V221ArrowLeft.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221ArrowLeft.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221ArrowRight.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221ArrowRight.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221ChangeLook.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221ChangeLook.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221CloseAll.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221CloseAll.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221CloseFile.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221CloseFile.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221DocClose.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221DocClose.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221DocMain.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221DocMain.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221DocOpen.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221DocOpen.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221DocPage.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221DocPage.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221DocUser.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221DocUser.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221FitVisible.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221FitVisible.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221HelpAbout.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221HelpAbout.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221MultiDoc.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221MultiDoc.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221Open.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221Open.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221Options.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221Options.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221PageNewBig.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221PageNewBig.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221PclIcon16.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221PclIcon16.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221PclIcon32.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221PclIcon32.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221PdfAcrobat.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221PdfAcrobat.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221Print.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221Print.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221QuestionMark.gif =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221QuestionMark.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221Save.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221Save.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221SaveJpg.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221SaveJpg.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221SavePng.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221SavePng.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221SaveTiff.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221SaveTiff.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221ToggleTree.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221ToggleTree.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221WebDocs.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221WebDocs.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221WebDocsBack.gif =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221WebDocsBack.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221WebDocsButton.gif =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221WebDocsButton.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221WindowCascade.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221WindowCascade.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221WindowSelect.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221WindowSelect.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221WindowSelected.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221WindowSelected.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221WindowTileHoriz.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221WindowTileHoriz.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221WindowTileVert.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221WindowTileVert.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221WindowUnselected.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221WindowUnselected.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221ZoomIn.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221ZoomIn.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221ZoomOut.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221ZoomOut.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: openpcl/src/com/openpcl/viewer/images/V221ZoomSlider.png =================================================================== (Binary files differ) Property changes on: openpcl/src/com/openpcl/viewer/images/V221ZoomSlider.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-17 21:11:55
|
Revision: 150 http://openpcl.svn.sourceforge.net/openpcl/?rev=150&view=rev Author: documentsystems Date: 2007-08-17 14:11:58 -0700 (Fri, 17 Aug 2007) Log Message: ----------- Howard Hoagland. Moved all images from this "in use" images directory to the "not used images" directory because Yuko made new imagages that we'll be using. Removed Paths: ------------- openpcl/src/com/openpcl/viewer/images/Acrobat.gif openpcl/src/com/openpcl/viewer/images/AlphabSort.png openpcl/src/com/openpcl/viewer/images/AlphabSortDisa.png openpcl/src/com/openpcl/viewer/images/ArrowLeft.gif openpcl/src/com/openpcl/viewer/images/ArrowRight.gif openpcl/src/com/openpcl/viewer/images/Attach.gif openpcl/src/com/openpcl/viewer/images/Background22x22.jpg openpcl/src/com/openpcl/viewer/images/BarMode.gif openpcl/src/com/openpcl/viewer/images/BarModeUnsel.png openpcl/src/com/openpcl/viewer/images/BlueArrowLeft.gif openpcl/src/com/openpcl/viewer/images/BlueArrowRight.gif openpcl/src/com/openpcl/viewer/images/BlueArrowsLeft.gif openpcl/src/com/openpcl/viewer/images/BlueArrowsRight.gif openpcl/src/com/openpcl/viewer/images/ChangeTheLook.jpg openpcl/src/com/openpcl/viewer/images/CheckDisa.gif openpcl/src/com/openpcl/viewer/images/CheckMark.gif openpcl/src/com/openpcl/viewer/images/CheckUnsel.gif openpcl/src/com/openpcl/viewer/images/CloseAll.jpg openpcl/src/com/openpcl/viewer/images/CloseFile.gif openpcl/src/com/openpcl/viewer/images/DocClose.gif openpcl/src/com/openpcl/viewer/images/DocOpen.gif openpcl/src/com/openpcl/viewer/images/Document.gif openpcl/src/com/openpcl/viewer/images/Envelope.gif openpcl/src/com/openpcl/viewer/images/Eye.gif openpcl/src/com/openpcl/viewer/images/Failed.gif openpcl/src/com/openpcl/viewer/images/FitVisible.gif openpcl/src/com/openpcl/viewer/images/Help.gif openpcl/src/com/openpcl/viewer/images/HelpAbout.jpg openpcl/src/com/openpcl/viewer/images/Home.gif openpcl/src/com/openpcl/viewer/images/MagnifyMinus.png openpcl/src/com/openpcl/viewer/images/MagnifyPlus.png openpcl/src/com/openpcl/viewer/images/MultiDoc.gif openpcl/src/com/openpcl/viewer/images/Open.gif openpcl/src/com/openpcl/viewer/images/OpenWebDoc.gif openpcl/src/com/openpcl/viewer/images/Options.png openpcl/src/com/openpcl/viewer/images/Page.gif openpcl/src/com/openpcl/viewer/images/PageBig.gif openpcl/src/com/openpcl/viewer/images/PageLittle.gif openpcl/src/com/openpcl/viewer/images/PageNewBig.gif openpcl/src/com/openpcl/viewer/images/Palette.gif openpcl/src/com/openpcl/viewer/images/PdfAcrobat.jpg openpcl/src/com/openpcl/viewer/images/PieMode.gif openpcl/src/com/openpcl/viewer/images/PieModeUnsel.png openpcl/src/com/openpcl/viewer/images/Print.gif openpcl/src/com/openpcl/viewer/images/QuestionMark.gif openpcl/src/com/openpcl/viewer/images/Refresh.gif openpcl/src/com/openpcl/viewer/images/SaveAsEdit.gif openpcl/src/com/openpcl/viewer/images/SaveEdit.gif openpcl/src/com/openpcl/viewer/images/SaveToJpg.png openpcl/src/com/openpcl/viewer/images/SaveToPng.png openpcl/src/com/openpcl/viewer/images/SaveToTiff.png openpcl/src/com/openpcl/viewer/images/SizeSort.png openpcl/src/com/openpcl/viewer/images/SizeSortDisa.png openpcl/src/com/openpcl/viewer/images/TableMode.gif openpcl/src/com/openpcl/viewer/images/TableModeUnsel.png openpcl/src/com/openpcl/viewer/images/TogglePane.gif openpcl/src/com/openpcl/viewer/images/TogglePaneDisa.gif openpcl/src/com/openpcl/viewer/images/Users.gif openpcl/src/com/openpcl/viewer/images/WebDocsBack.gif openpcl/src/com/openpcl/viewer/images/WebDocsButton.gif openpcl/src/com/openpcl/viewer/images/WebDocsButtonSmall.gif openpcl/src/com/openpcl/viewer/images/WebDocsSmall.jpg openpcl/src/com/openpcl/viewer/images/WindowCascade.jpg openpcl/src/com/openpcl/viewer/images/WindowSelect.jpg openpcl/src/com/openpcl/viewer/images/WindowSelected.jpg openpcl/src/com/openpcl/viewer/images/WindowTileHoriz.jpg openpcl/src/com/openpcl/viewer/images/WindowTileVert.jpg openpcl/src/com/openpcl/viewer/images/WindowUnselected.jpg openpcl/src/com/openpcl/viewer/images/ZoomIn1.jpg openpcl/src/com/openpcl/viewer/images/ZoomIn2.jpg openpcl/src/com/openpcl/viewer/images/ZoomIn3.jpg openpcl/src/com/openpcl/viewer/images/ZoomOut1.jpg openpcl/src/com/openpcl/viewer/images/ZoomOut2.jpg openpcl/src/com/openpcl/viewer/images/ZoomOut3.jpg openpcl/src/com/openpcl/viewer/images/ZoomSlider.jpg openpcl/src/com/openpcl/viewer/images/ZoomSlider35x33.jpg openpcl/src/com/openpcl/viewer/images/ZoomWidth.gif openpcl/src/com/openpcl/viewer/images/pclIcon_16x16.png openpcl/src/com/openpcl/viewer/images/pclIcon_32x32.png openpcl/src/com/openpcl/viewer/images/webdocs.gif Deleted: openpcl/src/com/openpcl/viewer/images/Acrobat.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/AlphabSort.png =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/AlphabSortDisa.png =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/ArrowLeft.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/ArrowRight.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/Attach.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/Background22x22.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/BarMode.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/BarModeUnsel.png =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/BlueArrowLeft.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/BlueArrowRight.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/BlueArrowsLeft.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/BlueArrowsRight.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/ChangeTheLook.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/CheckDisa.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/CheckMark.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/CheckUnsel.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/CloseAll.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/CloseFile.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/DocClose.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/DocOpen.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/Document.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/Envelope.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/Eye.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/Failed.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/FitVisible.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/Help.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/HelpAbout.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/Home.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/MagnifyMinus.png =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/MagnifyPlus.png =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/MultiDoc.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/Open.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/OpenWebDoc.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/Options.png =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/Page.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/PageBig.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/PageLittle.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/PageNewBig.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/Palette.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/PdfAcrobat.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/PieMode.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/PieModeUnsel.png =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/Print.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/QuestionMark.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/Refresh.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/SaveAsEdit.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/SaveEdit.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/SaveToJpg.png =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/SaveToPng.png =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/SaveToTiff.png =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/SizeSort.png =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/SizeSortDisa.png =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/TableMode.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/TableModeUnsel.png =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/TogglePane.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/TogglePaneDisa.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/Users.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/WebDocsBack.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/WebDocsButton.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/WebDocsButtonSmall.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/WebDocsSmall.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/WindowCascade.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/WindowSelect.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/WindowSelected.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/WindowTileHoriz.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/WindowTileVert.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/WindowUnselected.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/ZoomIn1.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/ZoomIn2.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/ZoomIn3.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/ZoomOut1.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/ZoomOut2.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/ZoomOut3.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/ZoomSlider.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/ZoomSlider35x33.jpg =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/ZoomWidth.gif =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/pclIcon_16x16.png =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/pclIcon_32x32.png =================================================================== (Binary files differ) Deleted: openpcl/src/com/openpcl/viewer/images/webdocs.gif =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-17 21:10:11
|
Revision: 149 http://openpcl.svn.sourceforge.net/openpcl/?rev=149&view=rev Author: documentsystems Date: 2007-08-17 14:10:12 -0700 (Fri, 17 Aug 2007) Log Message: ----------- Howard Hoagland. Moved all images from the in use images directory to this "not used images" directory because Yuko made new imagages that we'll be using. Added Paths: ----------- openpcl/lib/notusedimages/ openpcl/lib/notusedimages/Acrobat.gif openpcl/lib/notusedimages/AlphabSort.png openpcl/lib/notusedimages/AlphabSortDisa.png openpcl/lib/notusedimages/ArrowLeft.gif openpcl/lib/notusedimages/ArrowRight.gif openpcl/lib/notusedimages/Attach.gif openpcl/lib/notusedimages/Background22x22.jpg openpcl/lib/notusedimages/BarMode.gif openpcl/lib/notusedimages/BarModeUnsel.png openpcl/lib/notusedimages/BlueArrowLeft.gif openpcl/lib/notusedimages/BlueArrowRight.gif openpcl/lib/notusedimages/BlueArrowsLeft.gif openpcl/lib/notusedimages/BlueArrowsRight.gif openpcl/lib/notusedimages/ChangeTheLook.jpg openpcl/lib/notusedimages/CheckDisa.gif openpcl/lib/notusedimages/CheckMark.gif openpcl/lib/notusedimages/CheckUnsel.gif openpcl/lib/notusedimages/CloseAll.jpg openpcl/lib/notusedimages/CloseFile.gif openpcl/lib/notusedimages/DocClose.gif openpcl/lib/notusedimages/DocOpen.gif openpcl/lib/notusedimages/Document.gif openpcl/lib/notusedimages/Envelope.gif openpcl/lib/notusedimages/Eye.gif openpcl/lib/notusedimages/Failed.gif openpcl/lib/notusedimages/FitVisible.gif openpcl/lib/notusedimages/Help.gif openpcl/lib/notusedimages/HelpAbout.jpg openpcl/lib/notusedimages/Home.gif openpcl/lib/notusedimages/MagnifyMinus.png openpcl/lib/notusedimages/MagnifyPlus.png openpcl/lib/notusedimages/MultiDoc.gif openpcl/lib/notusedimages/Open.gif openpcl/lib/notusedimages/OpenWebDoc.gif openpcl/lib/notusedimages/Options.png openpcl/lib/notusedimages/Page.gif openpcl/lib/notusedimages/PageBig.gif openpcl/lib/notusedimages/PageLittle.gif openpcl/lib/notusedimages/PageNewBig.gif openpcl/lib/notusedimages/Palette.gif openpcl/lib/notusedimages/PdfAcrobat.jpg openpcl/lib/notusedimages/PieMode.gif openpcl/lib/notusedimages/PieModeUnsel.png openpcl/lib/notusedimages/Print.gif openpcl/lib/notusedimages/QuestionMark.gif openpcl/lib/notusedimages/Refresh.gif openpcl/lib/notusedimages/SaveAsEdit.gif openpcl/lib/notusedimages/SaveEdit.gif openpcl/lib/notusedimages/SaveToJpg.png openpcl/lib/notusedimages/SaveToPng.png openpcl/lib/notusedimages/SaveToTiff.png openpcl/lib/notusedimages/SizeSort.png openpcl/lib/notusedimages/SizeSortDisa.png openpcl/lib/notusedimages/TableMode.gif openpcl/lib/notusedimages/TableModeUnsel.png openpcl/lib/notusedimages/TogglePane.gif openpcl/lib/notusedimages/TogglePaneDisa.gif openpcl/lib/notusedimages/Users.gif openpcl/lib/notusedimages/WebDocsBack.gif openpcl/lib/notusedimages/WebDocsButton.gif openpcl/lib/notusedimages/WebDocsButtonSmall.gif openpcl/lib/notusedimages/WebDocsSmall.jpg openpcl/lib/notusedimages/WindowCascade.jpg openpcl/lib/notusedimages/WindowSelect.jpg openpcl/lib/notusedimages/WindowSelected.jpg openpcl/lib/notusedimages/WindowTileHoriz.jpg openpcl/lib/notusedimages/WindowTileVert.jpg openpcl/lib/notusedimages/WindowUnselected.jpg openpcl/lib/notusedimages/ZoomIn1.jpg openpcl/lib/notusedimages/ZoomIn2.jpg openpcl/lib/notusedimages/ZoomIn3.jpg openpcl/lib/notusedimages/ZoomOut1.jpg openpcl/lib/notusedimages/ZoomOut2.jpg openpcl/lib/notusedimages/ZoomOut3.jpg openpcl/lib/notusedimages/ZoomSlider.jpg openpcl/lib/notusedimages/ZoomSlider35x33.jpg openpcl/lib/notusedimages/ZoomWidth.gif openpcl/lib/notusedimages/pclIcon_16x16.png openpcl/lib/notusedimages/pclIcon_32x32.png openpcl/lib/notusedimages/webdocs.gif Copied: openpcl/lib/notusedimages/Acrobat.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/Acrobat.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/AlphabSort.png (from rev 134, openpcl/src/com/openpcl/viewer/images/AlphabSort.png) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/AlphabSortDisa.png (from rev 134, openpcl/src/com/openpcl/viewer/images/AlphabSortDisa.png) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/ArrowLeft.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/ArrowLeft.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/ArrowRight.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/ArrowRight.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/Attach.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/Attach.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/Background22x22.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/Background22x22.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/BarMode.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/BarMode.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/BarModeUnsel.png (from rev 134, openpcl/src/com/openpcl/viewer/images/BarModeUnsel.png) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/BlueArrowLeft.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/BlueArrowLeft.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/BlueArrowRight.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/BlueArrowRight.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/BlueArrowsLeft.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/BlueArrowsLeft.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/BlueArrowsRight.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/BlueArrowsRight.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/ChangeTheLook.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/ChangeTheLook.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/CheckDisa.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/CheckDisa.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/CheckMark.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/CheckMark.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/CheckUnsel.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/CheckUnsel.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/CloseAll.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/CloseAll.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/CloseFile.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/CloseFile.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/DocClose.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/DocClose.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/DocOpen.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/DocOpen.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/Document.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/Document.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/Envelope.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/Envelope.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/Eye.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/Eye.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/Failed.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/Failed.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/FitVisible.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/FitVisible.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/Help.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/Help.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/HelpAbout.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/HelpAbout.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/Home.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/Home.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/MagnifyMinus.png (from rev 134, openpcl/src/com/openpcl/viewer/images/MagnifyMinus.png) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/MagnifyPlus.png (from rev 134, openpcl/src/com/openpcl/viewer/images/MagnifyPlus.png) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/MultiDoc.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/MultiDoc.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/Open.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/Open.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/OpenWebDoc.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/OpenWebDoc.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/Options.png (from rev 134, openpcl/src/com/openpcl/viewer/images/Options.png) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/Page.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/Page.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/PageBig.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/PageBig.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/PageLittle.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/PageLittle.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/PageNewBig.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/PageNewBig.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/Palette.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/Palette.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/PdfAcrobat.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/PdfAcrobat.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/PieMode.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/PieMode.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/PieModeUnsel.png (from rev 134, openpcl/src/com/openpcl/viewer/images/PieModeUnsel.png) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/Print.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/Print.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/QuestionMark.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/QuestionMark.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/Refresh.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/Refresh.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/SaveAsEdit.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/SaveAsEdit.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/SaveEdit.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/SaveEdit.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/SaveToJpg.png (from rev 134, openpcl/src/com/openpcl/viewer/images/SaveToJpg.png) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/SaveToPng.png (from rev 134, openpcl/src/com/openpcl/viewer/images/SaveToPng.png) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/SaveToTiff.png (from rev 134, openpcl/src/com/openpcl/viewer/images/SaveToTiff.png) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/SizeSort.png (from rev 134, openpcl/src/com/openpcl/viewer/images/SizeSort.png) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/SizeSortDisa.png (from rev 134, openpcl/src/com/openpcl/viewer/images/SizeSortDisa.png) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/TableMode.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/TableMode.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/TableModeUnsel.png (from rev 134, openpcl/src/com/openpcl/viewer/images/TableModeUnsel.png) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/TogglePane.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/TogglePane.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/TogglePaneDisa.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/TogglePaneDisa.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/Users.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/Users.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/WebDocsBack.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/WebDocsBack.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/WebDocsButton.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/WebDocsButton.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/WebDocsButtonSmall.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/WebDocsButtonSmall.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/WebDocsSmall.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/WebDocsSmall.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/WindowCascade.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/WindowCascade.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/WindowSelect.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/WindowSelect.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/WindowSelected.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/WindowSelected.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/WindowTileHoriz.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/WindowTileHoriz.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/WindowTileVert.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/WindowTileVert.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/WindowUnselected.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/WindowUnselected.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/ZoomIn1.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/ZoomIn1.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/ZoomIn2.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/ZoomIn2.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/ZoomIn3.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/ZoomIn3.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/ZoomOut1.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/ZoomOut1.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/ZoomOut2.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/ZoomOut2.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/ZoomOut3.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/ZoomOut3.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/ZoomSlider.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/ZoomSlider.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/ZoomSlider35x33.jpg (from rev 134, openpcl/src/com/openpcl/viewer/images/ZoomSlider35x33.jpg) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/ZoomWidth.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/ZoomWidth.gif) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/pclIcon_16x16.png (from rev 134, openpcl/src/com/openpcl/viewer/images/pclIcon_16x16.png) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/pclIcon_32x32.png (from rev 134, openpcl/src/com/openpcl/viewer/images/pclIcon_32x32.png) =================================================================== (Binary files differ) Copied: openpcl/lib/notusedimages/webdocs.gif (from rev 134, openpcl/src/com/openpcl/viewer/images/webdocs.gif) =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-17 19:20:07
|
Revision: 148 http://openpcl.svn.sourceforge.net/openpcl/?rev=148&view=rev Author: documentsystems Date: 2007-08-17 12:19:59 -0700 (Fri, 17 Aug 2007) Log Message: ----------- Howard Hoagland. Keep the PCL drawiing coordinates at 300DPI but tell the printer driver to go into 600DPI mode, then scale the image for a print driver setting of 600 dpi because there are some new printers (HP LaserJet 9000, Samsung ML2510, newer Xerox printers) that don't do 300 DPI. Most printers now a days have 600 DPI. This fixes the problem where the page image prints at 1/2 the size width and height taking up 1/4th the printed paper when the image is supposed to take up the whole paper page. This was happening for printers that don't have 300 DPI. But now if you pick a printer that has 300dpi but not 600dpi then the page image will print too big (like the HP LaserJet III from 1991 if anybody still uses a 16 year old printer). For those printers that don't have 600dpi, a fix still needs to be done to detect the dpi that the printer driver picked at run time. I opened 11082648 help ticket with Sun and Jose.Paul to try to find a way to get the print driver selected printer dpi at run time in code, because currently, the PrinterJob class doesn't have a getter for the print driver selected dpi. Modified Paths: -------------- openpcl/src/com/openpcl/viewer/OpenPCLViewer.java Modified: openpcl/src/com/openpcl/viewer/OpenPCLViewer.java =================================================================== --- openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-08-17 19:11:04 UTC (rev 147) +++ openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-08-17 19:19:59 UTC (rev 148) @@ -678,7 +678,7 @@ mPrintRequestAttributeSet.add(MediaSize.findMedia(8.5f, 14.0f, Size2DSyntax.INCH)); mPrintRequestAttributeSet.add(Sides.ONE_SIDED); mPrintRequestAttributeSet.add(Chromaticity.MONOCHROME); - mPrintRequestAttributeSet.add(new PrinterResolution(300, 300, ResolutionSyntax.DPI)); + mPrintRequestAttributeSet.add(new PrinterResolution(600, 600, ResolutionSyntax.DPI)); mPrintRequestAttributeSet.add(new JobKOctets((int)(1.3 * 1024))); // each page is 1.3 MB mPrintRequestAttributeSet.add(new JobName(getAppName() + " print", Locale.getDefault())); mPrintRequestAttributeSet.add(new MediaPrintableArea(0.18f, 0.18f, 8.14f, 13.64f, MediaPrintableArea.INCH)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-17 19:11:08
|
Revision: 147 http://openpcl.svn.sourceforge.net/openpcl/?rev=147&view=rev Author: documentsystems Date: 2007-08-17 12:11:04 -0700 (Fri, 17 Aug 2007) Log Message: ----------- Howard Hoagland. Added code to center the page image horizontally when the user clicked on "Print all on Letter (shrinks Legal)" for the Legal pages to look centered after they've been shrunk to fit on Letter paper. Modified Paths: -------------- openpcl/src/com/openpcl/viewer/printing/PosPrintBufferedImage.java Modified: openpcl/src/com/openpcl/viewer/printing/PosPrintBufferedImage.java =================================================================== --- openpcl/src/com/openpcl/viewer/printing/PosPrintBufferedImage.java 2007-08-17 19:08:07 UTC (rev 146) +++ openpcl/src/com/openpcl/viewer/printing/PosPrintBufferedImage.java 2007-08-17 19:11:04 UTC (rev 147) @@ -29,7 +29,6 @@ private BufferedImage mBufferedImageToPrintOn = null; private Graphics2D mGraphics2DToPrintOn = null; private Frame mParentFrame = null; - private PosTreeNode mPrintThisTreeNode = null; private AffineTransform mOrigAffineTransform = null; private AffineTransform mScaleAffineTransform = null; @@ -40,7 +39,14 @@ private static final String sProgressBarBaseString = "Generating page: "; private static final String sCantAllocate = "Can't allocate memory for temporary image used for printing."; private double mPrintScale = 72.0d / 300.0d; // making width and height using 72 / 300 scale - private double mShrinkLegalToLetterScale = mPrintScale * (11.0d / 14.0d); // shrink in both directions height 14" to 11" + private double mPageWidthPixels = 8.5 * 300; + private double mShrinkLegalToLetterRatio = (11.0d / 14.0d); // shrink in both directions height 14" to 11" + private double mShrinkLegalToLetterScale = mPrintScale * mShrinkLegalToLetterRatio; + private double mShrinkLegalToLetterMargins = 0.27 * 300; + + private double mXOffsetForCenteringShrinkLegalOnLetter = + ((mPageWidthPixels - (mPageWidthPixels * mShrinkLegalToLetterRatio)) / 2) + mShrinkLegalToLetterMargins; + private boolean mShouldSetRendingHints = false; // Printing looks the same on paper if rending hints are set or not public PosPrintBufferedImage(PosView pPosView) { @@ -67,14 +73,12 @@ mPrintingProgressBar = pPrintingProgressBar; } - public int print(Graphics pGraphics, PageFormat pPageFormat, int pPageNumber) throws PrinterException { // return if there's no current pages to print if (mPagesToPrintArrayList == null || mPagesToPrintArrayList.size() < 1) { return Printable.NO_SUCH_PAGE; } // return if the passed in page number is less than 0 or greater than the number of current pages to print if (pPageNumber < 0 || pPageNumber >= mPagesToPrintArrayList.size()) { return Printable.NO_SUCH_PAGE; } // Get the tree node user object for this print page by indexing into the print ArrayList to get the passed in page number - try { mPrintThisTreeNode = mPagesToPrintArrayList.get(pPageNumber); } catch (IndexOutOfBoundsException e) { @@ -102,6 +106,7 @@ ( !(mPosView.getOpenPCLViewer().isTreeNodePageLetterSize(mPrintThisTreeNode)) )) { // The user has clicked the "Print all on Letter paper (shrinks Legal)" radio button so shrink Legal to fit on Letter g2D.transform(mShrinkLegalToLetterAffineTransform); + g2D.translate(mXOffsetForCenteringShrinkLegalOnLetter, 0.0d); } else { // Set the 72/300 = .24 AffineTransform on the current Graphics2D, to scale smaller to fit exactly on the printed page @@ -203,4 +208,71 @@ mGraphics2DToPrintOn.setPaint(Color.BLACK); } } + + // Below is debugging code that is commented out. + +// import java.awt.GraphicsConfiguration; +// import java.awt.PrintGraphics; +// import java.awt.PrintJob; +// import java.awt.Rectangle; +// import java.awt.image.ColorModel; +// import java.awt.print.PrinterJob; +// import javax.print.DocPrintJob; +// import javax.print.PrintService; +// import javax.print.attribute.Attribute; +// import javax.print.attribute.PrintJobAttributeSet; +// import javax.print.attribute.PrintServiceAttributeSet; +// import javax.print.attribute.standard.PrinterResolution; +// import sun.awt.windows.WPrinterJob; +// import sun.print.Win32PrintService; + +// private PrinterJob mPrinterJob = null; +// private DocPrintJob mDocPrintJob = null; + +// public void setPrinterJob(PrinterJob pPrinterJob) { +// mPrinterJob = pPrinterJob; +// mDocPrintJob = pPrinterJob.getPrintService().createPrintJob(); +// } + + //GraphicsConfiguration tGc = g2D.getDeviceConfiguration(); +//ColorModel tColorModel = tGc.getColorModel(); + +// Rectangle tClipBoundsRect = g2D.getClipBounds(); +// System.out.println("Printing Graphics2D clip ( cx, cy, cw ch) = (" + +// tClipBoundsRect.x + ", " + tClipBoundsRect.y + ", " + tClipBoundsRect.width + ", " + tClipBoundsRect.height + ")"); +// +// System.out.println("PageFormat is (w, h, imX, imY, imW, imH) is (" + +// pPageFormat.getWidth() + ", " + pPageFormat.getHeight() + ", " + +// pPageFormat.getImageableX() + ", " + pPageFormat.getImageableY() + ", " + +// pPageFormat.getImageableWidth() + ", " + pPageFormat.getImageableHeight() + ")" +// ); + +//PrintJob tPj = null; +//if (pGraphics instanceof PrintGraphics) { +// tPj = ((PrintGraphics) pGraphics).getPrintJob(); +//} + +//PrintJob tPrintJob = getToolkit().getPrintJob(mPosView.getOpenPCLViewer().getAppFrame(), "Print Test", null); + +// PrintService tPs = mPrinterJob.getPrintService(); +// DocPrintJob tDpj = tPs.createPrintJob(); +// PrintJobAttributeSet tPjas = tDpj.getAttributes(); +// Attribute tAtt = tPjas.get(PrinterResolution.class); +// if (tAtt instanceof PrinterResolution) { +// PrinterResolution tPrinterResolution = (PrinterResolution) tAtt; +// System.out.println("Printer resolution is set at: " + tPrinterResolution.getCrossFeedResolution(PrinterResolution.DPI) + +// ", " + tPrinterResolution.getFeedResolution(PrinterResolution.DPI) + ")" ); +// } + +// if (mPrinterJob instanceof WPrinterJob) { +// WPrinterJob tWpj = (WPrinterJob) mPrinterJob; +// tWpj.setResolutionDPI(600, 600); +// } + +// PrintService tPs = mPrinterJob.getPrintService(); +// if (tPs instanceof Win32PrintService) { +// Win32PrintService tW32Ps = (Win32PrintService) tPs; +// PrintServiceAttributeSet tPsas = tW32Ps.getAttributes(); +// System.out.println(tPsas); +// } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-17 19:08:06
|
Revision: 146 http://openpcl.svn.sourceforge.net/openpcl/?rev=146&view=rev Author: documentsystems Date: 2007-08-17 12:08:07 -0700 (Fri, 17 Aug 2007) Log Message: ----------- Howard Hoagland. Deleted the 2 lines to not throw the IndexOutOfBoundsException when the passed in page number is used to get the page objet out of the ArrayList of pages. This is in preparation for implementing print duplexing for Windows print, because for duplexing, the total pages to print will have to be pre calculated before calling PrinterJob.print() and then number of pages will include the blank page image on the back of some pages. Example: 10 pages but 14 sides where 4 of them are blank pages on the back and 3 real pages print on the back side of the paper. Modified Paths: -------------- openpcl/src/com/openpcl/viewer/printing/PosPrintPageableInterface.java Modified: openpcl/src/com/openpcl/viewer/printing/PosPrintPageableInterface.java =================================================================== --- openpcl/src/com/openpcl/viewer/printing/PosPrintPageableInterface.java 2007-08-06 22:10:34 UTC (rev 145) +++ openpcl/src/com/openpcl/viewer/printing/PosPrintPageableInterface.java 2007-08-17 19:08:07 UTC (rev 146) @@ -91,8 +91,6 @@ mPosTreeNode = mPagesToPrintArrayList.get(pForPageNumber); } catch (IndexOutOfBoundsException e) { mPosTreeNode = null; - throw new IndexOutOfBoundsException( - makeIndexOutOfBoundsInfoString(pForPageNumber, mNumberOfPages)); } if (mPosTreeNode == null) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-06 22:10:38
|
Revision: 145 http://openpcl.svn.sourceforge.net/openpcl/?rev=145&view=rev Author: documentsystems Date: 2007-08-06 15:10:34 -0700 (Mon, 06 Aug 2007) Log Message: ----------- Changed "v.0.6" to "v0.07" on the link to download file openpclviewer-setup.exe and openpclviewer-installer.jar Modified Paths: -------------- openpcl/src/com/openpcl/install/website/index.html Modified: openpcl/src/com/openpcl/install/website/index.html =================================================================== --- openpcl/src/com/openpcl/install/website/index.html 2007-08-06 20:01:07 UTC (rev 144) +++ openpcl/src/com/openpcl/install/website/index.html 2007-08-06 22:10:34 UTC (rev 145) @@ -1,7 +1,7 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> - <title>OpenPCL Open Source PCL Viewer & Toolkit</title> + <title>OpenPCL Open Source PCL Viewer</title> <style type="text/css"> body, td { font-family:Tahoma,Arial; font-size:10pt; color:#808080; } #mainDiv { margin-top:25px; margin-bottom:25px; } @@ -226,12 +226,12 @@ <div id="downloadWin32Div"> <a href="openpclviewer-setup.exe" class="downloadLink"> Download OpenPCL Viewer Now!</a><br/> - v.0.6 (Alpha) for Windows<br/> + v0.07 (Alpha) for Windows<br/> </div> <div id="downloadOtherDiv" style="display:none"> <a href="openpclviewer-installer.jar" class="downloadLink"> Download OpenPCL Viewer Now!</a><br/> - v.0.6 (Alpha) for Mac/Linux<br/> + v0.07 (Alpha) for Mac/Linux<br/> <span class="downloadReq"> Requires Java JRE 1.5<br/> </span> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-06 20:01:04
|
Revision: 144 http://openpcl.svn.sourceforge.net/openpcl/?rev=144&view=rev Author: documentsystems Date: 2007-08-06 13:01:07 -0700 (Mon, 06 Aug 2007) Log Message: ----------- Updated from "Version 0.06 March 28, 2007" to "Version 0.07 August 6, 2007" shown on the screen on the status bar and in the 2 dialogs Help About and License Info. In this version is implemented the print setup dialog options: 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. At program startup time, and at program exit time, using the new class PosPersistPrintOptionsValues, read and write all the print setup dialog options 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/install/localinstaller/HelpAbout.html openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html openpcl/src/com/openpcl/viewer/OpenPCLViewer.java openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html Modified: openpcl/src/com/openpcl/install/localinstaller/HelpAbout.html =================================================================== --- openpcl/src/com/openpcl/install/localinstaller/HelpAbout.html 2007-08-06 17:51:17 UTC (rev 143) +++ openpcl/src/com/openpcl/install/localinstaller/HelpAbout.html 2007-08-06 20:01:07 UTC (rev 144) @@ -2,7 +2,7 @@ <html><head><title>OpenPCL Viewer Help About</title></head> <body><font size=4 face="arial"> <b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b><br> -Version 0.06 March 28, 2007<br> +Version 0.07 August 6, 2007<br> OpenPCL is made up of OpenPCLViewer and PclRenderImage.<br> <br> <b>Features:</b> Modified: openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html =================================================================== --- openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html 2007-08-06 17:51:17 UTC (rev 143) +++ openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html 2007-08-06 20:01:07 UTC (rev 144) @@ -2,7 +2,7 @@ <html><head><title>OpenPCL Viewer License</title></head> <body><font size=4 face="arial"> <b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b> -<br>Version 0.06 March 28, 2007 +<br>Version 0.07 August 6, 2007 <br>OpenPCL is made up of OpenPCLViewer and PclRenderImage. <br> <p>The OpenPCL license is the GNU Lesser General Public License (LGPL) which you can view at Modified: openpcl/src/com/openpcl/viewer/OpenPCLViewer.java =================================================================== --- openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-08-06 17:51:17 UTC (rev 143) +++ openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-08-06 20:01:07 UTC (rev 144) @@ -153,7 +153,7 @@ // Instance variables protected String mAppName = "OpenPCL Viewer"; protected String mAppDescription = " - Free Open Source PCL Viewer for the World"; - protected String mAppVersion = "Version 0.06 March 28, 2007"; + protected String mAppVersion = "Version 0.07 August 6, 2007"; private Frame mParentFrame = null; private JApplet mJApplet = null; Modified: openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html =================================================================== --- openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html 2007-08-06 17:51:17 UTC (rev 143) +++ openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html 2007-08-06 20:01:07 UTC (rev 144) @@ -2,7 +2,7 @@ <html><head><title>OpenPCL Viewer Help About</title></head> <body><font size=4 face="arial"> <b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b><br> -Version 0.06 March 28, 2007<br> +Version 0.07 August 6, 2007<br> OpenPCL is made up of OpenPCLViewer and PclRenderImage.<br> <br> <b>Features:</b> Modified: openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html =================================================================== --- openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html 2007-08-06 17:51:17 UTC (rev 143) +++ openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html 2007-08-06 20:01:07 UTC (rev 144) @@ -2,7 +2,7 @@ <html><head><title>OpenPCL Viewer License</title></head> <body><font size=4 face="arial"> <b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b> -<br>Version 0.06 March 28, 2007 +<br>Version 0.07 August 6, 2007 <br>OpenPCL is made up of OpenPCLViewer and PclRenderImage. <br> <p>The OpenPCL license is the GNU Lesser General Public License (LGPL) which you can view at This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-06 17:51:15
|
Revision: 143 http://openpcl.svn.sourceforge.net/openpcl/?rev=143&view=rev Author: documentsystems Date: 2007-08-06 10:51:17 -0700 (Mon, 06 Aug 2007) Log Message: ----------- Howard Hoagland. In OpenPCLViewer, at program startup time, and at program exit time, using the new class PosPersistPrintOptionsValues, read and 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/OpenPCLViewer.java Modified: openpcl/src/com/openpcl/viewer/OpenPCLViewer.java =================================================================== --- openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-08-06 17:43:28 UTC (rev 142) +++ openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-08-06 17:51:17 UTC (rev 143) @@ -76,6 +76,7 @@ import com.openpcl.viewer.panels.PosView; import com.openpcl.viewer.panels.PosWindowControlList; import com.openpcl.viewer.panels.PosZoomSlider; +import com.openpcl.viewer.printing.PosPersistPrintOptionsValues; import com.openpcl.viewer.printing.PosPrintPages; import com.openpcl.viewer.printing.PosPrintSetupDialogChoices; import com.openpcl.viewer.statusbar.PosStatusBar; @@ -187,6 +188,7 @@ private String mFilePathAndFileName = "C:\\"; private Preferences mPackagePreferences = null; private PosPersistViewValues mPosPersistViewValues = null; + private PosPersistPrintOptionsValues mPosPersistPrintOptionsValues = null; private PosStartupOptions mPosStartupOptions = null; private PosPrintSetupDialogChoices mPosPrintSetupDialogChoices = null; private PrintRequestAttributeSet mPrintRequestAttributeSet = null; @@ -198,7 +200,6 @@ public static final int sMinIndexImages = 1; public static final int sMaxNumImages = 9; public static final double sDefaultZoomFactor = 0.3d; - private int mCurrentViewIndex = sMinIndexImages; private PosView mPosViewSelected = null; private PosView[] mPosViewArray = new PosView[sMaxNumImages + 1]; private String mPackagePathLicenseInfo = "com/openpcl/viewer/htmlfiles/LicenseInfo.html"; @@ -568,17 +569,28 @@ showStatusBar(); // Show the status bar now so the user doesn't have to wait longer while the rest of the items are built validate(); + // Build popup dialogs but don't show them at startup time. They get shown only when the user clicks later + buildPopupDialogs(); - // Read the last one closed before exited last time JInternalFrame (x,y) and (width,height) and last opened file directory - if (mCanWriteToLocalClient) { readPersistedViewValues(); } + // Get a Preferences object that is platform independent. The running JVM will store these values to the user's + // PC or Macintish in a platform specific way. For Windows, the values are written to the Windows registry at: + // "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\openpcl\viewer" + // For Macintosh, the JVM on the Macintosh will write the Preferences object's values in a Macintosh platform specific way. + mPackagePreferences = Preferences.userNodeForPackage(OpenPCLViewer.class); + + // Read the (x,y) and (width,height) and last opened file directory, of the last JInternalFrame closed before exiting last time + // from local persisted storage + readPersistedViewValues(mPackagePreferences); + // Read all the print setup dialog options from local persisted storage into the PosPrintSetupDialogChoices object + // that the print setup dialog has a reference to + readPrintOptionsValues(mPackagePreferences, mPosPrintSetupDialogChoices); + // Build the MDI Desktop Pane mPosMdiDesktopPane = buildPosMdiDesktopPane(); add(mPosMdiDesktopPane, BorderLayout.CENTER); // Need to force screen update to show the tree and image panel revalidate(); - // Build popup dialogs but don't show them at startup time. They get shown only when the user clicks later - buildPopupDialogs(); mPosManageToolBar.setNoViewsOpen(); } @@ -739,21 +751,21 @@ } /** - * Read the persisted view frame's (x,y) location and (width,height), and window state (maximized/iconified) + * Read the locally persisted view frame's (x,y) location and (width,height), and window state (maximized/iconified) * and full path and filename of last file opened * @author howard 10/9/06 */ - protected void readPersistedViewValues() { + protected void readPersistedViewValues(Preferences pPrefs) { // If the JAR files are not signed, don't try to read from the client platform if ( !mCanWriteToLocalClient ) { return; } + // Must have a reference to the Preferences object + if (pPrefs == null) { return; } - // Read the persistent view settings from the platform independent Perferences class but the JVM will store - // these values to the user's PC registry for Windows at "HKEY_CURRENT_USER\Software\JavaSoft\Prefs" - mPackagePreferences = Preferences.userNodeForPackage(OpenPCLViewer.class); + // Read the persisted view settings from the platform independent Perferences class mPosPersistViewValues = new PosPersistViewValues(); - mPosPersistViewValues.readViewValues(mPackagePreferences); + mPosPersistViewValues.readViewValues(pPrefs); - // Get the persistent app settings for window (x,y) location and (width, height) and window state + // Get the persisted app settings for window (x,y) location and (width, height) and window state // to be able to show the app's JFrame in the same locating and width and window state as last time // the app was run mViewframeX = mPosPersistViewValues.getViewframeX(); @@ -765,20 +777,84 @@ } /** - * Save the persisted view frame's (x,y) location and (width,height), and window state (maximized/iconified) + * Read the locally persisted print setup dialog options + * @param pPrefs + * @param pPosPrintSetupDialogChoices + * @author DocMagic, Document Systems Inc, Howard H 8/3/07 + */ + protected void readPrintOptionsValues(Preferences pPrefs, PosPrintSetupDialogChoices pPosPrintSetupDialogChoices) { + // If the JAR files are not signed, don't try to read from the client platform + if ( !mCanWriteToLocalClient ) { return; } + // Must have a reference to the Preferences object and PosPrintSetupDialogChoices + if ( (pPrefs == null) || (pPosPrintSetupDialogChoices == null) ) { return; } + + // Read the persisted print options settings from the platform independent Perferences class + mPosPersistPrintOptionsValues = new PosPersistPrintOptionsValues(); + mPosPersistPrintOptionsValues.readPrintOptionsValues(pPrefs); + + // Windows Print or Pcl Direct + if (mPosPersistPrintOptionsValues.getPrintOptionsUseWindowsPrint().equalsIgnoreCase("Y")) { + pPosPrintSetupDialogChoices.setPrintFormatIsWindowsPrint(); + } else if (mPosPersistPrintOptionsValues.getPrintOptionsPclDirect().equalsIgnoreCase("Y")) { + pPosPrintSetupDialogChoices.setPrintFormatIsPclDirect(); + } + + // Paper size and print order + if (mPosPersistPrintOptionsValues.getPrintOptionsAsDisplayed().equalsIgnoreCase("Y")) { + pPosPrintSetupDialogChoices.setPaperSizeAsDisplayedSelected(); + } else if (mPosPersistPrintOptionsValues.getPrintOptionsLegalThenLetter().equalsIgnoreCase("Y")) { + pPosPrintSetupDialogChoices.setPaperSizeLegalFirstThenLetter(); + } else if (mPosPersistPrintOptionsValues.getPrintOptionsLetterThenLegal().equalsIgnoreCase("Y")) { + pPosPrintSetupDialogChoices.setPaperSizeLetterFirstThenLegal(); + } else if (mPosPersistPrintOptionsValues.getPrintOptionsAllOnLegal().equalsIgnoreCase("Y")) { + pPosPrintSetupDialogChoices.setPaperSizePrintAllOnLegal(); + } else if (mPosPersistPrintOptionsValues.getPrintOptionsAllOnLetter().equalsIgnoreCase("Y")) { + pPosPrintSetupDialogChoices.setPaperSizePrintAllOnLetterShrinksLegal(); + } + + // Additional copies + int tNumAdditionalCopies = 0; + try { + tNumAdditionalCopies = Integer.parseInt(mPosPersistPrintOptionsValues.getPrintOptionsAdditionalCopies()); + } catch (NumberFormatException npe) { + } + + pPosPrintSetupDialogChoices.setNumAdditionalCopies(tNumAdditionalCopies); + + // Print Form Names + if (mPosPersistPrintOptionsValues.getPrintOptionsPrintFormNames().equalsIgnoreCase("Y")) { + pPosPrintSetupDialogChoices.setShouldPrintFormNames(true); + } else { + pPosPrintSetupDialogChoices.setShouldPrintFormNames(false); + } + + // Duplex + if (mPosPersistPrintOptionsValues.getPrintOptionsDuplex().equalsIgnoreCase("Y")) { + pPosPrintSetupDialogChoices.setShouldDuplex(true); + } else { + pPosPrintSetupDialogChoices.setShouldDuplex(false); + } + } + + /** + * Save to local persisted storage the view frame's (x,y) location and (width,height), and window state (maximized/iconified) * and full path and filename of last file opened * @author howard 10/9/06 */ - protected void savePersistedViewValues(JInternalFrame pJInternalFrame) { + protected void savePersistedViewValues( + JInternalFrame pJInternalFrame, Preferences pPrefs, PosPersistViewValues pPosPersistViewValues) { + // If the JAR files are not signed, don't try to write to the client platform if ( !mCanWriteToLocalClient ) { return; } + // Must have a reference to the Preferences object and PosPersistViewValues + if ( (pPrefs == null) || (pPosPersistViewValues == null) ) { return; } Rectangle tRect = null; if ( !(pJInternalFrame.isMaximum()) ) { // At the moment the user closes the app, the JFrame is not maximized and is not iconified/minimized, so // save the current JFrame location (x,y) and (width,height) as current window on screen now tRect = pJInternalFrame.getBounds(); - mPosPersistViewValues.saveViewValues(mPackagePreferences, tRect.x, tRect.y, + pPosPersistViewValues.saveViewValues(pPrefs, tRect.x, tRect.y, tRect.width, tRect.height, JFrame.NORMAL, mFilePathAndFileName); } else { @@ -787,7 +863,7 @@ // the user un maximizes it (aka hits the "Restore" button), it will go to the last (x,y) and (width,height) // instead of staying at the (0,0) location and maximized (width,height) size tRect = pJInternalFrame.getNormalBounds(); - mPosPersistViewValues.saveViewValues(mPackagePreferences, tRect.x, tRect.y, + pPosPersistViewValues.saveViewValues(pPrefs, tRect.x, tRect.y, tRect.width, tRect.height, JFrame.MAXIMIZED_BOTH, mFilePathAndFileName); } @@ -802,6 +878,34 @@ mViewframeState = JFrame.NORMAL; } } + + /** + * Save to local persisted storate the print setup dialog options + * @param pPrefs + * @param pPosPersistPrintOptionsValues + * @param pPosPrintSetupDialogChoices + * @author DocMagic, Document Systems Inc, Howard H 8/3/07 + */ + protected void savePersistedPrintOptionsValues(Preferences pPrefs, + PosPersistPrintOptionsValues pPosPersistPrintOptionsValues, PosPrintSetupDialogChoices pPosPrintSetupDialogChoices) { + + // If the JAR files are not signed, don't try to write to the client platform + if ( !mCanWriteToLocalClient ) { return; } + // Must have a reference to the Preferences object and PosPersistPrintOptionsValues and PosPrintSetupDialogChoices + if ( (pPrefs == null) || (pPosPersistPrintOptionsValues == null) || (pPosPrintSetupDialogChoices == null)) { return; } + + pPosPersistPrintOptionsValues.savePrintOptionsValues(pPrefs, + (pPosPrintSetupDialogChoices.isPrintFormatWindowsPrint() ? "Y" : "N"), + (pPosPrintSetupDialogChoices.isPrintFormatPclDirect() ? "Y" : "N"), + (pPosPrintSetupDialogChoices.isPaperSizeAsDisplayedOrSelected() ? "Y" : "N"), + (pPosPrintSetupDialogChoices.isPaperSizeLegalFirstThenLetter() ? "Y" : "N"), + (pPosPrintSetupDialogChoices.isPaperSizeLetterFirstThenLegal() ? "Y" : "N"), + (pPosPrintSetupDialogChoices.isPaperSizePrintAllOnLegal() ? "Y" : "N"), + (pPosPrintSetupDialogChoices.isPaperSizePrintAllOnLetterShrinksLegal() ? "Y" : "N"), + String.valueOf(pPosPrintSetupDialogChoices.getNumAdditionalCopies()), + (pPosPrintSetupDialogChoices.shouldPrintFormNames() ? "Y" : "N"), + (pPosPrintSetupDialogChoices.shouldDuplex() ? "Y" : "N") ); + } // One line getters public PosManageToolBar getPosManageToolBar() {return mPosManageToolBar;} @@ -1132,7 +1236,7 @@ if (tAllFrames.length <= 1) { // There is only one JInternalFrame showing now and when this one closes, then none will be showing // so write the JInternalFrame's (x,y) and (width, height) and last opened file to the local client platform - if (mCanWriteToLocalClient) { savePersistedViewValues(pPosView.getJInternalFrame()); } + savePersistedViewValues(pPosView.getJInternalFrame(), mPackagePreferences, mPosPersistViewValues); mPosManageToolBar.setNoViewsOpen(); } } @@ -1375,7 +1479,7 @@ mPosMdiDesktopPane.add(tJInternalFrame); // After adding the JInternalFrame in the MDI JDesktopPane, position the just added JInternalFrame - // depending on if the first view showing, then use the persistent store (x,y) and (width,height) + // depending on if the first view showing, then use the persisted store (x,y) and (width,height) if (tIsFirstJInternalFrame) { // Make the below "true" to see the problem of the last (x,y) and (width,height) was placed OK last time but now @@ -2332,7 +2436,6 @@ public void actionShowOptionsDialog() { mPosUserOptionsDialog.setLocationRelativeTo(getAppFrame()); mPosUserOptionsDialog.setVisible(true); - // TODO read the values that were set in the user options dialog and handle the different settings } /** Toggle show/hide the help choices popup */ @@ -2375,12 +2478,13 @@ /** Action "App is Exiting". This will call the CloseAllFiles operation and remove the JFrame listeners */ public void actionAppIsExiting() { - PriDebug.infoln("App is exiting"); // Remove the component listener that was put on the parent JFrame, which is used to close any showing // popup dialog mParentFrame.removeComponentListener(mFrameComponentListener); // Call the CloseAllFiles actionCloseAllFiles(); + // Save the print setup dialog options to persisted local storage so that next time the app is run, those will be read + savePersistedPrintOptionsValues(mPackagePreferences, mPosPersistPrintOptionsValues, mPosPrintSetupDialogChoices); } /** Get the app's Frame */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-06 17:43:29
|
Revision: 142 http://openpcl.svn.sourceforge.net/openpcl/?rev=142&view=rev Author: documentsystems Date: 2007-08-06 10:43:28 -0700 (Mon, 06 Aug 2007) Log Message: ----------- Howard Hoagland. In PosSimpleJFrame, in the addWindowListener on the JFrame, changed the call to mOpenPCLViewer.actionCloseAllFiles() to call actionAppIsExiting() instead, because that's where the save print setup dialog options is done, and it calls the actionCloseAllFiles(). Modified Paths: -------------- openpcl/src/com/openpcl/viewer/jframe/PosSimpleJFrame.java Modified: openpcl/src/com/openpcl/viewer/jframe/PosSimpleJFrame.java =================================================================== --- openpcl/src/com/openpcl/viewer/jframe/PosSimpleJFrame.java 2007-08-06 17:38:00 UTC (rev 141) +++ openpcl/src/com/openpcl/viewer/jframe/PosSimpleJFrame.java 2007-08-06 17:43:28 UTC (rev 142) @@ -82,8 +82,13 @@ addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent we) { + // Call the OpenPCLViewer AppIsExiting + mOpenPCLViewer.actionAppIsExiting(); + + // Save the JFrame's location (x,y) and (width,height) and window state (maximized/minimized) savePersistedOuterFrameValues(); - mOpenPCLViewer.actionCloseAllFiles(); + + // Close the JFrame and the app System.exit(0); } public void windowIconified(WindowEvent we) { @@ -393,7 +398,6 @@ //************************************************************************************* // File, Exit - // File, Close menu item protected ActionListener createExitAppActionListener() { return new ActionListener() { public void actionPerformed(ActionEvent e) {exitAppActionPerformed(e);} @@ -406,6 +410,7 @@ // Save the JFrame's location (x,y) and (width,height) and window state (maximized/minimized) savePersistedOuterFrameValues(); + // Close the JFrame and the app System.exit(0); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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. |
From: <doc...@us...> - 2007-08-06 17:20:53
|
Revision: 140 http://openpcl.svn.sourceforge.net/openpcl/?rev=140&view=rev Author: documentsystems Date: 2007-08-06 10:20:55 -0700 (Mon, 06 Aug 2007) Log Message: ----------- Howard Hoagland. New class to 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. Added Paths: ----------- openpcl/src/com/openpcl/viewer/printing/PosPersistPrintOptionsValues.java Added: openpcl/src/com/openpcl/viewer/printing/PosPersistPrintOptionsValues.java =================================================================== --- openpcl/src/com/openpcl/viewer/printing/PosPersistPrintOptionsValues.java (rev 0) +++ openpcl/src/com/openpcl/viewer/printing/PosPersistPrintOptionsValues.java 2007-08-06 17:20:55 UTC (rev 140) @@ -0,0 +1,205 @@ +package com.openpcl.viewer.printing; + +import java.util.prefs.Preferences; + +/** + * Write the Print setup dialog options the user clicked on to persistent storage. + * @author DocMagic, Document Systems Inc, Howard H 8/3/07 + */ +public class PosPersistPrintOptionsValues { + // Keys for the get/set into Preferences object + private static final String KEY_PRINTOPTIONS_USE_WINDOWS_PRINT = "printoptions.use.windows.print"; + private static final String KEY_PRINTOPTIONS_PCL_DIRECT = "printoptions.pcl.direct"; + private static final String KEY_PRINTOPTIONS_AS_DISPLAYED = "printoptions.as.displayed"; + private static final String KEY_PRINTOPTIONS_LEGAL_THEN_LETTR = "printoptions.legal.then.letter"; + private static final String KEY_PRINTOPTIONS_LETTER_THEN_LEGAL = "printoptions.letter.then.legal"; + private static final String KEY_PRINTOPTIONS_ALL_ON_LEGAL = "printoptions.all.on.legal"; + private static final String KEY_PRINTOPTIONS_ALL_ON_LETTER = "printoptions.all.on.letter"; + private static final String KEY_PRINTOPTIONS_ADDITIONAL_COPIES = "printoptions.additional.copies"; + private static final String KEY_PRINTOPTIONS_PRINT_FORM_NAMES = "printoptions.print.form.names"; + private static final String KEY_PRINTOPTIONS_DUPLEX = "printoptions.duplex"; + + // Default if values are not currently saved in local persistence + private static final String PRINTOPTIONS_USE_WINDOWS_PRINT = "Y"; + private static final String PRINTOPTIONS_PCL_DIRECT = "N"; + private static final String PRINTOPTIONS_AS_DISPLAYED = "Y"; + private static final String PRINTOPTIONS_LEGAL_THEN_LETTR = "N"; + private static final String PRINTOPTIONS_LETTER_THEN_LEGAL = "N"; + private static final String PRINTOPTIONS_ALL_ON_LEGAL = "N"; + private static final String PRINTOPTIONS_ALL_ON_LETTER = "N"; + private static final String PRINTOPTIONS_ADDITIONAL_COPIES = "0"; + private static final String PRINTOPTIONS_PRINT_FORM_NAMES = "N"; + private static final String PRINTOPTIONS_DUPLEX = "N"; + + // Current settings to save/get. Before reading from the store, initially default to the above default values + public String mPrintOptionsUseWindowsPrint = PRINTOPTIONS_USE_WINDOWS_PRINT; + public String mPrintOptionsPclDirect = PRINTOPTIONS_PCL_DIRECT; + public String mPrintOptionsAsDisplayed = PRINTOPTIONS_AS_DISPLAYED; + public String mPrintOptionsLegalThenLetter = PRINTOPTIONS_LEGAL_THEN_LETTR; + public String mPrintOptionsLetterThenLegal = PRINTOPTIONS_LETTER_THEN_LEGAL; + public String mPrintOptionsAllOnLegal = PRINTOPTIONS_ALL_ON_LEGAL; + public String mPrintOptionsAllOnLetter = PRINTOPTIONS_ALL_ON_LETTER; + public String mPrintOptionsAdditionalCopies = PRINTOPTIONS_ADDITIONAL_COPIES; + public String mPrintOptionsPrintFormNames = PRINTOPTIONS_PRINT_FORM_NAMES; + public String mPrintOptionsDuplex = PRINTOPTIONS_DUPLEX; + + public PosPersistPrintOptionsValues() { + super(); + } + + /** + * Read print setup dialog option values from local persisted storage + * @param pPrefs + */ + public void readPrintOptionsValues(Preferences pPrefs) { + if (pPrefs == null) { + // If the passed in Preferences object is null, then set to defaults + mPrintOptionsUseWindowsPrint = PRINTOPTIONS_USE_WINDOWS_PRINT; + mPrintOptionsPclDirect = PRINTOPTIONS_PCL_DIRECT; + mPrintOptionsAsDisplayed = PRINTOPTIONS_AS_DISPLAYED; + mPrintOptionsLegalThenLetter = PRINTOPTIONS_LEGAL_THEN_LETTR; + mPrintOptionsLetterThenLegal = PRINTOPTIONS_LETTER_THEN_LEGAL; + mPrintOptionsAllOnLegal = PRINTOPTIONS_ALL_ON_LEGAL; + mPrintOptionsAllOnLetter = PRINTOPTIONS_ALL_ON_LETTER; + mPrintOptionsAdditionalCopies = PRINTOPTIONS_ADDITIONAL_COPIES; + mPrintOptionsPrintFormNames = PRINTOPTIONS_PRINT_FORM_NAMES; + mPrintOptionsDuplex = PRINTOPTIONS_DUPLEX; + + } else { + // Assign values from the Preferences object to class instance variables + mPrintOptionsUseWindowsPrint = pPrefs.get(KEY_PRINTOPTIONS_USE_WINDOWS_PRINT, mPrintOptionsUseWindowsPrint); + mPrintOptionsPclDirect = pPrefs.get(KEY_PRINTOPTIONS_PCL_DIRECT, mPrintOptionsPclDirect); + mPrintOptionsAsDisplayed = pPrefs.get(KEY_PRINTOPTIONS_AS_DISPLAYED, mPrintOptionsAsDisplayed); + mPrintOptionsLegalThenLetter = pPrefs.get(KEY_PRINTOPTIONS_LEGAL_THEN_LETTR, mPrintOptionsLegalThenLetter); + mPrintOptionsLetterThenLegal = pPrefs.get(KEY_PRINTOPTIONS_LETTER_THEN_LEGAL, mPrintOptionsLetterThenLegal); + mPrintOptionsAllOnLegal = pPrefs.get(KEY_PRINTOPTIONS_ALL_ON_LEGAL, mPrintOptionsAllOnLegal); + mPrintOptionsAllOnLetter = pPrefs.get(KEY_PRINTOPTIONS_ALL_ON_LETTER, mPrintOptionsAllOnLetter); + mPrintOptionsAdditionalCopies = pPrefs.get(KEY_PRINTOPTIONS_ADDITIONAL_COPIES, mPrintOptionsAdditionalCopies); + mPrintOptionsPrintFormNames = pPrefs.get(KEY_PRINTOPTIONS_PRINT_FORM_NAMES, mPrintOptionsPrintFormNames); + mPrintOptionsDuplex = pPrefs.get(KEY_PRINTOPTIONS_DUPLEX, mPrintOptionsDuplex); + } + } + + /** + * Save print setup dialog option values to local persisted storage + * @param pPrefs + * @param pPrintOptionsUseWindowsPrint + * @param pPrintOptionsPclDirect + * @param pPrintOptionsAsDisplayed + * @param pPrintOptionsLegalThenLetter + * @param pPrintOptionsLetterThenLegal + * @param pPrintOptionsAllOnLegal + * @param pPrintOptionsAllOnLetter + * @param pPrintOptionsAdditionalCopies + * @param pPrintOptionsPrintFormNames + * @param pPrintOptionsDuplex + */ + public void savePrintOptionsValues(Preferences pPrefs, + String pPrintOptionsUseWindowsPrint, + String pPrintOptionsPclDirect, + String pPrintOptionsAsDisplayed, + String pPrintOptionsLegalThenLetter, + String pPrintOptionsLetterThenLegal, + String pPrintOptionsAllOnLegal, + String pPrintOptionsAllOnLetter, + String pPrintOptionsAdditionalCopies, + String pPrintOptionsPrintFormNames, + String pPrintOptionsDuplex ) { + + if (pPrefs == null) { return; } + + if (pPrintOptionsUseWindowsPrint != null) { + pPrefs.put(KEY_PRINTOPTIONS_USE_WINDOWS_PRINT, pPrintOptionsUseWindowsPrint); + } + + if (pPrintOptionsPclDirect != null) { + pPrefs.put(KEY_PRINTOPTIONS_PCL_DIRECT, pPrintOptionsPclDirect); + } + + if (pPrintOptionsAsDisplayed != null) { + pPrefs.put(KEY_PRINTOPTIONS_AS_DISPLAYED, pPrintOptionsAsDisplayed); + } + + if (pPrintOptionsLegalThenLetter != null) { + pPrefs.put(KEY_PRINTOPTIONS_LEGAL_THEN_LETTR, pPrintOptionsLegalThenLetter); + } + + if (pPrintOptionsLetterThenLegal != null) { + pPrefs.put(KEY_PRINTOPTIONS_LETTER_THEN_LEGAL, pPrintOptionsLetterThenLegal); + } + + if (pPrintOptionsAllOnLegal != null) { + pPrefs.put(KEY_PRINTOPTIONS_ALL_ON_LEGAL, pPrintOptionsAllOnLegal); + } + + if (pPrintOptionsAllOnLetter != null) { + pPrefs.put(KEY_PRINTOPTIONS_ALL_ON_LETTER, pPrintOptionsAllOnLetter); + } + + if (pPrintOptionsAdditionalCopies != null) { + pPrefs.put(KEY_PRINTOPTIONS_ADDITIONAL_COPIES, pPrintOptionsAdditionalCopies); + } + + if (pPrintOptionsPrintFormNames != null) { + pPrefs.put(KEY_PRINTOPTIONS_PRINT_FORM_NAMES, pPrintOptionsPrintFormNames); + } + + if (pPrintOptionsDuplex != null) { + pPrefs.put(KEY_PRINTOPTIONS_DUPLEX, pPrintOptionsDuplex); + } + } + + // Getters + public String getPrintOptionsUseWindowsPrint() { return mPrintOptionsUseWindowsPrint; } + public String getPrintOptionsPclDirect() { return mPrintOptionsPclDirect; } + public String getPrintOptionsAsDisplayed() { return mPrintOptionsAsDisplayed; } + public String getPrintOptionsLegalThenLetter() { return mPrintOptionsLegalThenLetter; } + public String getPrintOptionsLetterThenLegal() { return mPrintOptionsLetterThenLegal; } + public String getPrintOptionsAllOnLegal() { return mPrintOptionsAllOnLegal; } + public String getPrintOptionsAllOnLetter() { return mPrintOptionsAllOnLetter; } + public String getPrintOptionsAdditionalCopies() { return mPrintOptionsAdditionalCopies; } + public String getPrintOptionsPrintFormNames() { return mPrintOptionsPrintFormNames; } + public String getPrintOptionsDuplex() { return mPrintOptionsDuplex; } + + // Setters + public void setPrintOptionsUseWindowsPrint(String pPrintOptionsUseWindowsPrint) { + mPrintOptionsUseWindowsPrint = pPrintOptionsUseWindowsPrint; + } + + public void setPrintOptionsPclDirect(String pPrintOptionsPclDirect) { + mPrintOptionsPclDirect = pPrintOptionsPclDirect; + } + + public void setPrintOptionsAsDisplayed(String pPrintOptionsAsDisplayed) { + mPrintOptionsAsDisplayed = pPrintOptionsAsDisplayed; + } + + public void setPrintOptionsLegalThenLetter(String pPrintOptionsLegalThenLetter) { + mPrintOptionsLegalThenLetter = pPrintOptionsLegalThenLetter; + } + + public void setPrintOptionsLetterThenLegal(String pPrintOptionsLetterThenLegal) { + mPrintOptionsLetterThenLegal = pPrintOptionsLetterThenLegal; + } + + public void setPrintOptionsAllOnLegal(String pPrintOptionsAllOnLegal) { + mPrintOptionsAllOnLegal = pPrintOptionsAllOnLegal; + } + + public void setPrintOptionsAllOnLetter(String pPrintOptionsAllOnLetter) { + mPrintOptionsAllOnLetter = pPrintOptionsAllOnLetter; + } + + public void setPrintOptionsAdditionalCopies(String pPrintOptionsAdditionalCopies) { + mPrintOptionsAdditionalCopies = pPrintOptionsAdditionalCopies; + } + + public void setPrintOptionsPrintFormNames(String pPrintOptionsPrintFormNames) { + mPrintOptionsPrintFormNames = pPrintOptionsPrintFormNames; + } + + public void setPrintOptionsDuplex(String pPrintOptionsDuplex) { + mPrintOptionsDuplex = pPrintOptionsDuplex; + } + +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-03 00:16:22
|
Revision: 139 http://openpcl.svn.sourceforge.net/openpcl/?rev=139&view=rev Author: documentsystems Date: 2007-08-02 17:16:23 -0700 (Thu, 02 Aug 2007) Log Message: ----------- Howard Hoagland. Auto generated classpath file from Eclipse 3.2.2. Modified Paths: -------------- openpcl/.classpath Modified: openpcl/.classpath =================================================================== --- openpcl/.classpath 2007-08-03 00:13:46 UTC (rev 138) +++ openpcl/.classpath 2007-08-03 00:16:23 UTC (rev 139) @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> - <classpathentry path="src" kind="src"/> - <classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"/> - <classpathentry path="lib/jdom.jar" kind="lib"/> - <classpathentry path="lib/TableLayout.jar" kind="lib"/> - <classpathentry path="classes" kind="output"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="lib" path="lib/jdom.jar"/> + <classpathentry kind="lib" path="lib/TableLayout.jar"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="output" path="classes"/> </classpath> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-03 00:13:45
|
Revision: 138 http://openpcl.svn.sourceforge.net/openpcl/?rev=138&view=rev Author: documentsystems Date: 2007-08-02 17:13:46 -0700 (Thu, 02 Aug 2007) Log Message: ----------- Howard Hoagland. Made a new openpcl.keystore file because the previous one reached its expiration date. Modified Paths: -------------- openpcl/openpcl.keystore Added Paths: ----------- openpcl/openpcl.keystore-old-2007-04-01 Modified: openpcl/openpcl.keystore =================================================================== (Binary files differ) Added: openpcl/openpcl.keystore-old-2007-04-01 =================================================================== (Binary files differ) Property changes on: openpcl/openpcl.keystore-old-2007-04-01 ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-02 21:20:43
|
Revision: 137 http://openpcl.svn.sourceforge.net/openpcl/?rev=137&view=rev Author: documentsystems Date: 2007-08-02 14:20:46 -0700 (Thu, 02 Aug 2007) Log Message: ----------- Howard Hoagland. We decided to release Duplexing for Pcl Direct printing and not do at this time (back burner, do it later) the code for Windows/Image print for Duplexing which will take a significant amount of hours to implement. In PosPrintSetupDialog, made the "Duplex Yes" radio button gray out and auto select the "Duplex No" when the user puts a check in "Use Windows Print", and updated the hover help to say it does that, and ungray out when the user unchecks "Use Windows Print", and also does that behavior upon when the print setup dialog is first shown. Now on the screen, the "Print all on Letter paper (shrinks Legal)" radio button is grayed out when the "Duplex Yes" radio button is not grayed out, and visa versa as the user checks and unchecks the "Use Window Print". Modified Paths: -------------- openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java Modified: openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java =================================================================== --- openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java 2007-08-02 18:31:26 UTC (rev 136) +++ openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java 2007-08-02 21:20:46 UTC (rev 137) @@ -276,14 +276,8 @@ mIsPclPrinterJCheckBox.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { - if (mIsPclPrinterJCheckBox.isSelected()) { - mPaperSizePrintAllOnLetterShrinksLegal.setEnabled(true); - } else { - if (mPaperSizePrintAllOnLetterShrinksLegal.isSelected()) { - mPaperSizeAsDisplayedOrSelected.setSelected(true); - } - mPaperSizePrintAllOnLetterShrinksLegal.setEnabled(false); - } + checkforGrayOutShrinkToLetter(); + checkforGrayOutDuplexYes(); } }); @@ -391,11 +385,14 @@ putPrintChoicesOnScreen(); setHoverHelpOnItems(); checkforGrayOutShrinkToLetter(); + checkforGrayOutDuplexYes(); // Make dialog box outer frame width and height exactly to be all item's preferred sizes pack(); } private void checkforGrayOutShrinkToLetter() { + // If "Use Windows Print" is not checked then gray out the "Print all on Letter" check box, + // and select the "Print as displayed/selected" check box if (mIsPclPrinterJCheckBox.isSelected()) { mPaperSizePrintAllOnLetterShrinksLegal.setEnabled(true); } else { @@ -406,6 +403,18 @@ } } + private void checkforGrayOutDuplexYes() { + // If "Use Windows Print" is checked then gray out the Duplex Yes radio button + if (mIsPclPrinterJCheckBox.isSelected()) { + if (mDuplexYesJRadioButton.isSelected()) { + mDuplexNoJRadioButton.setSelected(true); + } + mDuplexYesJRadioButton.setEnabled(false); + } else { + mDuplexYesJRadioButton.setEnabled(true); + } + } + private JPanel makeListOfPrintersPanel() { JPanel panel = new JPanel(); double tloGridSpec[][] = new double[][] {{mTloHgap, mTloFill, mTloHgap }, {mTloFill, mTloVgap }}; @@ -760,7 +769,7 @@ mPrintFormNamesYesJRadioButton.setToolTipText("Print form names"); mPrintFormNamesNoJRadioButton.setToolTipText("Don't print form names"); - mDuplexYesJRadioButton.setToolTipText("Duplex pages"); + mDuplexYesJRadioButton.setToolTipText("Duplex pages. This is grayed out if \"Use Windows Print\" is checked"); mDuplexNoJRadioButton.setToolTipText("Don't duplex pages"); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-02 18:31:23
|
Revision: 136 http://openpcl.svn.sourceforge.net/openpcl/?rev=136&view=rev Author: documentsystems Date: 2007-08-02 11:31:26 -0700 (Thu, 02 Aug 2007) Log Message: ----------- Howard Hoagland. Put in more code to fix the duplexing to force back pages to be front pages when the DSP info in a Blockument says that form is "Duplex=No" and also force to a front page all Page 1's of forms. Fixed the problem of pages that were supposed to print on the back side were going to the front of the next page, by sending the page size commands to the printer only if the page size changed, and not at the start of every page. Modified Paths: -------------- openpcl/src/com/openpcl/viewer/printing/PosPrintPages.java Modified: openpcl/src/com/openpcl/viewer/printing/PosPrintPages.java =================================================================== --- openpcl/src/com/openpcl/viewer/printing/PosPrintPages.java 2007-08-02 18:26:07 UTC (rev 135) +++ openpcl/src/com/openpcl/viewer/printing/PosPrintPages.java 2007-08-02 18:31:26 UTC (rev 136) @@ -41,6 +41,13 @@ */ public class PosPrintPages { + public static byte sbESC = 0x1B; // Escape char + public static byte sbFF = 0xC; // Form Feed ( char(12) ) + public static final byte[] DUPLEX_OFF_BYTES = new byte[] { sbESC, '&', 'l', '0', 'S' }; + public static final byte[] DUPLEX_ON_BYTES = new byte[] { sbESC, '&', 'l', '1', 'S' }; + public static final int DUPLEX_MODE_NEXTPAGE_ONFRONT = 1; + public static final int DUPLEX_MODE_NEXTPAGE_ONBACK = 2; + private PosView mPosView = null; private Frame mParentFrame = null; private PosPrintBufferedImage mPosPrintBufferedImage = null; @@ -64,17 +71,14 @@ private int mNumberOfPagesThatWillPrint = 0; private static final String[] mTitleBarTextForPrintDialog = { "Print All", "Print Selected", "Print Changed", "Print Remaining"}; - public static byte sbESC = 0x1B; // Escape char - public static byte sbFF = 0xC; // Form Feed ( char(12) ) - public static final byte[] sDuplexOffBytes = new byte[] { sbESC, '&', 'l', '0', 'S' }; - public static final byte[] sDuplexOnBytes = new byte[] { sbESC, '&', 'l', '1', 'S' }; - public static final byte[] sDuplexNextPageBytes = new byte[] {sbESC, '&', 'a', '0', 'G' }; - public static final byte[] sDuplexFrontPageBytes = new byte[] {sbESC, '&', 'a', '1', 'G' }; private PriModifyPclBytes mPriModifyPclBytes = null; private PclParser mPclParser = null; private StringBuffer mIndexNumbersStringBuffer = null; private int mNumberOfCopies = 1; private DocAttributeSet mDocAttributeSet = null; + private int mDuplexModePaperSide = DUPLEX_MODE_NEXTPAGE_ONFRONT; + private String mPreviousPagePaperSize = null; + private String mCurrentPagePaperSize = null; /** * Constructor @@ -527,6 +531,7 @@ byte[] tPclBytes = null; byte[] tLetterlSizePaperBytes = new byte[] {sbESC, '&', 'l', '2', 'A'}; byte[] tLegalSizePaperBytes = new byte[] {sbESC, '&', 'l', '3', 'A'}; + byte[] tTopMargin3LinesBytes = new byte[] {sbESC, '&', 'l', '3', 'E'}; // return if there's no current pages to print if (pPagesToPrintArrayList == null || pPagesToPrintArrayList.size() < 1) { return false; } @@ -536,6 +541,12 @@ // by allocating a new bigger byte array then doing a memcopy to the new one. tByteArrayOutputStream = new ByteArrayOutputStream(20 * 1024); + // Start the print job printing page 1 on the front side + mDuplexModePaperSide = DUPLEX_MODE_NEXTPAGE_ONFRONT; + + // Start with null for previous page paper size + mPreviousPagePaperSize = null; + // Send a printer reset ESC E tByteArrayOutputStream.write(sbESC); tByteArrayOutputStream.write('E'); @@ -543,9 +554,9 @@ // If user clicked Yes for Duplex on Print Setup dialog, then write "Duplex on" Pcl bytes, else write "Duplex off" Pcl bytes try { if (pPosPrintSetupDialogChoices.shouldDuplex()) { - tByteArrayOutputStream.write(sDuplexOnBytes); + tByteArrayOutputStream.write(DUPLEX_ON_BYTES); } else { - tByteArrayOutputStream.write(sDuplexOffBytes); + tByteArrayOutputStream.write(DUPLEX_OFF_BYTES); } } catch (IOException e) { PriDebug.releaseln("Error. Couldn't write Duplex on/off PCL bytes to printer.\n" + e); @@ -564,6 +575,11 @@ // If no bytes on this page then continue to the next page if (tPclBytes == null || tPclBytes.length < 1) { continue; } + // Pick the paper size by calling the below isTreeNodePageLetterSize() which may be subclassed by a plugin. + // The below uses polymorphism because the method isTreeNodePageLetterSize() is one of the subclassed + // methods specified in the interface IPluginHooksOpenPCL + mCurrentPagePaperSize = mPosView.getOpenPCLViewer().isTreeNodePageLetterSize(tPrintThisTreeNode) ? "LTR" : "LGL"; + // Modify the PCL bytes mPriModifyPclBytes.initializeState(); mPclParser = new PclParser(tPclBytes, mPriModifyPclBytes); @@ -572,40 +588,45 @@ byte[] tModifiedPclBytes = mPriModifyPclBytes.getModifiedPclBytes(); // PriDebug.releaseln("Pcl page before, after bytes: " + tPclBytes.length + ", " + tModifiedPclBytes.length); + // On the print setup dialog, if the user clicked "Duplex Yes" if (pPosPrintSetupDialogChoices.shouldDuplex()) { - try { - if (mPosView.getOpenPCLViewer().forceFrontSideWhenDuplexing(tPrintThisTreeNode)) { - // Write "Duplex force front page" PCL bytes (don't use the back side of the page, start a new page) - tByteArrayOutputStream.write(sDuplexFrontPageBytes); - } else { - // Write "Duplex to next page" PCL bytes - tByteArrayOutputStream.write(sDuplexNextPageBytes); - } - } catch (IOException e1) { - PriDebug.releaseln("Error. Couldn't write Duplex next page PCL bytes to printer.\n" + e1); - } - } else { - // Write form feed (in Duplex off mode) - tByteArrayOutputStream.write(sbFF); + duplexingControlFrontBack(tByteArrayOutputStream, tPrintThisTreeNode); } - + try { if (pPosPrintSetupDialogChoices.isPaperSizePrintAllOnLegal()) { // The user has a check in the Print Setup dialog box for "Print all on Legal paper" // so FORCE ALL PAGES TO LEGAL SIZE no matter if LTR in the Blockument DSP values // or if this is a PCL file with a letter size PCL command - tByteArrayOutputStream.write(tLegalSizePaperBytes); + if ( (mPreviousPagePaperSize == null) || (mPreviousPagePaperSize.equalsIgnoreCase("LTR")) ) { + // Only if the previous page was null or Letter, write the Legal size page bytes + tByteArrayOutputStream.write(tLegalSizePaperBytes); + mCurrentPagePaperSize = "LGL"; + } else { + // If the page size didn't change, don't write the page size, but the top margin needs to be set after a form feed + tByteArrayOutputStream.write(tTopMargin3LinesBytes); + } } else { - // Pick the paper size by calling the below method which may be subclassed by a plugin. - // The below uses polymorphism because the method isTreeNodePageLetterSize() is one of the subclassed - // methods specified in the interface IPluginHooksOpenPCL - if (mPosView.getOpenPCLViewer().isTreeNodePageLetterSize(tPrintThisTreeNode)) { + if (mCurrentPagePaperSize.equalsIgnoreCase("LTR")) { // Letter size - tByteArrayOutputStream.write(tLetterlSizePaperBytes); + if ( (mPreviousPagePaperSize == null) || (mPreviousPagePaperSize.equalsIgnoreCase("LGL")) ) { + // Only if the previous page was null or Legal, write the Letter size page bytes + tByteArrayOutputStream.write(tLetterlSizePaperBytes); + } else { + // If the page size didn't change, don't write the page size, but the top margin needs to be set after a form feed + tByteArrayOutputStream.write(tTopMargin3LinesBytes); + } } else { // Legal size - tByteArrayOutputStream.write(tLegalSizePaperBytes); + if ( (mPreviousPagePaperSize == null) || (mPreviousPagePaperSize.equalsIgnoreCase("LTR")) ) { + // Only if the previous page was null or Letter, write the Legal size page bytes + tByteArrayOutputStream.write(tLegalSizePaperBytes); + mCurrentPagePaperSize = "LGL"; + } else { + // If the page size didn't change, don't write the page size, but the top margin needs to be set after a form feed + tByteArrayOutputStream.write(tTopMargin3LinesBytes); + } } } } catch (IOException e) { @@ -629,6 +650,12 @@ PriDebug.releaseln("Error. Couldn't write base page PCL bytes to printer.\n" + e); } + // Write form feed at the end of each page + tByteArrayOutputStream.write(sbFF); + + // Save the current page size to the previous page size to compare the next page with this page + mPreviousPagePaperSize = mCurrentPagePaperSize; + // Update the progress bar at each page if (mPrintingProgressBar != null) { mPrintingProgressBar.setValue(tPageNumber + 1); @@ -636,6 +663,10 @@ } } // end for (tPageNumber = 0; tPageNumber < pPagesToPrintArrayList.size(); tPageNumber++) + // Send a printer reset ESC E at the end of all the pages + tByteArrayOutputStream.write(sbESC); + tByteArrayOutputStream.write('E'); + // The input stream for the DocPrintJob if (tByteArrayOutputStream == null || tByteArrayOutputStream.size() < 1) { return false; } tByteArrayInputStream = new ByteArrayInputStream(tByteArrayOutputStream.toByteArray()); @@ -658,6 +689,31 @@ return true; } + private void duplexingControlFrontBack( + ByteArrayOutputStream pByteArrayOutputStream, PosTreeNode pPosTreeNode) { + + // If the next page is going to print on the back + if (mDuplexModePaperSide == DUPLEX_MODE_NEXTPAGE_ONBACK) { + + // If this page says it must print on the front of the paper, or when the paper size changes + if (mPosView.getOpenPCLViewer().forceFrontSideWhenDuplexing(pPosTreeNode) + || ( !(mPreviousPagePaperSize.equalsIgnoreCase(mCurrentPagePaperSize)) )) { + + // Write an extra form feed here, and say the next page is going to print on the back + pByteArrayOutputStream.write(sbFF); + mDuplexModePaperSide = DUPLEX_MODE_NEXTPAGE_ONBACK; + + } else { + // This page will print on the back, so here say the next page will print on the front + mDuplexModePaperSide = DUPLEX_MODE_NEXTPAGE_ONFRONT; + } + } else { + // This page will print on the front, so here say the next page will print on the back + mDuplexModePaperSide = DUPLEX_MODE_NEXTPAGE_ONBACK; + } + + } + /** * Image print (instead of PCL Direct) * @author Howard 6/1/06. Implemented mult page printing on 8/24/06 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-08-02 18:31:09
|
Revision: 135 http://openpcl.svn.sourceforge.net/openpcl/?rev=135&view=rev Author: documentsystems Date: 2007-08-02 11:26:07 -0700 (Thu, 02 Aug 2007) Log Message: ----------- Howard Hoagland. Changed release mode msg to be a debug mode msg in the catch block in actionCascadeWindows() that shows at program startup time when no view frame has been opened yet, so that users won't see it in the Java Console window and call tech support to report a run time error that isn't a problem but users will think it is. Modified Paths: -------------- openpcl/src/com/openpcl/viewer/OpenPCLViewer.java Modified: openpcl/src/com/openpcl/viewer/OpenPCLViewer.java =================================================================== --- openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-07-30 22:20:21 UTC (rev 134) +++ openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-08-02 18:26:07 UTC (rev 135) @@ -2324,7 +2324,7 @@ try { mPosMdiDesktopPane.cascadeFrames(); } catch (NullPointerException e) { - PriDebug.releaseln("Trapped NPE exception upon file open due to first time using program."); + PriDebug.info("View frame arrangement."); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-07-30 22:20:20
|
Revision: 134 http://openpcl.svn.sourceforge.net/openpcl/?rev=134&view=rev Author: documentsystems Date: 2007-07-30 15:20:21 -0700 (Mon, 30 Jul 2007) Log Message: ----------- Howard Hoagland. In PosPrintPages, added new code to implement duplexing for Pcl Direct (Windows Print not working yet). Modified Paths: -------------- openpcl/src/com/openpcl/viewer/printing/PosPrintPages.java Modified: openpcl/src/com/openpcl/viewer/printing/PosPrintPages.java =================================================================== --- openpcl/src/com/openpcl/viewer/printing/PosPrintPages.java 2007-07-30 22:16:14 UTC (rev 133) +++ openpcl/src/com/openpcl/viewer/printing/PosPrintPages.java 2007-07-30 22:20:21 UTC (rev 134) @@ -53,7 +53,6 @@ private ArrayList<PosTreeNode> mPagesToPrintArrayList = null; private JProgressBar mPrintingProgressBar = null; private boolean mPrintedOkReturn = false; - private boolean mShouldOutputFormFeedBetweenPages = true; private JDialog mPrintingProgressJDialog = null; public static final int sProcessPrintAll = 0; public static final int sProcessPrintSelected = 1; @@ -67,6 +66,10 @@ "Print All", "Print Selected", "Print Changed", "Print Remaining"}; public static byte sbESC = 0x1B; // Escape char public static byte sbFF = 0xC; // Form Feed ( char(12) ) + public static final byte[] sDuplexOffBytes = new byte[] { sbESC, '&', 'l', '0', 'S' }; + public static final byte[] sDuplexOnBytes = new byte[] { sbESC, '&', 'l', '1', 'S' }; + public static final byte[] sDuplexNextPageBytes = new byte[] {sbESC, '&', 'a', '0', 'G' }; + public static final byte[] sDuplexFrontPageBytes = new byte[] {sbESC, '&', 'a', '1', 'G' }; private PriModifyPclBytes mPriModifyPclBytes = null; private PclParser mPclParser = null; private StringBuffer mIndexNumbersStringBuffer = null; @@ -194,7 +197,13 @@ mIndexNumbersStringBuffer.append(", "); } } - + + // Send the built string to the Java Console + // 1. "Print All" or "Print Selected" or "Print Remaining" or "Print Changed" + // 2. N pages + // 3. Index numbers are: n, n, n, ... n + PriDebug.releaseln(mIndexNumbersStringBuffer.toString()); + // Get a new PrinterJob using its static method mPrinterJob = PrinterJob.getPrinterJob(); @@ -259,47 +268,44 @@ StringBuffer tMsgStringBuffer = new StringBuffer(); // Java Console output window will show all the below: - // "Windows Print" or "Print PCL Direct" + + // 1. To Java Console window: "Windows Print" or "Print PCL Direct" if (mPosPrintSetupDialogChoices.isPrintFormatPclDirect()) { - tMsgStringBuffer.append("\"Print PCL Direct\""); + tMsgStringBuffer.append(" Print PCL Direct"); } else { - tMsgStringBuffer.append("\"Windows Print\""); + tMsgStringBuffer.append(" Windows Print"); } - // to printer selected - tMsgStringBuffer.append(" to printer selected: "); + // 2. To Java Console window: Show printer selected + tMsgStringBuffer.append(" to printer: "); tMsgStringBuffer.append(mPrintService.getName()); - // The 5 radio buttons in the "Paper Size" group box + // 3. To Java Console window: Which of the 5 radio buttons in the "Paper Size" group box if (mPosPrintSetupDialogChoices.isPaperSizeAsDisplayedOrSelected()) { - tMsgStringBuffer.append("\n Print as displayed/selected (no order change and no paper size change)."); + tMsgStringBuffer.append(", as displayed/selected (no order change and no paper size change)"); } else if (mPosPrintSetupDialogChoices.isPaperSizeLegalFirstThenLetter()) { - tMsgStringBuffer.append("\n Print Legal first, then Letter."); + tMsgStringBuffer.append(", Legal first, then Letter"); } else if (mPosPrintSetupDialogChoices.isPaperSizeLetterFirstThenLegal()) { - tMsgStringBuffer.append("\n Print Letter first, then Legal."); + tMsgStringBuffer.append(", Letter first, then Legal"); } else if (mPosPrintSetupDialogChoices.isPaperSizePrintAllOnLegal()) { - tMsgStringBuffer.append("\n Print all on Legal paper."); + tMsgStringBuffer.append(", all on Legal paper"); } else if (mPosPrintSetupDialogChoices.isPaperSizePrintAllOnLetterShrinksLegal()) { - tMsgStringBuffer.append("\n Print all on Letter paper (shrinks Legal). "); + tMsgStringBuffer.append(", all on Letter paper (shrinks Legal)"); } - // Additional copies - tMsgStringBuffer.append("\n Additional Copies is " + mPosPrintSetupDialogChoices.getNumAdditionalCopies()); + // 4. To Java Console window: Additional copies=N + tMsgStringBuffer.append(". Additional Copies=" + mPosPrintSetupDialogChoices.getNumAdditionalCopies()); - // Print Form Names - if (mPosPrintSetupDialogChoices.shouldPrintFormNames()) { - tMsgStringBuffer.append("\n Print Form Names."); - } + // 5. To Java Console window: Print Form Names=Yes/No + tMsgStringBuffer.append(", Print Form Names=" + (mPosPrintSetupDialogChoices.shouldPrintFormNames()? "Yes" : "No")); - // "Print All" or "Print Selected" or "Print Remaining" or "Print Changed" - // N pages - // Index numbers are: n, n, n, ... n - tMsgStringBuffer.append("\n " + mIndexNumbersStringBuffer); - + // 6. To Java Console window: Duplex=Yes/No + tMsgStringBuffer.append(", Duplex=" + (mPosPrintSetupDialogChoices.shouldDuplex()? "Yes" : "No")); + // Send the built multi line string to the Java Console PriDebug.releaseln(tMsgStringBuffer.toString()); @@ -513,7 +519,6 @@ DocFlavor tDocFlavor = DocFlavor.INPUT_STREAM.AUTOSENSE; SimpleDoc tSimpleDoc = null; DocPrintJob tDocPrintJob = null; - PrintService tPrintService = null; PosTreeNode tPrintThisTreeNode = null; ByteArrayInputStream tByteArrayInputStream = null; ByteArrayOutputStream tByteArrayOutputStream =null; @@ -531,6 +536,21 @@ // by allocating a new bigger byte array then doing a memcopy to the new one. tByteArrayOutputStream = new ByteArrayOutputStream(20 * 1024); + // Send a printer reset ESC E + tByteArrayOutputStream.write(sbESC); + tByteArrayOutputStream.write('E'); + + // If user clicked Yes for Duplex on Print Setup dialog, then write "Duplex on" Pcl bytes, else write "Duplex off" Pcl bytes + try { + if (pPosPrintSetupDialogChoices.shouldDuplex()) { + tByteArrayOutputStream.write(sDuplexOnBytes); + } else { + tByteArrayOutputStream.write(sDuplexOffBytes); + } + } catch (IOException e) { + PriDebug.releaseln("Error. Couldn't write Duplex on/off PCL bytes to printer.\n" + e); + } + // for each page that the user selected in the tree (could be one page or multi page), get the PCL bytes for (tPageNumber = 0; tPageNumber < pPagesToPrintArrayList.size(); tPageNumber++) { // Get the tree node user object for this print page by indexing into the print ArrayList to get the passed in page number @@ -551,8 +571,26 @@ byte[] tModifiedPclBytes = mPriModifyPclBytes.getModifiedPclBytes(); // PriDebug.releaseln("Pcl page before, after bytes: " + tPclBytes.length + ", " + tModifiedPclBytes.length); + + if (pPosPrintSetupDialogChoices.shouldDuplex()) { + try { + if (mPosView.getOpenPCLViewer().forceFrontSideWhenDuplexing(tPrintThisTreeNode)) { + // Write "Duplex force front page" PCL bytes (don't use the back side of the page, start a new page) + tByteArrayOutputStream.write(sDuplexFrontPageBytes); + } else { + // Write "Duplex to next page" PCL bytes + tByteArrayOutputStream.write(sDuplexNextPageBytes); + } + } catch (IOException e1) { + PriDebug.releaseln("Error. Couldn't write Duplex next page PCL bytes to printer.\n" + e1); + } + } else { + // Write form feed (in Duplex off mode) + tByteArrayOutputStream.write(sbFF); + } + try { - if (pPosPrintSetupDialogChoices != null && pPosPrintSetupDialogChoices.isPaperSizePrintAllOnLegal()) { + if (pPosPrintSetupDialogChoices.isPaperSizePrintAllOnLegal()) { // The user has a check in the Print Setup dialog box for "Print all on Legal paper" // so FORCE ALL PAGES TO LEGAL SIZE no matter if LTR in the Blockument DSP values // or if this is a PCL file with a letter size PCL command @@ -579,16 +617,16 @@ if (tPrintTimePclBytes != null) { try { tByteArrayOutputStream.write(tPrintTimePclBytes); - } catch (IOException e) { + } catch (IOException e3) { + PriDebug.releaseln("Error. Couldn't write print time only PCL bytes to printer.\n" + e3); } } - // Write the current page bytes try { + // Write the current page bytes tByteArrayOutputStream.write(tModifiedPclBytes); - if (mShouldOutputFormFeedBetweenPages) { tByteArrayOutputStream.write(sbFF); } } catch (IOException e) { - return false; + PriDebug.releaseln("Error. Couldn't write base page PCL bytes to printer.\n" + e); } // Update the progress bar at each page @@ -604,10 +642,9 @@ tSimpleDoc = new SimpleDoc(tByteArrayInputStream, tDocFlavor, mDocAttributeSet); if (tSimpleDoc == null) { return false; } - tPrintService = pPosPrintSetupDialogChoices.getSelectedPrintService(); - if (tPrintService == null) { return false; } + if (mPrintService == null) { return false; } - tDocPrintJob = tPrintService.createPrintJob(); + tDocPrintJob = mPrintService.createPrintJob(); if (tDocPrintJob == null) { return false; } try { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-07-30 22:16:12
|
Revision: 133 http://openpcl.svn.sourceforge.net/openpcl/?rev=133&view=rev Author: documentsystems Date: 2007-07-30 15:16:14 -0700 (Mon, 30 Jul 2007) Log Message: ----------- Howard Hoagland. In OpenPCLViewer, added method forceFrontSideWhenDuplexing() to return true if tree node page must print on the front side (not on the back of a page) when duplexing. Modified Paths: -------------- openpcl/src/com/openpcl/viewer/OpenPCLViewer.java Modified: openpcl/src/com/openpcl/viewer/OpenPCLViewer.java =================================================================== --- openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-07-30 22:15:01 UTC (rev 132) +++ openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-07-30 22:16:14 UTC (rev 133) @@ -1315,6 +1315,12 @@ return getPosViewSelected().getBaseNameOnJInternalFrameTitleBar() + ", " + pPosTreeNode.toString(); } + /** Returns true if this tree node page must print on the front side (not on the back of a page) when duplexing. + * Subclass plugins override this method so do not delete or rename this method. */ + public boolean forceFrontSideWhenDuplexing(PosTreeNode pPosTreeNode) { + return false; + } + /** Create a new view panel * Subclass plugins override this method so do not delete or rename this method. */ public PosView createNewViewPanel(String pShortName) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-07-30 22:15:01
|
Revision: 132 http://openpcl.svn.sourceforge.net/openpcl/?rev=132&view=rev Author: documentsystems Date: 2007-07-30 15:15:01 -0700 (Mon, 30 Jul 2007) Log Message: ----------- Howard Hoagland. In IPluginHooksOpenPCL, added method forceFrontSideWhenDuplexing() to returns true if tree node page must print on the front side (not on the back of a page) when duplexing. Modified Paths: -------------- openpcl/src/com/openpcl/viewer/api/IPluginHooksOpenPCL.java Modified: openpcl/src/com/openpcl/viewer/api/IPluginHooksOpenPCL.java =================================================================== --- openpcl/src/com/openpcl/viewer/api/IPluginHooksOpenPCL.java 2007-07-27 00:31:03 UTC (rev 131) +++ openpcl/src/com/openpcl/viewer/api/IPluginHooksOpenPCL.java 2007-07-30 22:15:01 UTC (rev 132) @@ -79,6 +79,9 @@ /** Get the Form Name for a tree node page. Used for both print "PCL Direct" and for "Windows Print". */ public String getFormNameForTreeNode(PosTreeNode pPosTreeNode); + /** Returns true if this tree node page must print on the front side (not on the back of a page) when duplexing. */ + public boolean forceFrontSideWhenDuplexing(PosTreeNode pPosTreeNode); + /** Render the BufferedImage from the tree node */ public BufferedImage renderImageForPrintingFromTreeNode(PosTreeNode pPosTreeNode); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <doc...@us...> - 2007-07-27 00:31:06
|
Revision: 131 http://openpcl.svn.sourceforge.net/openpcl/?rev=131&view=rev Author: documentsystems Date: 2007-07-26 17:31:03 -0700 (Thu, 26 Jul 2007) Log Message: ----------- Howard Hoagland. In PclRenderImage getGraphicsWithRenderHints(), changed KEY_DITHERING from disable to enable, changed KEY_INTERPOLATION from nearestNeighbor to Bicubic, changed KEY_STROKE_CONTROL from plain to normalize. Modified Paths: -------------- openpcl/src/com/openpcl/pclrenderimage/PclRenderImage.java Modified: openpcl/src/com/openpcl/pclrenderimage/PclRenderImage.java =================================================================== --- openpcl/src/com/openpcl/pclrenderimage/PclRenderImage.java 2007-07-26 20:48:42 UTC (rev 130) +++ openpcl/src/com/openpcl/pclrenderimage/PclRenderImage.java 2007-07-27 00:31:03 UTC (rev 131) @@ -653,7 +653,7 @@ // Pick text quality instead of speed tGraphics2D.setRenderingHint(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY); // Turn dithering off. Dithering approximates color values by drawing groups of pixels of similar colors - tGraphics2D.setRenderingHint(RenderingHints.KEY_DITHERING, RenderingHints.VALUE_DITHER_DISABLE); + tGraphics2D.setRenderingHint(RenderingHints.KEY_DITHERING, RenderingHints.VALUE_DITHER_ENABLE); // Alpha composites for Quality tGraphics2D.setRenderingHint(RenderingHints.KEY_ALPHA_INTERPOLATION, RenderingHints.VALUE_ALPHA_INTERPOLATION_QUALITY); @@ -664,9 +664,9 @@ tGraphics2D.setRenderingHint(RenderingHints.KEY_COLOR_RENDERING, RenderingHints.VALUE_COLOR_RENDER_QUALITY); // Interpolating pixels when scaling or rotating images. tGraphics2D.setRenderingHint(RenderingHints.KEY_INTERPOLATION, - RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR); + RenderingHints.VALUE_INTERPOLATION_BICUBIC); // Combining strokes - tGraphics2D.setRenderingHint(RenderingHints.KEY_STROKE_CONTROL, RenderingHints.VALUE_STROKE_PURE); + tGraphics2D.setRenderingHint(RenderingHints.KEY_STROKE_CONTROL, RenderingHints.VALUE_STROKE_NORMALIZE); // Used for any clear region operations tGraphics2D.setBackground(Color.WHITE); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |