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

Question : 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


 

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

Hiya

Have a look at this:

REP-0713 Invalid printer name specified.

Cause: You attempted to output a report, but did not specify a valid printer name in DESFORMAT (if DESTYPE was File or Mail) or DESNAME (if DESTYPE was Printer).

Action: Specify a valid printer name for DESFORMAT if DESTYPE was File or Mail, or a valid printer name for DESNAME if DESTYPE was Printer.

http://otn.oracle.co.kr/docs/oracle78/reports20/ormcmb/ch4.htm

Regards

eddie