[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

URGENT HELP: Sqr error (SQR) 6001 - Error Reading Printer File



Hi all,
     I have a SQR program. Since the Orientation should be determined
dynamically , i had created 2 layouts(Declare-Layout) and 2
reports(Declare-Report). The program had  included the file "setup01.sqc".
When the program is run , it gives an error , and this is what the log file
contains:


***************************************************************************
********************
(SQR 6221) The following SQR commands (listed below) cannot be used when
any of the following NEW SQR commands are also used in the same report:

 New commands:

 Declare-Report
 Declare-Layout
 Declare-Printer
 Declare-Procedure
 Use-Report
 Use-Procedure
 Use-Printer-Type
 Begin-Heading For-Reports=()
 Begin-Footing For-Reports=()
 Print-Direct Printer=

 Incompatible command references:

 Line 32: printer-init

Errors were found in the program file.

SQRW: Program Aborting.

***************************************************************************
******************* .
So i removed the included file "setup01.sqc" in the program and ran it. It
gave the following error.

***************************************************************************
******************* .
(SQR 6001) Error reading the printer file.
(22): Invalid argument.

***************************************************************************
******************* .

Could anyone help me out in this.

PS: Since it it very urgent it would be better if anyone could reply ASAP.

TIA,

Srini.