[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
URGENT HELP. SQR error.
Hi Helen,
Thankx a lot for the info. My declare printer looks like this :
declare-printer test ! Declare printer characteristics.
for-reports=(pot_type)
type=HPLASERJET ! Types are POSTSCRIPT, HPLASERJET,
INIT-STRING=
'<27>E<27>(0N<27>&l0O<27>&l8D<27>&l88F<27>(s16.66H<27>&a9L<27>&k2G'
font=5
point-size=9
SYMBOL-SET=12U
end-declare
And i had given the escape sequences in the INIT-STRING argument coz, they
were there in the include file 'setup01.sqc' assigned to variable
PRINTER-INIT.
But even then i'm getting the error.
Please help ME.
TIA,
Srini.
Srini,
What kind of printer are you using and do you use postscript? If you are
using a HP printer I would set the type to HP.
In the DECLARE-PRINTER sections I see that you are using for-report =
(pot_type)
and (land_type). Are you using the DECLARE-REPORT for these two report
types?
For example
DECLARE-REPORT employee-listing
layout = pot
printer-type = HP
END-DECLARE
I don't think the for-reports = ALL is necessary in the DECLARE-PRINTER
section
since you declare the report on the next line.
What is the init string doing. It says in my manual that the init-string is
mostly used with lineprinters. Can I maybe download a font for images using
init-
string?
Hope some of this helps you.
Helen
At 06:00 PM 7/22/98 +0530, you wrote:
>Hi Helen,
> Thankx a lot for the info. But i have given DECLARE-LAYOUT.This is
how
>my setup section looks like:
>
>!**************************************************************
>
>begin-setup
> declare-layout pot
> max-columns=120
> orientation=portrait
> top-margin= .5
> left-margin=.30
> char-width=4.32 ! 16.6 chars/inch
> MAX-Lines=79
> end-declare
>
> declare-layout land
> max-columns=170
> orientation=Landscape
> top-margin= .5
> left-margin=.30
> char-width=4.32 ! 16.6 chars/inch
> MAX-Lines=50
> end-declare
>
> declare-printer test ! Declare printer characteristics.
> for-reports=ALL
> for-reports=(pot_type)
> type=HPLASERJET ! Types are POSTSCRIPT, HPLASERJET,
> INIT-STRING=
>'<27>E<27>(0N<27>&l0O<27>&l8D<27>&l88F<27>(s16.66H<27>&a9L<27>&k2G'
> font=5
> point-size=9
> SYMBOL-SET=12U
> end-declare
>
> declare-printer test1 ! Declare printer characteristics.
> for-reports=(land_type)
> type=HPLASERJET ! Types are POSTSCRIPT, HPLASERJET,
>
>INIT-STRING='<27>E<27>(0N<27>&l0O<27>&l8D<27>&l88F<27>(s16.66H<27>&a9L<27>
&
>k2G'
> font=5
> point-size=9
> SYMBOL-SET=12U
> end-declare
>
>!**************************************************************
>
>
>I have given the INIT-STRING argument cause , in the SQR V3 users guide ,
>its mentioned that PRINTER_INIT will be
>replaced by INIT-STRING. But even then it is giving the error . The error
>is :
>
>------------------------------------------------------
>(SQR 6001) Error reading the printer file.
>(22): Invalid argument.
>--------------------------------------------------------------------------
-
>---------------------------------
>
>Could anyone help me out.
>
>TIA,
>
>Srini.
>
>
>
>
> (Embedded
> image moved moorehh @ jmu.edu
> to file: 07/22/98 06:24 PM
> PIC06247.PCX)
>
>
>
>
>To: Srinivasan Seetharaman/DSI/DBAsia/DeuBa
>cc:
>Subject: re:Help
>
>
>
>
>The PRINTER-INIT has to be replaced with DECLARE-LAYOUT
>Helen
>
>Helen Moore
>Senior Programmer Analyst
>IT/IIS (HR)
>James Madison University
>
>
>
>
>Attachment Converted: C:\EUDORA\ATTACH\PIC06247.PCX
>
Helen Moore
Senior Programmer Analyst
IT/IIS (HR)
James Madison University