Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Can COBOL print underlines

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
sandeep1dimri

New User


Joined: 30 Oct 2006
Posts: 76

PostPosted: Sat Jan 06, 2007 12:19 pm    Post subject: Can COBOL print underlines
Reply with quote

Hi

Can cobol can write the below format( Please note that i m concerned about a unline words)

sandeep

or please suggest a way to do that.

Sandeep
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sat Jan 06, 2007 5:00 pm    Post subject:
Reply with quote

Hi Sandeep,

If you are asking, "Can COBOL print underlines?", the answer is "It depends". It depends on what you are going to use to do the printing, that device needs to have an underlining capability.
So I guess the answer is yes, COBOL can write in that format, whether or not the final appearance will show the underlines depends on the output device.
As an aside, back in the old days, underlining was done (on a high speed line printer) by printing the line of text and then printing the underlines needed on the same line. Bolding was done by repeated printing of the same text needing to be bolded on the same line.

Hope that helps,

Bill
Back to top
View user's profile Send private message
sandeep1dimri

New User


Joined: 30 Oct 2006
Posts: 76

PostPosted: Sat Jan 06, 2007 5:42 pm    Post subject:
Reply with quote

Hi William-

Thanks for the valuable information. Could you suggest the way to do that.
I m taking about how to make the printer to print unline words or to check that whether in our shop our printer can do that.

Thanking you in advance.
Sandeep
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sat Jan 06, 2007 6:24 pm    Post subject:
Reply with quote

Hi Sandeep,

The first thing, I think, is to find out what kind of printer(s) your shop has. There is no way (that I can think of) to implement (or even test for) underlining without determining the printer make and model (and possibly features).

I'm sorry I can't help any more than this, but without additional information my hands are tied.

Awaiting more information,

Bill
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us