Consultor Eletrônico



Kbase P28530: How to send LF to a Device
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   30/06/2003
Status: Unverified

GOAL:

How to send LF to a Device

GOAL:

KB17839

FACT(s) (Environment):

When you want to send a LF (Line Feed) character to a device and make
certain that Progress does not translate it to a CR/LF sequence, use
the following code:

PUT CONTROL CHR(10).

CAUSE:

KBase #: KB17839
Title: How to Send LF (Line Feed) to a Device
Type: N
--------------------------------------------------------------------------------

How to Send LF (Line Feed) to a Device

When you want to send a LF (Line Feed) character to a device and make
certain that Progress does not translate it to a CR/LF sequence, use
the following code:

PUT CONTROL CHR(10).

Doing code like the following will not work in all instances due to
the fact that we attempt to translate what we consider to be EOL (End
Of Line) characters to CR/LF characters on platforms for which the
normal EOL characters are CR/LF instead of just LF.

OUTPUT TO FILE <FileName> NO-CONVERT.
PUT UNFORMATTED CHR(10).

Progress Software Technical Support Note # 17839