Geeks With Blogs
Abhijeet Raje BizTalk an EAI Tool.. an ETL Tool... its.. super framework to create any tool

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/

Posted on Sunday, May 29, 2005 2:50 PM | Back to top


Comments on this post: BizTalk Server 2004 Adapter for Printing

# re: BizTalk Server 2004 Adapter for Printing
Requesting 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?
Left by AP on Jun 02, 2005 10:33 AM

# re: BizTalk Server 2004 Adapter for Printing
Requesting 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
Left by Aks on Jul 05, 2005 5:47 AM

# re: BizTalk Server 2004 Adapter for Printing
Requesting Gravatar...
Hi,

Great adapter this is just what I was looking for a very specific problem.
Left by Ollie on Jul 20, 2005 5:03 PM

# re: BizTalk Server 2004 Adapter for Printing
Requesting Gravatar...
Could you send me a test input message ?
Left by Guru on Aug 19, 2005 9:21 AM

# re: BizTalk Server 2004 Adapter for Printing
Requesting 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.
Left by Nishil on Sep 27, 2005 8:28 AM

# re: BizTalk Server 2004 Adapter for Printing
Requesting 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
Left by nagesh on Jul 12, 2007 12:24 AM

# re: BizTalk Server 2004 Adapter for Printing
Requesting Gravatar...
Where is the link to download?
Left by G on Mar 05, 2009 12:31 PM

Your comment:
 (will show your gravatar)


Copyright © Abhijeet Raje | Powered by: GeeksWithBlogs.net