Printer Status Through Bartender Activex Follow

0
Avatar
Legacy Poster

Hello everyone,

just starting over in bartender interface using visual basic. Need to implement the following along with printing in my application. Please help me in anyway you can.

1.How to read or identify that there is a printer that is connected to the PC that can be used by the application that via bartender.
2. Say the printer is in error state. How to identify the same using activex API of bartender.
3. Print command has been issued, how to i figure out that the print operation given has been completed without error (error like input feed empty, etc)
4. say i need to issue multiple(total 5 ) print formats continuously and need to figure out at the end whether all five has been printed out properly without any error.

Any help or directions in helping me to implement the above said in visual basic with bartender automation suite will be more helpful.

Thanks in advance
arun ks

4 comments

0
Avatar
Fernando Ramos Miracle
Moderator
Comment actions Permalink

Hello Arunks and sorry for the late reply.

 

You can achieve all the above using our "Print Job Status Events" from our .NET SDKs. Attached you'll find our documentation from BarTender's Help explaining its use.

 

You could also take a look at the PrinterEventArgs Class for printer related events (more information in our help documentation).

 

Regards.

0
Avatar
Shotaro Ito
Moderator
Comment actions Permalink

Additionally, to receive printer's print completion from .net SDK, you need to...

 

- The printer driver must be Seagull Driver.
- Enable bi-directional support from driver's port tab.
- Enable Status monitoring and Job Verification.
  > From Tools Tab > open [Status monitoring].
  On Status tab, Select [On Demand] or [Continuous].
  On Job Verification tab, Select [Verify job complete before sending next job]. 
- Both computer which run BarTender and print must install Printer Maestro and Printer Maestro service must be started.
 
After above applied, when you print from BarTender, Printer Maestro's recent job shows printed job as Sent(printing verified).
At this point, when you print from ActiveX Format.Print() method, you can receive Job message #1100 which includes return from status monitor.
By searching message by result string "Sent(Printing Verified)" or "Error", you can check the job has completed or not.
 
The same job completion message can be obtained via .NET SDK as Fernando described,
which shown in "Print Job Status Monitor" sample installed with the SDK.

 

** How to check current printer status via command line
Seagull driver includes command line utility "ssdal.exe".
It can return printer status as localized string when status monitor is enabled.
(unfortunately there's no status code or error code returned as I know)
 
Example (in case, printer name is TEC B-SA4T):
C:\WINDOWS\ssdal.exe /p "TEC B-SA4T" get status Executing 'Get' command.
TEC B-SA4T: Head open
Finished processing command. 
By capturing the command line output, you can get current printer status.
0
Avatar
Legacy Poster
Comment actions Permalink

Hello everyone,

I need to make a test in my application to check if my printer is connected / offline before calling the print method. Is there any way to do that without using print job status events because when I check the printer connectivity i'm not calling the print method yet. I was searching in documentation at PrinterEventArgs Class but i didn't find anything.

Any help please ?

Thanks.

0
Avatar
stefnie kayelle
Comment actions Permalink

you can achieve all the above using our "Print Job Status Events" from our .NET SDKs. Attached you'll find our documentation from BarTender's Help explaining its use.You could also take a look at the PrinterEventArgs Class for printer related events (more information in our help documentation). and for the more query and help  go through the 

Nipson Printers Support  and get the guidelines from the team.

Please sign in to leave a comment.