COBOL User Groups COBOL COBOL Programming
Home | Search | Join COBUG | Call for User Group Leaders | Contact | About
COBOL Jobs | Submit Resumes | Post Jobs | COBOL Forums | Advertise with us

COBOL Resources

 >  Blogs
 >  Books
 >  COBOL Examples
 >  Courses
 >  Forums
 >  Knowledge Bases
 >  Magazines
 >  Manuals
 >  Portals
 >  Support
 >  Tutorials
 >  User Groups
 >  White Papers

COBOL Software

 >  Change Management
 >  COBOL Compilers
 >  Data Access
 >  Database
 >  Documentation
 >  Editors
 >  File Conversion
 >  GUI
 >  Legacy Migration
 >  Legacy Modernization
 >  Mainframe Security
 >  Report Generators
 >  Sort
 >  Terminal Emulators
 >  Test
 >  Tools
 >  Trans. Processing

COBOL Information

 >  Events
 >  Job Resources
 >  News Articles
 >  Newsletters
 >  Product News
 >  COBOL Standards

On-Demand Webcast

Transform COBOL or PL/I Applications from IMS to DB2 (case study). Many organizations today are looking to consolidate their use of legacy databases around industry standard environments. BluePhoenix DBMSMigrator™ for IMS gives you the ability to incrementally migrate COBOL applications from IMS to DB2.

LogicMiner White Paper

COBOL Business Rule Mining: Get a Detailed Analysis of your COBOL Applications. This white paper introduces BluePhoenix™ LogicMiner, a COBOL analysis tool that can provide your organization with a detailed roapmap of your COBOL applications, including a dead code analysis.

COBOL Report Generator

Print graphical COBOL reports in Windows with RPV Reports. Insert graphics (images, photos, logos, charts, etc.) into your COBOL reports to improve the print quality of your COBOL reports. See how RPV Reports can be used to preview or print graphical COBOL reports in Windows.

Application Understanding

Are your mainframe COBOL applications properly documented? DCD III is a comprehensive COBOL documentation and application understanding tool that will allow you to reduce COBOL maintenance, development, and mainframe migration costs. Learn more about how you can document and understand your mainframe COBOL applications with DCD III.

Mainframe Migration

Migrate your mainframe batch COBOL applications to open systems platforms, such as Windows, AIX and Linux, with OpenSCL. OpenSCL is a mainframe emulator that runs on a PC or server with Windows and Unix-based operating systems. OpenSCL is your batch COBOL applications mainframe migration solution.

Advertise With COBUG

Advertise on the COBOL User Groups (COBUG) website and reach tens of thousands of COBOL users. Increase your COBOL sales leads. Contact COBUG at advertise@cobug.com for advertising rates.
 

COBOL Forums

 
COBOL Language [ return ]
From Message
bhotong

 Email

2/28/2007
07:03:42
Subject: FONT size on MAINFRAME


Message:
I was wondering if it is possible to chnage the font size of a report heading in a cobol program. How would I do it?


ssieast

2/28/2007
07:52:57
RE: FONT size on MAINFRAME


Message:
You need to be able to send control characters directly to the printer - no print manager between your code and the printer. You also need to know the specific control characters that your printer uses for font. You should be able to find these from the printer manual.

For exmaple, if your printer is using Epson emulation, you would use the following syntax to change the font size to 15 characters per inch.

string x"1Bg" delimited by size
into print-line
end-string.
write print-rec from print-line after 0 lines.

Let me know if this helped.


bhotong

2/28/2007
08:01:35
RE: FONT size on MAINFRAME


Message:
Thanks! That means then if the company changes printers, the program will have to change. It may be best to just not try to be too fancy!




JWL

2/28/2007
13:13:33
RE: FONT size on MAINFRAME


Message:
Instead of hard coding the control characters, set up a record in a file that contains the necessary control characters.

Write a routine that allows you to change these characters for different printers. An alternative is to have the records for the different printers and allow the user to select the printer that must be used.

Regards

jwl


 
[ Go to Top of Page ]
COBOL XML - XMLThunder Ad
Fujitsu COBOL Compiler, Legacy Mainframe Migration - Fujitsu netCOBOL Ad
COBOL Tools, Grahics - Flexus Ad
Legacy COBOL Data Access - Connx Solutions Ad
COBOL Code, Source Code - Source Recovery Company Ad
COBOL Migration - Ateras Ad
COBOL Legacy CICS Mainframe Migration - VTA Software Ad
COBOL Data Access - Parkway Ad
COBOL Legacy Mainframe Migration - CA Ad
COBOL Legacy Mainframe Migration - Transoft Ad
Unisys COBOL Legacy Mainframe Migration - Asysco Ad
COBOL Documentation, Application Understanding - Marble  Ad





Call for Articles
COBOL Newsletters Articles are being sought for the COBUG newsletters.
Will you help us in our efforts to provide newsletters for the COBOL community at large? Contribute to the COBUG newsletters! Answer this call for COBOL and related legacy articles.

Local COBOL User Groups
COBOL User Group Check out the list of local COBOL user groups from around the world and join a user group near you.


Call for User Group Leaders!
COBOL User Groups Get Involved! We are looking for user group leaders to help organize and coordinate a local COBOL user group.

Join COBUG!
COBOL User Groups Become a part of the COBUG community today. Join Now ...


COBOL Forums
COBOL Forum Try our forums for help!
Let the COBUG members help you. Post your issues!



Job and Resume Matchmaker!
COBOL Jobs Employers submit your COBOL job openings. Job seekers submit your resumes.

COBOL (c) Information Computing Services. All Rights Reserved. COBOL