Corel file causing print window freezing

How can I look at a detailed collection of data about a corel file such as color styles, symbol instances...etc. besides using the 'Document Properties' from the menu?

I ask this because I've come across a file that is freezing a print window and it's just a rectangle on one page. The file originated from X4.

Compare the two files.  The clean one was saved as a CMX then back to CDR which 'cleaned' out the source causing the print window freezing.  I just don't know what it is.

Do you?

 

FILES ARE HERE

  • You're right, the print preview freezes Draw completely. Doesn't happen with the "cleaned" file.

    I have no idea why it happens but I hope someone else can drop in and verify too.

    The CDR file format is actually a ZIP-folder, and if you change the extension to .zip you can open it and check the content.
    Not sure it will give you anything useful though.

    • Ronny Axelsson said:

      You're right, the print preview freezes Draw completely. Doesn't happen with the "cleaned" file.

      I have no idea why it happens but I hope someone else can drop in and verify too.

      The CDR file format is actually a ZIP-folder, and if you change the extension to .zip you can open it and check the content.
      Not sure it will give you anything useful though.

      Tried this with little luck.  I also noticed there's no riffData.cdr file in the extracted files as is done with an X4 file.

    • Hello signcoartdtp; You could use Task Manager.

      George

      • After some digging and searching, I found an 8KB file size difference between these two DAT files.  I don't know how to properly view these files but I'll keep looking for something that stands out.

        • I found one difference so far -- the clean CDR has a world scale of 1:1 and the crash CDR has a world scale of 1:32.

          • I have notified Corel, Harry.

            • See difference between files metada.xml (part of compressed CDR files – description of file cdr file)
              Structure of xml file that freezing print window is different; also note that this file was created from the template.

              Best regards,

              Mek

              dif.zip
              • Thanks Mek.  I will look at that file more closely.

                Ronny, what do you mean you 'notified Core'?  How did you notify them?

                • There is one thing in the original file that may be causing this.
                  The drawing scale is set to 3/8" = 1'. In the CMX-roundtripped file it has been reset to 1" = 1". (Thanks to Hywel Harris for noticing)
                  I find another thing a bit strange. If you manage to open the Print dialog properly once, either by waiting until the preview appears (which may take several minutes) or by opening the "clean" file first, then the dialog opens fine also for the damaged file.

                  ggut said:
                  How did you notify them?
                  There are many ways. Wink
                  It is possible to e-mail Corel employees directly from this forum for example.
                  Some people in these groups have been here for a long time and have got to "know" people at Corel.
                  There are also some people here that are beta testers, and they have other channels to contact Corel.

                  • Thanks Ronny.  I've been thinking about an idea involving a macro that would save the document but omit certain properties or metadata used in the file.  I looked at the process of 'saving as' and got this.

                    Sub Macro10()
                        ' Recorded 10/20/2014
                        Dim SaveOptions As StructSaveAsOptions
                        Set SaveOptions = CreateStructSaveAsOptions
                        With SaveOptions
                            .EmbedVBAProject = True
                            .Filter = cdrCDR
                            .IncludeCMXData = False
                            .Range = cdrAllPages
                            .EmbedICCProfile = True
                            .Version = cdrVersion17
                            .KeepAppearance = True
                        End With
                        ActiveDocument.SaveAs "C:\nejtj.cdr", SaveOptions
                    End Sub

                • Issue has been fixed. 

                  Both files, original and clean has the same scale settings. 

                   

                  The only difference is under Origin size. 

                   

                  Original File - 

                   

                   

                  Cleaned out file. 

                   

                   

                   

                  Using the original file and changing the origin size, the file will not crash.