From: "Jason" <jrhopkins@pacbell.net>
Subject: REP-0713 error when using r25run32 with a command line
Date: 2000/05/05
Message-ID: <viDQ4.4$XP1.2383@news.pacbell.net>#1/1
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Complaints-To: abuse@pacbell.net
X-Trace: news.pacbell.net 957546779 204.48.31.48 (Fri, 05 May 2000 10:12:59 PDT)
Organization: SBC Internet Services
X-MSMail-Priority: Normal
NNTP-Posting-Date: Fri, 05 May 2000 10:12:59 PDT
Newsgroups: comp.databases.oracle.tools


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@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




