Blog Stats
  • Posts - 6
  • Articles - 0
  • Comments - 34
  • Trackbacks - 6

 

BizTalk Server 2004 Adapter for Printing

One of our client’s requirements was, to dynamically send messages to printer based on content; this promoted me to write a custom print adapter for Biztalk Server 2004.

This print adapter is quite similar to SMTP Adapter wherein you can send messages to but does not pull any messages for BizTalk processing.

Currently adapter is having fontface, fontsize and Printer Name as a configurable parameters but its printing functionalities can be enhanced by modifying Printer.cs file which simply implements System.Drawing.Printing.PrintDocument.


Before installing Printer adapter you should be having Custom Adapter
Microsoft BizTalk Server 2004 Adapter for Printing is available for download here.

Steps to install Print Adapter.
1. Extract Printing Adapter to C:\Program Files\Microsoft BizTalk Server 2004 Adapter for Printing\.
2. Import PrintAdapter.reg.
3. Add the New Adapter from Biztalk Administrator Console.
4. Create a send port and configure Print Adapter as per your printer name.

Make sure the Biztalk Host(s) are bounced.

*** Prerequisites ***
I have used Microsoft BizTalk Server 2004 Adapter Wizard (from GotDotNet) to generate skeleton code for print adapter.

I am thankful to John Callaway (the instructor, of BizTalk Deep Dive training courses in the UK) for encouraging me to write a custom adapter for printing.
Thanks Arun for your support, please increase “hit count” for his blog ;) http://www.arunrocks.com/


Feedback

# re: BizTalk Server 2004 Adapter for Printing

Gravatar Hi,
I don't see any link though which I can download the printing adapter as mentioned in the description section. Can you please provide the link? 6/2/2005 10:33 AM | AP

# re: BizTalk Server 2004 Adapter for Printing

Gravatar Hi Abhijeet,

I am not of the "wiz and pro" types in BizTalk 04. Just begining with development using BTS04.
I am facing certain problems consuming a webservice from the orchestration using SOAPAdapter.

It seems the webservice returns an array type which isn't recognised by the adapter while deserializing and hence an excpetion is encountered.

I intend to build a custom adapter using the SOAP adapter as the base.
Could you guide me as to how I should begin building one.

Regards,
Akshhaye 7/5/2005 5:47 AM | Aks

# re: BizTalk Server 2004 Adapter for Printing

Gravatar Hi,

Great adapter this is just what I was looking for a very specific problem.
7/20/2005 5:03 PM | Ollie

# re: BizTalk Server 2004 Adapter for Printing

Gravatar Could you send me a test input message ? 8/19/2005 9:21 AM | Guru

# re: BizTalk Server 2004 Adapter for Printing

Gravatar Ru Abhijeet raje from parshvanath college mumbai..If yes mail me at nishil@rediffmail.com.
I need a custom adapter for sql stored procedure with output parameters.Current sql adapter doesnot support output parameters fro stored procedures.
the odbc adapter on gotthedotnet doesnot work fine. 9/27/2005 8:28 AM | Nishil

# re: BizTalk Server 2004 Adapter for Printing

Gravatar it was a help topic its an very intersting topic in Biztalk...

but the thing is y print adapter doest not doesnt undergo processing ......then how the biztalk will understand 7/12/2007 12:24 AM | nagesh

# re: BizTalk Server 2004 Adapter for Printing

Gravatar Where is the link to download?
3/5/2009 12:31 PM | G

Post a comment





 

 

 

Copyright © Abhijeet Raje