Menu

#372 iCopy1.7.0 Fix the bug that cannot be copied after setting save file.

1.
open
nobody
None
1
2024-07-08
2022-11-09
sskmayu
No

Fix: After setting to save image to file or save image to PDF, the bug of not being able to switch back to the printer.
Changed: Multi-page scan, save image to file, save image to PDF three buttons clicked and the focus automatically moved to the Copy button.

1 Attachments

Discussion

  • sskmayu

    sskmayu - 2022-11-09
     
  • Vasya Pepkin

    Vasya Pepkin - 2024-04-04

    I was able to fix the problem by deleting this folder:
    C:\Users\<username>\AppData\Local\icopy</username>

    P.S.

    After clicking the "Export to PDF" button, it is impossible after that to go back to "print to printer". "Export to PDF" button apparently messes up config files in the "C:\Users\<username>\AppData\Local\icopy " folder. The folder is not deleted by the uninstall. So even unistall/install fixes the issue. It would be nice if someone updated the program. </username>

    The patch provided DOES NOT WORK. It generates error.
    Unistall/install aslo DOES NOT WORK

     
    • xantho

      xantho - 2024-07-08

      Had the same issue and analyzed it.
      FIX:
      change mainfrm.vb as follows:
      ADD the two lines after Line 387:

             ElseIf chkPDF.Checked = False Then   
                  opts.ScanOutput = ScanOutput.Printer
      

      The block should be afterwards like this:

              If chkSaveToFile.Checked Then
                  opts.ScanOutput = ScanOutput.File
                  If Not My.Settings.FileAskWhereToSave Then
                      opts.Path = My.Settings.FileSavePath
                  End If
              ElseIf chkPDF.Checked Then
                  opts.ScanOutput = ScanOutput.PDF
                  If Not My.Settings.PDFAskWhereToSave Then
                      opts.Path = My.Settings.PDFSavePath
                  End If
              ElseIf chkPDF.Checked = False Then  
                  opts.ScanOutput = ScanOutput.Printer
              End If
      

      Another issue I found (AND FIXED)
      https://sourceforge.net/p/icopy/bugs/377/

       

Log in to post a comment.