Create A Print Button In Ms Access. Follow

0
Avatar
Legacy Poster

Hi

I have an access Database.
It has an entry form for data, a Query for creating labels, and I can import these queried labels into bartender and print them.

I would love to create a button on my Acces Form that prints the current post in the database/query.

Kind regards Jesper

3 comments

0
Avatar
Ian Cummings
Moderator
Comment actions Permalink

Providing you have an Automation edition of BarTender you can use either the ActiveX or .NET component automation interface to run code behind the OnClick button event to control a Bartender process behind the scenes to open a label, set data on that label using Access field data and then print it.

The below white papers will get you started:

http://www.seagullscientific.com/ftp/whitepapers/WhitePaper_BarTender'sActiveXAutomationInterface.pdf

http://www.seagullscientific.com/ftp/whitepapers/WhitePaper_BarTender's.NET_SDKs.pdf

In the BarTender Help system you will find a full reference on the available programming interfaces along with numerous code examples. There are also example Visual Studio projects in the SDK which you should also find helpful.

Take a look and let me know if you have any questions.
0
Avatar
Legacy Poster
Comment actions Permalink

[quote name='Ian C - Seagull Support' timestamp='1308216902' post='77']
Providing you have an Automation edition of BarTender you can use either the ActiveX or .NET component automation interface to run code behind the OnClick button event to control a Bartender process behind the scenes to open a label, set data on that label using Access field data and then print it.

The below white papers will get you started:

http://www.seagullscientific.com/ftp/whitepapers/WhitePaper_BarTender'sActiveXAutomationInterface.pdf

http://www.seagullscientific.com/ftp/whitepapers/WhitePaper_BarTender's.NET_SDKs.pdf

In the BarTender Help system you will find a full reference on the available programming interfaces along with numerous code examples. There are also example Visual Studio projects in the SDK which you should also find helpful.

Take a look and let me know if you have any questions.
[/quote]

Will the Bartender Enterprise edition do this?
0
Avatar
Ian Cummings
Moderator
Comment actions Permalink

Yes the older version BarTender Enterprise, at the very least supports the ActiveX automation interface. If the version is v9.0 or above, it will also support the .NET component.

Please sign in to leave a comment.