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

Can COBOL print underlines


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 3156
Location: Tucson AZ

PostPosted: Sat Jan 06, 2007 5:00 pm
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
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: 3156
Location: Tucson AZ

PostPosted: Sat Jan 06, 2007 6:24 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top