Slow Loading Of .btw Files Follow

0
Avatar
Legacy Poster

I've read a few "slow printing" topics, and based on advice in another thread, loaded the engine, started the engine, and loaded the .btw files on form1_load.

 

I'm not sure if the last step is appropriate, as I'm not sure how mulit-files work in this context.

 

Anyway, the problem is not so much slow printing, as slow file loading.  It takes about 20+ seconds for the application to start when preloading 2 .btw files.  Is there any way around that?  If not, I'm going to have to create a Please Wait dialog box when the Utility loads.  This problem seems to happen depending on which user is logged in.  One user experiences a  20+ second delay, while others are fine.  Unfortunately, if it's a security issue, we cannot change Security settings at will, so I was hoping there might be another solution.  

 

One solution was to uncheck "Check for publisher's certificate revocation" in Advanced IE settings, however I have that checked on my PC, and the files load immediately, so it seems like the cause might be something other than that.

 

 

        private void Form1_Load(object sender, EventArgs e)
        {
            btEngine = new Engine(true);
            btEngine.Start();

            barcodeFiles.Add("labelformat1.btw");
            barcodeFiles.Add("labelformat2.btw");
            
            foreach (var barcodeFile in barcodeFiles)
            {
                btEngine.Documents.Open(Path.Combine(appDirectory, barcodeFile));  // takes 10+ seconds each
            }

            ...
            ...
       }

        private void Form1_FormClosing(object sender, FormClosingEventArgs e)
        {
            btEngine.Documents.CloseAll(SaveOptions.DoNotSaveChanges);
            btEngine.Stop();
        }
 

 

4 comments

0
Avatar
Legacy Poster
Comment actions Permalink

FYI, We came in the next day and the problem went away, for now.  Intermittent issues are always tough.

0
Avatar
Ian Cummings
Moderator
Comment actions Permalink

Problems with printer drivers when running under certain user profiles might be a avenue for you to explore.  BarTender is a very printer driver intensive application, so when you load a document into a BarTender process the process will interrogate the driver to find out what the printer is capable of.  If there is a problem connecting to the driver, particularly if it's a network share, then this can lead to a hangup until things time out.  Try using BarTender manually in affected user profiles to see if the application gets hung up at all when using particular printers.

0
Avatar
Daniel Törnstam
Comment actions Permalink

Hello we have similar problem, running bartender 2016 now, with support from Honeywell. and their Intermec PC43t printers. users has tried both having the label stored locally and from the network share where they suppose to use them from, and recently they started reporting issues with bartender not responding and taking more than +20 sec to open after double clicking on the label. @Ian Cummings when you say use manually, do you mean open bartender and then open the labels from within the program?

0
Avatar
Ian Cummings
Moderator
Comment actions Permalink

Daniel Törnstam: Yes I was referring to opening a document manually in the BarTender Designer.  I'm aware that there can be slowness issues for some customers with older versions of BarTender when loading a BarTender document from a network folder at a location where there are lots of BarTender files.  I believe BarTender 2019 made improvements to avoid this issue, and in a future release this issue will totally go away.

Please sign in to leave a comment.