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

error 06003 'Unexpected End-Of-File while



Thanks Nathan for that info.

I am invoking the SQR thru peoplesoft 5.8 process scheduler attempting
to write directly
to the printer. I have tried the -printer:wp and also tried -printer:hp
sqr flags but am still
receiving the error.

Even though ive got multiple reports, i am only ensuring that i only
write to one
report, in order to eliminate possibilities.

When i use the multi-report i am using different declare-printer/layout
statements as to when i use
just non-multi report SQR. Could the declare-printer/layout statements
i'm using have something to do with it.

declare-printer HP-definition
  type=HPLASERJET
  point-size=8
  symbol-set=0U                          ! ASCII symbol set
  pitch=17                                    ! Characters per inch
  font=3                                       ! Courier font
end-declare

declare-layout DEFAULT
  paper-size=(8.5,11)
  orientation=LANDSCAPE
  max-columns=177
  max-lines=58
  left-margin=0
  top-margin=0.1
  line-height=9                             ! 72/printer_point-size
  char-width=4.32                        ! points, to handle 177 cols
end-declare

any suggestions appreciated !!!

Arthur
------------------------------------------------------------------------
------------------------------------------------------------------------
-----------------------------------


> I am receiving the above error 06003 'Unexpected End-Of-File while
> processing the printer file'
> when i run an sqr which has multiple reports in it.

The "printer file" in this error message is the SPF file that SQR
generates
during processing.

How are you invoking SQR?  I've usually seen this error when I was using
the "-flpt1" command line option to try to print directly to the printer
on
a Windows box.  This works fine when the SPF is not created, but fails
when
SQR tries to use an SPF file because "lpt1.spf" is not a valid file
name.
(In fact, in this case you'll often get the contents of the SPF dumped
to
your printer before you get the above error.)

If this is your problem, you'll probably be able to use the -printer:wp
command line flag to do what you want.

Another possibility is that you don't have write permissions to the
output
directory or something like that.  You'd most likely be having problems
with
your non-multiple-report version in that case, though.

(The non-multiple-report version works because it's simple enough that
SQR
doesn't have to generate the SPF file.)

                                        Nathan

------------------------------------------------------------------------
----
Nathan Treadway    | Ray Ontko & Co. | Software consulting services
nathant@ontko.com  | Richmond, IN    | http://www.ontko.com/

Unrecognized Data: application/ms-tnef