[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] Addressing printer in report writer program.

From: Kevin Monceaux
Subject: Re: [open-cobol-list] Addressing printer in report writer program.
Date: Fri, 7 Mar 2014 20:25:22 -0600
User-agent: Mutt/1.5.22 (2013-10-16)

On Fri, Mar 07, 2014 at 04:09:59PM -0500, john Culleton wrote:

> On a Linux system is there a way to send report writer output directly to
> the printer? 

One could write the output directly to /dev/lp0, or whatever device node is
associated with the printer, but it would be better to send output through
the print spooling system instead of writing to the printer directly.

> Or do I just send it to a Line-sequential file and print it off-line?

I haven't tried the report writer yet myself.  Writing to a file then
printing the file via lpr would be safer than sending the output directly to
the printer.  But, if the printer is off-line it won't print.  It would need
to be on-line before it would print anything.  :-)  Or, if a report writer
program can write the output to stdout the program output could be piped to
lpr to print.  


Bruceville, TX

What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]