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
37%
Installation Wizard into new VRC
39%
Manual into existing VRC
3%
Manual into new VRC
21%
Total votes: 38

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 3rd May 2006, 16:31
Joy Conner's Avatar
Joy Conner Joy Conner is offline
Guru
 
Join Date: Aug 2001
Posts: 375
Joy Conner is on a distinguished road
Baan: IVc4 - DB: MS SQL - OS: Windows Server 2008 & 2008 R2
Printing Company Logo on Invoice

I need to develop the capability of printing a logo on invoices in lieu of using pre-printed forms. In fact it is a little more complicated. The report layout must recognize a condition and under condition "A", print logo-A and under condition "B", print logo-B.

I've seen the posted power point presentation which is posted on this site and read many postings on this subject.

Will someone please comment about the feasibility of managing 2 logos and the complexity of the development.

Thanks in advance for your feedback.
Reply With Quote
  #2  
Old 3rd May 2006, 17:06
csecgn's Avatar
csecgn csecgn is offline
Guru
 
Join Date: Aug 2004
Location: Cologne/Germany
Posts: 300
csecgn is on a distinguished road
Baan: IVc4 SP14 (Tools SP 21) ; LN 6.1 (Testing) - DB: Oracle - OS: Solaris
I think there are many ways to solve it.
Our way is as followes:
We are using HP printers with a RAM-Module. In this module different Logos are stored as macros. It needs some special ESC-Sequences (nothing complicate) to activate them and so print the logo. This code ist stored in a barcode-font

One Field in the report, print.condition says print or print not and you have the possibilty to say which logo has to be printed.

Example for the type-file (our logo has three parts, including the background for the formular)

Code:
#!/bin/sh
#
code=$1
if [ "$code" != "" ]
then
  echo "\033&fs30001 y3x1S \c"
  echo "\033&fs30000 y3x1S \c"
  echo "\033&fs10$code y3x1S \c"
else
  echo "\033&fs30000 y3x1S \c"
fi
For creating the Macros we use Word and print a "designed" page to file. The prn-file contents all you need for the macro.

hth

Regards
csecgn

Last edited by csecgn : 3rd May 2006 at 17:17.
Reply With Quote
  #3  
Old 3rd May 2006, 17:31
Joy Conner's Avatar
Joy Conner Joy Conner is offline
Guru
 
Join Date: Aug 2001
Posts: 375
Joy Conner is on a distinguished road
Baan: IVc4 - DB: MS SQL - OS: Windows Server 2008 & 2008 R2
This is an interesting approach

You have opted NOT to use a TrueType Font! I will see if our printers have this capability.
Reply With Quote
  #4  
Old 3rd May 2006, 17:37
csecgn's Avatar
csecgn csecgn is offline
Guru
 
Join Date: Aug 2004
Location: Cologne/Germany
Posts: 300
csecgn is on a distinguished road
Baan: IVc4 SP14 (Tools SP 21) ; LN 6.1 (Testing) - DB: Oracle - OS: Solaris
We don't use bwprint, so we did it all in PCL. In my opinion on Unix the better way - but with windows not possible.
The same way works also for barcodeprinting with Fonts&More Modules.

Regards
csecgn

Last edited by csecgn : 3rd May 2006 at 17:50.
Reply With Quote
  #5  
Old 3rd May 2006, 17:52
~Vamsi's Avatar
~Vamsi ~Vamsi is offline
Guru
 
Join Date: Aug 2001
Location: San Diego CA, USA
Posts: 590
~Vamsi will become famous soon enough
Baan: ~*~ - DB: ~*~ - OS: ~*~
Joy,

If you never print via jobs, the BWPrint solution using truetype fonts is easier to develop. The PCL method on the other hand can output much more complex documents than BWPrint can. As for the different logos, that is a piece of cake regardless which solution you choose.
__________________
~Vamsi
Vamsi Potluru
Baan XL Yet another tool to format Baan output in Excel from Baan Board
This one just happens to be free :)

Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
  #6  
Old 3rd May 2006, 18:08
Joy Conner's Avatar
Joy Conner Joy Conner is offline
Guru
 
Join Date: Aug 2001
Posts: 375
Joy Conner is on a distinguished road
Baan: IVc4 - DB: MS SQL - OS: Windows Server 2008 & 2008 R2
I am considering the BWPrint option but I am having some difficulty with the layout. Thinking about outsourcing this. I have a true type font and I have managed to put it in the layout. Problem is I'd like to print address information on the left side and the logo on the right side. The output prints one line of address information on the left, then it prints the logo. The logo leaves a large amount of white space on the left. The remaining address lines print on the left side below the line with the logo.

How can I control this?
Reply With Quote
  #7  
Old 3rd May 2006, 19:53
Neal Matthews's Avatar
Neal Matthews Neal Matthews is offline
Guru
 
Join Date: Sep 2001
Location: Nottingham
Posts: 483
Neal Matthews is on a distinguished road
Baan: Baan IVc4 ags0 - DB: Informix 9.40 UC4 - OS: Sun Solaris 9
Not a answer to this question but more of an opinion if I may.

In your circumstances of replacing pre printed forms it well may be worth going to the trouble of purchasing some external software to handle this sort of thing. Especially if you are considering going to the additional cost of outsourcing.

I suppose it depends if you would have any other uses for forms software. You would certainly get a more professional output.

Cheers
Neal
Reply With Quote
Sponsored Links
  #8  
Old 4th May 2006, 00:08
~Vamsi's Avatar
~Vamsi ~Vamsi is offline
Guru
 
Join Date: Aug 2001
Location: San Diego CA, USA
Posts: 590
~Vamsi will become famous soon enough
Baan: ~*~ - DB: ~*~ - OS: ~*~
You are already running into the limitations of BWPrint. BWPrint is a line based application. So the height of the line is the max height of biggest font on that line.
__________________
~Vamsi
Vamsi Potluru
Baan XL Yet another tool to format Baan output in Excel from Baan Board
This one just happens to be free :)

Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
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
open purchase order with wrong price nopadon Distribution, Transportation & Warehousing 2 4th March 2006 16:11
Nueva compañia en BAAN polbc04 Forum español 2 27th December 2005 09:05
Inserting Company logo into PDF bvallepalli Tools Development 2 22nd September 2003 16:26
How to print Company Logo on a Report Page ? baaniac Tools Development 6 11th October 2002 00:37
How can I prevent the users from using a company? i96nds Tools Administration & Installation 7 16th April 2002 19:33


All times are GMT +2. The time now is 13:29.


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