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

Re: Getting Error while trying to print BMP file



> Here I'm getting an error message while trying to print a bmp using HP
> LaserJet Printer.
> Error:
> [SQR 6003] Unexpected End-Of-File while processing the printer file.
>
> My Code like this -
> begin-HEADING 8
>   .......
>   print-image (10,5)
>   type=bmp-file
>   image-size=(10,10)
>   source='H:\fs6\user\sqr\logo.bmp'
> end-HEADING
>
> I'm passing SQR Flag -printer::wp thru' Process Definition in
> Peoplesoft.

Make sure that you do NOT have "Printer" selected in the Output Location
box.  Your File/Printer box should have a directory name (usually "%temp%\")
in it, not "lpt1".  The "-printer:wp" that you are passing will cause
the output to go to the printer; telling PeopleSoft directly that
you want to use the Printer will actually cause this error.

(For more info, see the Howto I mentioned in my previous post, especially
section 4 [Simple Solution].)


                                                        Nathan


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