Printing a .txt file with a pre-rendered overlay file
Posted on 2008-10-08
I have written an application in VB.NET 2005 that generates Bill Of Lading documentation. The VB app creates a .txt file with rtf formatting information and saves it into a designated folder that a third-party application has permissions to see. This third-party app merges my text file with a pre-rendered pcl template file (of my design, created in MS publisher) and sends it to the printer. The end-effect bing one "complete" document; my raw .txt data laid on-top-of a blank Bill Of Lading template.
My question is this: Can I produce these results myself without the use of this third-party software? The licensing fees are on a per-machine basis; if I could master this printing technique on my own I could save my company a lot of licensing expense and expand my own application abilities. I am not familiar with the .NET PrintDocument component, but from what little I have read in the documentation, this looks to be a possible solution.
Any help on this matter would be greatly appreciated. Thank you in advance for your support and knowledge.