Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 18th September 2003, 17:23
bvallepalli bvallepalli is offline
Junior Member
 
Join Date: Sep 2002
Posts: 9
bvallepalli is on a distinguished road
Inserting Company logo into PDF

My requirement is to generate a PDF document from a Baan report and Insert the company logo into the pdf document and auto e-Mail this report to supplier/Requestor.

This process should run without any human intervention in addition to printing the report as per user choice. I could achieve the following results.

1. Convert Baan generated report to Postscript file.
2. Convert the post script file to PDF.
3. Auto e-Mail the document.

(Thanks to Baanboard)

The only problem I am facing is the Ghost script some how doesn't like the company logo image.

Any ideas on how to achieve this? If required I can get the report as HTML file and convert this to PDF. I found that all the shareware programs which convert HTML to PDF skip the images.

I am on Baan 5.c and Windows 2000.
Reply With Quote
Sponsored Links
  #2  
Old 18th September 2003, 22:28
p.cole's Avatar
p.cole p.cole is offline
Senior Member
 
Join Date: Nov 2001
Location: Portsmouth, UK
Posts: 265
p.cole is on a distinguished road
Baan: Baan IVc4 SP20, ERP LN FP3 - DB: MSSQL 2005 - OS: W2K3
I have done a similar thing using the following method:-

1. Print Baan report to file
2. Use windows scripting host (vb script) to automate the generation of a PDF using PDFlib (from www.pdflib.com).
3. Copy the pdf to the client pc using bw client
4. Generate a vb script that will send the email using "outlook redemption" (search google)
5. Copy vb script to client pc using bw client
6. Start vb script on client (using bw client), the vb script creates an outlook mail message and attaches the PDF and emails it.

Quite fiddley to setup but very flexible. It can also be made platform neutral since most of the grunt work is done on the server and PDFlib is available on many platforms.

Phil
Reply With Quote
  #3  
Old 22nd September 2003, 15:26
macoxy's Avatar
macoxy macoxy is offline
Member
 
Join Date: Dec 2002
Location: Slovenia
Posts: 53
macoxy is on a distinguished road
Baan: IVc - DB: informix - OS: UNIX-AX
I had same problem and i have done it this way.
1.) Copy the report to client PC
2.) Use visual basic or word macro to add the logo from file (bmp or jpeg...), and make some text reordening.
3.) Use some tool to conver document to pdf
4.) send via email, we have Lotus Notes so i had to do ssome more VB programing to avtomate job.
__________________
Maco
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to print Company Logo on a Report Page ? baaniac Tools Development 6 10th October 2002 23:37
How can I prevent the users from using a company? i96nds Tools Administration & Installation 7 16th April 2002 18:33


All times are GMT +2. The time now is 16:33.


©2001-2017 - Baanboard.com - Baanforums.com