Consultor Eletrônico



Kbase P16720: _OSPrint uses a page height of eleven inches on Windows 2000 when printing to the Generic / Text Onl
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

FACT(s) (Environment):

Progress 9.x
Windows 2000

SYMPTOM(s):

Trying to print using _osprint to a form that is seven inches high

Using the Generic / Text Only printer driver

Printer driver on Windows 2000 no longer has an option to set the height of the printed page

_osprint is using a default height of eleven inches

CHANGE:

Upgraded to Windows 2000

CAUSE:

The Generic / Text Only printer driver on Windows 2000 does not provide a way any longer to specify the height of a page in inches. This causes _osprint to use a default height of eleven inches.

FIX:

Do not use _osprint. Use the following instead:

OS-COMMAND SILENT VALUE ('CMD /C COPY <SomeFileName> \\SomeMachine\SomePrinter')