Link to home
Start Free TrialLog in
Avatar of jrevetie
jrevetie

asked on

REP-0713: Invalid printer name specified by parameter DESNAME.

I could not print directly to a HP LaserJet 2200 printer a report, using the Oracle Application Server 6i. I call the report from a form via the run_product command.

add_parameter(plid,'DESTYPE',TEXT_PARAMETER,'Printer');
add_parameter(plid,'PARAMFORM',TEXT_PARAMETER,'No');
add_parameter(plid,'DESNAME',TEXT_PARAMETER,'myprinter');

run_product(REPORTS,'myreport',SYNCHRONOUS,RUNTIME,FILESYSTEM,plid);

I´ve tried using the driver name in the DESNAME parameter, instead of the printer name, but the error continues: "REP-0713: Invalid printer name specified by parameter DESNAME".

Any help?

Jonatan
ASKER CERTIFIED SOLUTION
Avatar of eddie5659
eddie5659

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jrevetie
jrevetie

ASKER

Hi:

I wrote a valid printer name!!. 'mypriter' exists in both the PC i´m trying to run the report and the Oracle Web Server, but it doesn´t work at all!!
Okay

Found this in the newsgroups, though not sure if you're using a HP:

try this:

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

So, could is that they way that you're doing it?

Also, try to install it as a non-service, and physically
connect a printer.

eddie
Hello jrevetie,

This question appears to be abandoned and has been targeted for CleanUp
I  will leave a recommendation in the Cleanup topic area that this question be:

my recommendation for the moderator will be
-PAQ
-points to eddie5659

-If you disagree, please post your objection here within the next seven days
-this will be finalized by an EE Moderator

PLEASE DO NOT ACCEPT THIS COMMENT AS ANSWER

HAGD:O)Bruintje
EE Cleanup Volunteer
Finalized as proposed

modulo

Community Support Moderator
Experts Exchange