Skip to main content

Search

Search

Print Command Failing

Comments

6 comments

  • Avatar
    Domingo Rodriguez
    Moderator

    Are your compiling your .NET MVC application for 32 bit architecture?

     

    On the test server, is BarTender also installed, activated and properly detecting Seagull License Server on the network?

     

    You could enable message logging in BarTender (via the "Administer > Log Setup > Text File Log" dialog) and check if any related error message appears which could indicate the source of the problem.

     

    Are you currently using the Trial Edition of BarTender, or do you already have a full Enterprise Automation Edition of BarTender?

    0
  • Avatar
    Legacy Poster

    Thanks for getting back to me Domingo. BarTender is installed on the test server and I am compiling for 32 bit. BarTender is also set up to detect the license server and working well when I open it from the server desktop. We already have the full Automation version of Bartender. I've tested the program using calls to the printserver sdk as well as the print sdk, and have the same problem. I'll try some text logs and see how that goes. The error catching in the printserver sdk code should send my web app to an error screen on timeout of the task, but this isn't even happening.

     

    Thanks,

    Ryan

    0
  • Avatar
    Legacy Poster

    Small update, this seems to be a printer issue. When I print from bartender directly the desired printer is seen as the default and everything is fine. When I print from a call in c# the bartend.exe instance fails to recognize the installed printer and throws an error to the log, but hangs in the application. Any advice on how to make bartender recognize an installed printer?

     

    0
  • Avatar
    Domingo Rodriguez
    Moderator
    What printer make and model is this? What printer driver (and version) have you installed for the printer?

    How is the printer connected? Is it locally attached to the same PC where your application runs, or is this a shared network printer? Please give further details?

    Also, how are you specifying the printer via your web based application? Are you perhaps expecting BarTender to just load the Windows default printer? Do you have the same problem when the printer selection is done directly in the BarTender document via the "File > Print" dialog, making sure that you're not choosing the Windows default printer?
    0
  • Avatar
    Legacy Poster

    It was the printer, all fixed and thanks for the help

    0
  • Avatar
    Legacy Poster

    Hi,

     

    I have the problem..

     

    I have written a small .NET windows application which prints a specific label and fills a few label fields from a TextFile database. The label will print properly when run bartender manually, but does not function properly when try to print from my application. It give error,  A sharing violation occurred while accessing file D:\BartenderRD\Demo.txt. Please any one help. I am using trial Version of bartender.

    0

Please sign in to leave a comment.