Document Number: FSUP1004
Product: FarPRINT
Date: 11-1-97
Title: Getting a Debug (trace) file for FarPRINT

Getting a Debug (trace) file for FarPRINT

Debug Option
The FarPRINT has the following options for debug mode:

LOAD FARPRINT.NLM -debug

This turns on the debug output.  In debug mode, FARPRINT generates two debug
files. They are:

LDEBUG - for local print
RDEBUG - for remote print

These files are placed in the SYS:/ETC/NI  directory.

The debug files will chronicle the complete negotiation and communication of
FarPRINT and the remote system. Should you have problems with printing, this
information may be useful for determining at what point the process breaks
down. The sample files below show a SUCCESSFUL transfer of a print job -
both for LPD (LDEBUG) and for LPR (RDEBUG).

Note: to view the Debug files, you MUST first unload the FarPRINT NLM. As long as the FarPRINT NLM is running, the debug files will be open, and show a size of zero bytes.

LDEBUG:
Thu Dec  8 12:00:36 1997

Accepted connection from: 200.200.200.90

Thu Dec  8 12:02:28 1997
[03] Send Queue Status (short), printer: ROMAN13
Sent Queue status reply

Accepted connection from: 200.200.200.90

Thu Dec  8 12:02:31 1997
[02] Receive Print Job, printer: ROMAN13
[2.02] Receive Control File
Failed to open directory for read: \ETC\NI\IN\ROMAN13\I*.*, or no files found
Created Info file: \ETC\NI\IN\ROMAN13\I0001151
Received file, closing it
Sent positive ACK to REMOTE lpd
[2.03] Receive Data File
Opened DIR: \ETC\NI\IN\ROMAN13
Found file: I0001151
Found Info file: \ETC\NI\IN\ROMAN13\I0001151
Received file, closing it
Sent positive ACK to REMOTE lpd
Both Command and Data files present, closing connection
Spoolled Data File for ROMAN13.
[2.0X]: Closed connection

RDEBUG:
Queue: ROMAN13, jobs: 1.

Thu Dec  8 12:02:34 1997
bound to local port 721
CheckPrintQueue: Connected to host: 200.200.200.2
CheckPrintQueue: Sent queue status request.
CheckPrintQueue: Remote closed connection.
ResetFD: Orderly, remote initialized
CheckPrintQueue: Request completed, connection closed.
bound to local port 721
Connected to host: 200.200.200.2
Sent Receive Print Job command [02]
Receive Print Job command successful.
Sent 'Receive Command File' command
Sent Command File
Remote comfirmed reception of Command File
Data file: \system\0C000002.QDR\000C0001.Q
Print job size: 1071344 bytes
Sent 'Receive Data File' command: 1071344 dfA000ROMAN1
Received positive reply on 'Receive Data File' command
Sent Data File
Remote comfirmed reception of Data File
ResetFD: Forceful, locally initialized

feedback                    terms/privacy                    corporate info