Consultor Eletrônico



Kbase P14730: 4GL/ABL: USB Printer does not print with DOS or OS-COMMAND statements.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   23/11/2009
Status: Verified

SYMPTOM(s):

4GL/ABL: USB Printer does not print with DOS or OS-COMMAND statements.

USB Printer fails to print with DOS statement.

USB Printer can not print via OS-COMMAND statement.

FACT(s) (Environment):

Windows
Progress 9.x
OpenEdge 10.x

CAUSE:

Most USB printers are not compatible with MS-DOS-based programs because USB port printing from DOS is not supported by Microsoft. MS-DOS-based programs may print through a USB port only if there is a DOS printer driver for the printer. Since the Progress 4GL OS-COMMAND and DOS statements use the default DOS utilities to do the printing, they can not print to a USB printer unless the printer has a DOS driver or the application includes such a driver.

FIX:

1. If the printer includes both parallel and USB interfaces, connect the printer using the parallel port.

2. Contact the printer manufacturer and see if they have DOS driver for the USB port connection.