Re: REP-0713 error when using r25run32 with a command line

From: Matthias Schmueser <schmueser_at_okay.net>
Date: 2000/05/11
Message-ID: <391AE5A5.323AB539_at_okay.net>#1/1


Hi Jason,

try this:

snip... desname='HP' ....

Bye

Matthias

Jason schrieb:

> Help,
>
> I have what seems to be a very strange problem. I have the following
> command line saved as a batch file called Test.bat. If I double-click on it
> or run it from the command prompt, it works fine - it runs a report and
> prints it.
>
> d:\orant\bin\r25run32.exe report=test1.rep userid=user1/user1_at_testdb
> paramform=no destype=printer desname="HP" desformat=dflt printjob=no
>
> However, if I use a program scheduler, it crashes with the error:
> "REP-0713: Invalid printer name 'HP' specified by parameter name DESNAME"
>
> I have tried Norton Scheduler, NT AT command, as well as a couple other
> shareware programs. All crash with this error. If I use background=yes,
> again it works if I run it, but when a scheduler starts it, the Report
> Server crashes. Instead, if I use batch=yes, it just crashes after a few
> seconds.
>
> If I use printjob=yes, the printer dialog pops up, I press OK, and it works
> fine. I have tried outputting to a PDF file, but again, it works if I run
> the batch file, but not when a scheduler does.
>
> I am using Reports 2.5, Oracle 7.1, NT4 SP6. I have also tried the Reports
> 3.0 runtime (r30run32) with the same results. I just need to run/print a
> report automatically every day.
>
> Any ideas are greatly appreciated, Thanks.
>
> Jason
Received on Thu May 11 2000 - 00:00:00 CEST

Original text of this message