gnucobol-users
[Top][All Lists]
Advanced

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

Re: [open-cobol-list] ASSIGN for printer.


From: Alain Lucari
Subject: Re: [open-cobol-list] ASSIGN for printer.
Date: Thu, 26 Oct 2006 21:55:00 +0200

Hello John,

Le Thu, 26 Oct 2006 14:54:30 -0400
"John R. Culleton" <address@hidden> a écrit:

> The following do not work:
>             SELECT PRINTFILE ASSIGN TO PRINTER.
>             SELECT PRINTFILE ASSIGN TO "PRINTER".
> 
> This is Slackware Linux. The printer is  /dev/lp. The printer is
> PostScript.  Error msg:
> libcob: WRITE not allowed (STATUS=48) File : 'PRINTER'
> 
> Permissions on directory are 777.
What directory ?
> 
I think that NOBODY on Unix from 30 years try to print directly.
You can try something like :
   select PRINTFILE assign to "PRINTER" organization line sequential.
and, at the end of the program or in the shell do 
lp -d printer PRINTER

See CUPS documentation.

Regards
-- 
Alain Lucari (Eurlix)


reply via email to

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