ITEM: AR0256L

remote printing - awk error when using remote printing.



Question:

remote printing - awk error when using remote printing.

Response:

ENV:    4.1.3
        C20
        DESC:   Customer has remote printing set up from the C20 to
        a Lantronics Print Server. They are able to print,
        but they get the following message when doing things
        like lpstat and such:
        awk: 0602-534: input line cannot be longer than 10,239 bytes

ACT:    This is a known problem for this terminal server.
        Searching for the fix number. There is a workaround
        as well.

NEXT:   Will call customer back.

Response:

The following fix is documented for the APAR for the LANTRONIX
Print server problem with the awk error at AIX 4.1.
This problem also occurs with the LexMark MarkNet print servers.
JWT 10/27/95

APAR= IX52289 LANTRONIX PRINT SERVER FAILS IN AWK

RCOMP= 576539300
USPTF= U439439

 ERROR DESCRIPTION:
  The Lantronix print server sends files through that begin
 in a NULL byte.  As a result the awk in aixlong, aixshort,
 PROBLEM SUMMARY:
 The Lantronix print server sends files through that begin
 in a NULL byte resulting in failures in aixlong (and related)
 scripts.
 PROBLEM CONCLUSION:
 Add filtering into the script to remove NULL characters passed
 through.
 APPLICABLE COMPONENT LEVEL/SU: R410 PSY U439439 UP95/10/09

Response:

ACT:    The workaround is to add the following line to
        the filter file:
        RS = "[\\0\\n]" (after the STATE = 0 line).


Support Line: remote printing - awk error when using remote printing. ITEM: AR0256L
Dated: October 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:25
Comments or suggestions? Contact us