support: Customer Portal
Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets
 

Veryant Knowledge Base
Home > All Categories > Transitioning to isCOBOL > Acucobol-GT > How do I print to a spooler in Unix?
Question Title How do I print to a spooler in Unix?

Question:

Currently, under ACUCOBOL, I open a disk file using a working storage variable name. That variable holds a generic name which can be found in the configuration file. That generic name translates into a spooler command (e.g. "PRINTERHP -P lp -s -oraw -dhplaser").
How does isCOBOL handle filename expansion, and can I keep my files defined as SELECT ... from DISK? Are there any other changes I need to make to my ACUCOBOL-GT programs to get the same print behavior?

Answer:

Accessing printers on a Linux machine works the same in isCOBOL as it does in ACUCOBOL-GT. You won't need to make any changes to your code.

For filename expansion, you should set the following variable in your properties file:

   iscobol.file.env_naming=1

Authored by: Veryant Support This question has been viewed 8201 times so far.
Click Here to View all the questions in Acucobol-GT category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this question. Be the first to post a comment. Click Here
Related Questions Related Questions
  1. How do I set up isCOBOL to access Vision files?
  2. What ACUCOBOL-GT library routines are supported?
  3. How do I get my screens to be the same size and spacing as when I run with ACUCOBOL?
  4. Is there a way to have single set of source code that will compile with both ACUCOBOL and isCOBOL?
  5. Does isCOBOL have a utility to migrate Vision files to MS-SQL and PostgreSQL ?
  6. What compile options should I use for a program written for Acucobol-GT?
  7. What is the easiest way to convert the ACUCOBOL-GT configuration file?
Article Information Additional Information
Article Number: 16
Created: 2009-08-28 1:49 PM
Rating: 2 Stars
 
Article Options Article Options
Print Question Print this Question
Email Question Email Question to Friend
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
Bookmark Article
Subscribe to Article Subscribe to Article
 
Search Knowledge Base Search Knowledge Base



 
 

© Veryant - All Rights Reserved
Veryant and isCOBOL are trademarks or registered marks of Veryant in the United States and other countries. All other marks are the property of their respective owners.