Printing Failing Under Xp Sp3 フォローする

1
Avatar
Legacy Poster

Hello there,

 

I've been developing software for a company, and we utilise the BarTender Automation software and SDK for the printing process. We have designed a bespoke Java to C++/CLI library to perform the printing operations, and everything works fine on near every computer we've installed on. However, our software was recently installed on a machine running Windows XP SP3, and the computer refuses to print.

 

The issue is not just localized to the SDK. We have found that even opening the BarTender Automation application, loading in a BarTender label format, and printing through the software fails to print (it causes the bartend.exe process to lock up, resulting in killing through Task Manager.)

 

The machine has the following pieces of software installed, as pre-requisites to all of the modules we use:

 

  • .NET Framework 2.0
  • .NET Framework 3.0 (SP1)
  • .NET Framework 4.0
  • .NET Framework 4.0 (Client Profile)
  • 2005 C++ Runtime (x86)
  • 2008 C++ Runtime (x86)
  • 2010 C++ Runtime (x86)
  • BarTender Automation (and all associated applications, including the BarTender SDK)
  • Java 6 u45

The application has been registered in the license server, is marked as fully active. I even checked the version information to ensure that the version of BarTender aligns with those installed on all other machines (which run Windows 7 and print correctly.) The SDK assembly (Seagull.BarTender.Print.dll) matches those installed on other machines. Additionally, I also added security permissions to all BarTender and Java applications to ensure that access to the Windows printers was permitted.

 

Still, no luck. As far as I'm concerned, the installation on this machine directly mirrors all other installations on Windows 7 machines, which successfully print. Are there any additional dependencies or security attributes which require adjusting? Or, are there issues with running BarTender on XP SP3? (Is BarTender under XP even supported any more?)

 

Thanks in advance.

 

Chris

3 コメント

0
Avatar
Ian Cummings
モデレータ
コメントアクション Permalink

This shouldn't be a problem and XP SP3 should be just fine.  You'll just need to fault find the problem on the particular PC.  Enable application logging to a text file to see if anything there turns up any clues.  If you're able to, modify the code to make the application window of BarTender visible to again see what might be going on inside the BarTender process.  Check the printer driver in use as that might be the problem -- do a remove and reinstall just to be sure.  You can even try replicating what your code does by controlling BarTender manually to see if it stumbles over a problem.

0
Avatar
Legacy Poster
コメントアクション Permalink

Thanks for the response.

 

We've gone through the process of uninstalling the application and re-installing, and the printing process still doesn't work. We're using BarTender 10.0 SR4, and when I launched the BarTender application itself and place some random text fields on the label and print, the application locks up. I used the example C# program which is designed to print using the SDK, and that locks up too. Perhaps this is an issue with the Windows operating system itself. Printing from MS Paint seems to work just fine, so perhaps there's some driver issues.

 

I'll speak to their technical team and see if there are any missing permission sets or restrictions which might cause the issue. Would a network issue (connectivity to the license server) cause any of the described issues?

 

Thanks

0
Avatar
Ian Cummings
モデレータ
コメントアクション Permalink

It sounds like there is a problem with the printer driver in use.  Did you yet try removing, rebooting and re-installing it?  The fact that this happens when controlling the software manually rules out any form of automation being the problem.  It might also be a .NET issue.  Use the Microsoft .NET repair tool to check/fix such issues: http://www.microsoft.com/en-us/download/details.aspx?id=30135

ログインしてコメントを残してください。