MakamArun
19th December 2001, 06:43
Can anyone help me out to define a User defines fonts which will print my reports twice or thrice bigger than the normal fonts.
Thanks in advance.
Han Brinkman
19th December 2001, 10:58
On what system? To be honest I have never done it on NT, on unix it not that difficult.
You have to find in the documentation of your printer the escape sequence that's specifies the font you want to use. Then you have to update in $BSE/lib/printinf the printer driver for your printer.
If you experience problems please let us know.
Rgrds,
Han
MakamArun
19th December 2001, 12:57
Hi
Our OS is UNIX. Can I have the printinf file you have defined.
Pl. send it to makamarun@hotmail.com or to this thread here
Thanks for the reply.
victor_cleto
20th December 2001, 15:07
To help new people to understand this thread, maybe this is usefull:
The printer drivers used by Baan are plain text files with the printing codes (=escape codes) defined on them.
These files are located under:
$BSE/lib/printinf/<first_letter_of_printer_brand>/<printer_driver>
So, for example, your HP printer driver for and HP Laserjet 4 is located in
$BSE/lib/printinf/h/hp_lj4 (normal mode)
$BSE/lib/printinf/h/hp_lj4_lndsc (landscape mode)
Now, notice that the escape sequences that control font size, font type, form feed, etc., are printer dependent. If your printer mentions compatability with PCLx or other, then you probably can use an existing driver that already supports that, otherwise you will need to manually add those codes to your driver.
Suggestion: look for an existing compatible driver, copy it and work on it untill your printing is what you need. If nothing seems to work, you may have to get in touch with some companies that develop printer drivers (last resort, costs $$$).
MakamArun
22nd December 2001, 11:39
Hi
Thanks for your information. I would like to know where exactly do I have to specify that when in my reports if I am selecting User Defined Font1 it should print bigger. i.e where do I map these User Defined Font1 = twice bigger as normal,
User Defined Font2 = thrice bigger as normal
Does BaaN has any session to map these information?
mark_h
25th December 2001, 04:58
Hi Arun,
When you define your report fields you can define which font to use for that field. So for example when you define user font 1 as double the size, then you can go to the report, select the field you want, and then select user defined font 1.
This is after you can your driver file that is in the printinf directory. I might be able to dig out an example when I return to work. Just let me know if you need one.
Mark
MakamArun
27th December 2001, 09:26
Hi Mark,
Yes it will be helpful for me if you were able to dig out one for me.
mark_h
27th December 2001, 16:45
Attached is a word document that shows what is in my hp_lj4 driver. It also has a screen print from one of my reports that I modified to use the pfont 1.
Mark
MakamArun
28th December 2001, 11:51
Thanks Mark
I will try this out and come back to you
dkorst
28th December 2001, 19:31
One other option that you can try and use is changing the font with BWPrint.
If you run the report, sending the output to a printer (preview won't work to display), the print preview check box should be available to you on the Device selection screen. If you check the box, the report will come up in preview mode.
Put your cursor over the field that is defined with the user font, and RIGHT click. You should get a menu that has fonts, then change font whatever user font number is assigned to that field. You can then assign any font on the PC (client).
This will assign that font to the user font for that PC only. Anytime a report is run from that PC with a field that uses that user font number, the assigned font will be used. Draw back is you have to do this on all PC's that will run that report. This also works for assigning barcode fonts, micro code fonts, and logos (if the logo is loaded as a font).
Just a thought.............
Debbie Korst
RMCis Corp.
MakamArun
1st January 2002, 11:12
Hi,
Changing pfont1 in printinf file as well as changing fonts in preview of bwprint my desired result was achieved.
I found changing pfont1in preview of bwprint is more felxible than changing in printinf file. The funda is define your report fields as User Defined font1 and in bwprint preview right click on the same data field and go to fonts menu and do the necessary changes and save. So what ever form fields defined as User Defined Font1 is changed to the new set fonts !!! (it is necessary that one has to right click on the same field where the report field is User Defined Font1) .
These changes made are stored in the registry of the local PC so the next time you print the same report will, have the changes on.
Thanks all for helping me out.
mohitsoni143
28th May 2009, 08:38
hi all, i want to set the default font for the reports as arial...but i dont know how to do it..m using win2k3 server and infor LN 6.1 ......anyone to help me ?? my mail id is mohitsoni143@yahoo.co.in .....suggestions will b appreciated....
mark_h
28th May 2009, 16:27
This thread explains how to do it using unix printing for bwprint this thread (http://www.baanboard.com/baanboard/showthread.php?t=55941) demonstrates how to do it with bwprint.
Please post your question once and give time for people to find the thread and reply. I will cleanup some of the other threads.
mohitsoni143
3rd June 2009, 09:39
i want to change the report font to Arial but i am not able to achieve i desire...could u plz help me to sort out the problem...quite urgent....
the details are as under :
OS : WIN2K3
DB : SQL 2000ERP
AND ERP LN 6.1
SUGGESTIONS WILL BE APPRECIATED....
mark_h
3rd June 2009, 16:41
In this thread it is this easy.
(1) See post above by Victor Cleto and post by me for example
(2) Edit the print driver
(3) Pick which user defined font you are going to use(in my example pfont1 was used)
(4) Put the correct escape sequence or print code into the print driver.
(5) Save the print driver
(6) Go to the report, select the defined user font.
(7) Compile report
Report now has the new font you defined. Of course I do not know about bwprint - I know this works with our UNIX printing. I also can not help on the escape sequence you will need to look that up for your printer. I would also make sure the printer has the appropriate font and can support Arial.
So if using bwprint go to the other thread and try the steps. I do not use bwprint so I can not help there. But if you try that then explain what steps you have tried and where you ran into issues. The more information you give on the problem the better someone can assist.