audreyf@killer.UUCP (Audrey Fischer) (10/03/86)
We are currently having a BIG problem trying to get two printers to work under RMcobol version 2.0d (or 2.1a2). The only solutions given by RM and AT&T is to: 1. write the second file to disk instead of to a printer and then use a system call to spool the file to the printer. The problem(s) with this are numerous, mostly that it is hard to implement in multi-user. Disk space is also a factor. 2. Open one file, print and then close it and then open the second print file etc. This is somewhat workable, but RM's manual claims there is a way to simultaneously open printer files. In the RM manual, they claim that runconfig.c (which contains a synonym table that associates COBOL names with actual UNIX devices) can be setup to have the COBOL name PRINTER associated with UNIX /bin/lpr (which doesn't exist). Is anyone currently running an application that uses two printers from the same program???? Thanks in advance.