Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

Printer Redirection

$
0
0

I'm starting the progress of migrating RM Cobol (Linux) to RM Cobol/Visual Cobol(Linux) with Eclipse (Windows)


The problem I've encountered is if the Cobol Code has the "ASSIGN TO PRINTER" clause the program in RM/VC redirects the report to a file called "LPT1", which I know is a throwback to the older Parallel printers. Normally "ASSIGN TO PRINTER" just directs the report to the file name specified before the ASSIGN clause, which we could handle via redirection in Linux. That doesn't appear to work with RM/VC. I've even tried using "ASSIGN" to a file, but the file only had 6 of the 80+ lines the report should've had. I should mention that the LPT1 is the complete report, but I really need to control where this file is created and what it is called.

Any Ideas?


Viewing all articles
Browse latest Browse all 4356

Trending Articles