Consultor Eletrônico



Kbase P70333: OUTPUT THROUGH lp -d does not print to the specified printer
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   05/03/2004
Status: Unverified

FACT(s) (Environment):

RedHat Linux 8.0

SYMPTOM(s):

Output through 4gl statement with lp -d does not print to the printer specified in the -d.

Using -d to specify another printer, prints to the default printer and not the one specified.

-d parameter allows specific printer to be specified.

Using lp -d on the command prompt prints to the correct printer specified in the -d listing.

The printers are on Windows boxes and are "mapped" through Linux

CAUSE:

The exact cause is unknown at the time of this writing

FIX:

Modify the OUTPUT THROUGH statement as follows:

OUTPUT THROUGH VALUE('lp') VALUE('-d printer_name')