Home » Developer & Programmer » Reports & Discoverer » Character Reports with Bold Character (Urgent pls)
icon3.gif  Character Reports with Bold Character (Urgent pls) [message #152403] Thu, 22 December 2005 22:43 Go to next message
Atul P
Messages: 61
Registered: June 2003
Location: Mumbai-Jakarta
Member

HI

I am using Reports6i.
I have a character report.
When I Print It I wish to Print Certain LInes in BOLD.
For the Same I have added the following code in my .prt file.
------------------------------------------------------
FILE NAME : wide180.prt
CONTENTS :
printer "wide180"

height 66
width 180

after page control(L)

return control(M)

code "bold on" "BOLD"
code "bold off" "NORMAL"
------------------------------------------------------

In reports DESFORMAT I have specified the wide180.prt value also.
I have also added the code as &BOLD in my printer code Before Property and &NORMAL in my Printer Code After property.


However when I print the Report it prints say like this

BOLDMY TEXT FOR BOLDER PRINTINGNORMAL

What is wrong with what I have done.
is there any other way out.
I have Windows XP OS and Printer is Epson Stylus - LQ2170


Thks in Advance
Atul P
Re: Character Reports with Bold Character (Urgent pls) [message #152573 is a reply to message #152403] Sat, 24 December 2005 01:06 Go to previous messageGo to next message
sirishay
Messages: 40
Registered: August 2005
Location: Hyderabad
Member
hai,
Just try out this code.And select the fields you want to be printed in bold and set the font properties as "BOLD".
In DESFORMAT specify the pritner file as "Wide180".
And no need to add the code as &BOLD in my printer code.
hope this helps u out.
-------------------------------------------------
printer "wide180"

height 66
width 180

before report control(O)
after page control(L)
after report control(R)
return control(M)
linefeed control(J)

code "bold on" esc "W1"
code "bold off" esc "W0"
hilight overstrike
--------------------------------------------------

siri.
icon14.gif  Solved - Character Reports with Bold Character [message #152635 is a reply to message #152573] Sun, 25 December 2005 21:54 Go to previous messageGo to next message
Atul P
Messages: 61
Registered: June 2003
Location: Mumbai-Jakarta
Member

Laughing


Hey sirishay

Thank you so very much man.
The Problem has been spend 1.5 days in various forums
to get some solution but nothing.

Is it ok If i forward your solution in other forums where i came across same character report Font problems.

Thks a lot again
Aul P
Re: Solved - Character Reports with Bold Character [message #152640 is a reply to message #152635] Sun, 25 December 2005 23:44 Go to previous message
sirishay
Messages: 40
Registered: August 2005
Location: Hyderabad
Member
hai atul,
ya sure no problem u can forward the solution to other forums.

siri.
Previous Topic: ref cursor query
Next Topic: INTERNAL SERVER ERROR OCCURS WHILE LAUNCHING ORACLE10G REPORTS
Goto Forum:
  


Current Time: Tue Nov 26 10:47:58 CST 2024