IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Is it possible to BOLD report header


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
meaanand

New User


Joined: 11 Sep 2004
Posts: 16

PostPosted: Wed Oct 17, 2012 12:14 pm
Reply with quote

Hi All,
Is there any function/way to BOLD the report header in COBOL.

COBOL FIRST REPORT
PAT NO MRN PAYABLE
12345 12345678 $1000.00


I have finished the report with the page break logic everything, but now user is expecting that the report header should be bold when it routed to the printer.
Please guide me, is there any possible way to do that.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Oct 17, 2012 1:18 pm
Reply with quote

Have you tried "write without advancing"? :-)

What type of printer are you using? If no-one at your site is doing this, talk to your technical people - solutions will vary.
Back to top
View user's profile Send private message
meaanand

New User


Joined: 11 Sep 2004
Posts: 16

PostPosted: Wed Oct 17, 2012 1:27 pm
Reply with quote

Thanks Bill for your reply.
i will check with them too..
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Oct 17, 2012 2:02 pm
Reply with quote

only if You use an impact printer

or if the software driving Your NON impact printer is smart enough to analyze consecutive lines to change the font to bold
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 17, 2012 2:43 pm
Reply with quote

Long long ago we used 3800 laser printers with specials CHARS parameters to accomplish bold printing. For remote printers one has to supply control characters for font control.
For the rest what Bill Woodger says : talk to your technical people.
Back to top
View user's profile Send private message
meaanand

New User


Joined: 11 Sep 2004
Posts: 16

PostPosted: Wed Oct 17, 2012 2:48 pm
Reply with quote

Thank you everyone for your quick thoughts...

thanks
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Wed Oct 17, 2012 5:24 pm
Reply with quote

The SAS Log used to print ERROR and WARNING lines in triplicate. The carriage control character for the first two suppressed advancing, thus printing bolder for impact printers.

BTW - I wonder if younger folks understand the term "carriage control." Just what is the carriage?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Oct 17, 2012 5:28 pm
Reply with quote

Quote:
Just what is the carriage?


it' s a pumpkin gone thru the appropriate preprocessor icon_cool.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Oct 17, 2012 5:33 pm
Reply with quote

meaanand, it may -- or may not -- be possible to do what you want. Bold print is a printing function and has nothing to do with COBOL. Whether or not bold is possible depends upon your site setup, the specific printer being used, and only someone working at your site will be able to tell you whether or not it is even possible to print bold on that particular printer.

Talk to your site support group, or team leader, or coworkers to find out. Since we at this forum do not work at your site, there is no way we can provide any kind of answer (other than guesses).
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Oct 17, 2012 5:40 pm
Reply with quote

enrico-sorichetti wrote:
Quote:
Just what is the carriage?


it' s a pumpkin gone thru the appropriate preprocessor icon_cool.gif



That is worth "quoting" :-)
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Oct 18, 2012 3:10 pm
Reply with quote

I agree with Robert. Bold print or for that matter any playing with letter-styles is a printing function and not a COBOL function. There are many ways of doing it, AFP is one among them, if you want to use differnt font type/styles.
Back to top
View user's profile Send private message
meaanand

New User


Joined: 11 Sep 2004
Posts: 16

PostPosted: Thu Oct 18, 2012 6:12 pm
Reply with quote

Thanks a lot everyone for your suggestions. We have informed the team at onsite and they are following this one with the appropriate team regarding this.

thanks.
anand
Back to top
View user's profile Send private message
haimzeevi

New User


Joined: 01 Mar 2010
Posts: 27
Location: Israel

PostPosted: Sun Oct 21, 2012 3:28 pm
Reply with quote

Phil, Enrico,
I used to punch those "carriage control" paper-loops for 2914 printer...
Haim
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Need help on formatting a report DFSORT/ICETOOL 14
No new posts Creating Report using SORT DFSORT/ICETOOL 7
No new posts Insert header record with record coun... DFSORT/ICETOOL 14
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
No new posts Report of batch jobs JCL & VSAM 1
Search our Forums:

Back to Top