View previous topic :: View next topic
|
Author |
Message |
meaanand
New User
Joined: 11 Sep 2004 Posts: 16
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
meaanand
New User
Joined: 11 Sep 2004 Posts: 16
|
|
|
|
Thanks Bill for your reply.
i will check with them too.. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
meaanand
New User
Joined: 11 Sep 2004 Posts: 16
|
|
|
|
Thank you everyone for your quick thoughts...
thanks |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
Just what is the carriage? |
it' s a pumpkin gone thru the appropriate preprocessor |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
enrico-sorichetti wrote: |
Quote: |
Just what is the carriage? |
it' s a pumpkin gone thru the appropriate preprocessor |
That is worth "quoting" :-) |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
meaanand
New User
Joined: 11 Sep 2004 Posts: 16
|
|
|
|
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 |
|
|
haimzeevi
New User
Joined: 01 Mar 2010 Posts: 27 Location: Israel
|
|
|
|
Phil, Enrico,
I used to punch those "carriage control" paper-loops for 2914 printer...
Haim |
|
Back to top |
|
|
|