Hi
there is a winform
on it there are diff options
select printer name
select template type
select pdf file
n there is a print button
after selecting all 3 options and click print
Then pdf file must be printed by applying selected template to pdf file
i should be able to select a template
a template can be
1.page contains a header and a footer
2.say back ground red color (red color back ground)
3.say back ground image
and the extension of template can be doc,pdf,jpg
can u please tell me whether we can achieve using any of your printers
Or can u please tell me which printer can give me the solution
Needed a Printer Which will select a template+Urgenly needed
Re: Needed a Printer Which will select a template+Urgenly needed
Support · Aug 28, 2008Hello,
There is no printing functionality in our product which can print the PDF documents. We may add this feature in a future version but currently nothing is planned.
You can create PDF documents from scratch and you can merge existing PDF documents or modify the PDFs using our product. You can not merge the .doc files to an existing PDF document.
You can merge a PDF template to another PDF, and you can add an image as a template to a PDF document without any problem.
You can add java script to the PDF document using which you can print the PDF document to the default printer. But you will have to open the PDF in order to trigger the java script. You can also use the Ghostscript
for your printing needs.
Please feel free to download the fully functional Evaluation version of our product DynamicPDF for .NET
.
We do have another product which can convert the existing documents to PDFs. You can use the .doc files to convert and append another PDF to it. This is now in beta edition. You can download this from our website
.
Thanks,
ceTe Software Support Team.
Re: Needed a Printer Which will select a template+Urgenly needed
Forum member · Aug 28, 2008Thanks for the reply
i downloaded "DynamicPDF501forNETBuild10926"
i have got the following 4 folders
DynamicPDF v5.0.1 for .NET
DynamicPDF WebCache v1.0.0
FireMail v1.0.4 for .NET Evaluation Edition
Help Library for .NET June 2008
i opened the application from 1st folder ie
"..\DynamicPDF v5.0.1 for .NET\examples\visualstudio2005\DynamicPDF_Examples_VS2005"
When i open windows app and run that there is no special fuctionality to apply some existed designs to my existed pdf file
can i achieve this
ie i will open a pdf file and i will also open a template now when i say apply template to pdf file then that shold be happened
how can i achieve this
is there any existed application from ur site
Re: Needed a Printer Which will select a template+Urgenly needed
Support · Aug 28, 2008Hello,
There is no direct example which can do this. However you can refer to the MergePDFs example from MergerExamples section which merges different PDF documents to make a single PDF. If your template is a PDF then you can merge your template and the PDF using this way.
MergeDocument document = new MergeDocument();
document.Append( "path of the template PDF" );
document.Append( "path of the main PDF" );
document.Draw( "path to save the final PDF" );
You can refer to the Invoice example from MergerExamples which adds data to an existing PDF template to create invoice.
If you have your template as an image then you will have to add the image to the page of the PDF document and merge the main PDF to this.
MergeDocument document = new MergeDocument();
Page page = new Page();
Image image = new Image( "template image path", 0, 0 );
page.Elements.Add( image );
document.Pages.Add( page );
document.Append( "main PDF path" );
document.Draw( "path to save PDF" );
You can refer to the help documentation at http://www.DynamicPDF.com/Support/NET_Help_Library_08_05/webframe.html
.
If your template is a .doc file or any other file format then you will have to use the Converter product to convert these files into PDF documents.
Thanks,
ceTe Software Support Team.
Re: Needed a Printer Which will select a template+Urgenly needed
Forum member · Aug 29, 2008I need to apply some templates (custom templates) to an existed pdf files.
Like we have power point presentation when i change the template accordingly the data in the slides will be chanaged. For some templates the font will be changed and for some other templates align ment will be chnaged. depending on the selcted template for the slides.
Similarly i need that to PDF files.
Like when i set template to a pdf file that template has to be applied to that pdf file.
It is allowed to convert the pdf files to any other format file which will be suited to apply templates
then apply template and again reconvert to pdf (it would be more better if it is done directly without converting from pdf file to other formats)
Is there any tool like that
if it is there please tell me in detail as it is urgent
Re: Needed a Printer Which will select a template+Urgenly needed
Forum member · Aug 29, 2008as u told i Have seen "invoice" of Merger Example.
There iam getting a small issue.
i have some problem with http..
so i recreated an asp.net website and copied the entire site(Merger Examples) to my new website.
Now i have a website with same files n iam able to run properly.
Now i want to change the pdf back ground so i replaced "invoice.pdf" with "fw9AcroForm_03.pdf" in all files
Now iam getting an exception in
"document.DrawToWeb( "fw9AcroForm_03.pdf" );" this line
if i want to execute invoice file but with different back ground what steps do i need to follow
Re: Needed a Printer Which will select a template+Urgenly needed
Support · Aug 29, 2008Hello,
It is not possible to convert the PDF documents into other file formats. You can convert other files into PDF documents using our DynamicPDF Converter product.
You can apply the templates to the PDF documents only. But you can not merge a PDF with a word document or a power point file directly. You will have to use the converter to convert the files and to append with another PDF.
If you want to change the template of the Invoice example in MergerExamples then you will have to set the path of the template in the method "SetTemplatePath". This is the method which sets the template. The DrawToWeb method is not related with the template. This method is to output the PDF to the browser.
What exact error are you getting? Please provide us the full error details so that we can look into it further.
Thanks,
ceTe Software Support Team.
Re: Needed a Printer Which will select a template+Urgenly needed
Forum member · Aug 29, 2008I actaully set the pdf file name in "SetTemplatePath" also.
The error is coming as Invalid Page number under "document.DrawToWeb("fw9AcroForm_03.pdf")"
the problem might be in the document. How can i debug this
Re: Needed a Printer Which will select a template+Urgenly needed
Support · Aug 29, 2008Hello,
It looks like there is some problem in using this particular PDF (fw9AcroForm_03.pdf) document as a template. We are able to use other PDF documents as templates without any problem. We will forward this issue over to developers to look into it further.
Thanks,
ceTe Software Support Team.