New Forum | Previous | Next | (P-PDF) Developers
Topic: Problem in printing PDF in background via VB.Net
Conf: (P-PDF) Developers, Msg: 113080
Date: 6/9/2004 11:11 PM
I have created a PDF and FDF by using FDFACXLib. But I actually need to print the filled PDF directly to a printer which I cannot do. Since I have a very less knowledge about PDF and FDF (first time I am programming in them) I would appreciate if anyone helps me.
Another question, will Adobe writer needed in the machine where this program works or not. The code I have used can be seen below.
Dim fdf As New FDFACXLib.FdfApp
Dim fdfdoc As FDFACXLib.FdfDoc = fdf.FDFCreate()
Dim key As String
Dim value As String
For Each key In fieldValues.Keys
fdfdoc.FDFSetValue(key, fieldValues(key), False)
fdfdoc.FDFSetFile("C:\Studio\Doc Printing\" + caseref.ToString() + ".pdf")
fdfdoc.FDFSaveToFile("C:\Studio\Doc Printing\" + caseref.ToString() + ".fdf")
Thanks in advance.