Home » Developer & Programmer » Reports & Discoverer » Report directly to Printer
Report directly to Printer [message #294606] Fri, 18 January 2008 03:08 Go to next message
pragatimathur
Messages: 42
Registered: July 2006
Location: DELHI
Member
I am calling report directly to printer in oracle 10g.


http://localhost.localdomain:7778/reports/rwservlet?server=rep_localhost_oracleas2&report=/reports/trial_equipmentmov_on_hire.rdf &userid=sealiner_Dev/sealiner_dev@dev&desformat=pdf&destype=printer&DESNAME=HP%20LaserJet%204050%20Series%20PCL

In URL i have to pass printer driver name in DESNAME but i am getting error --

REP-713: Invalid printer name 'HP LaserJet 4050 Series PCL' specified by parameter DESNAME.

Please help me out that what i have to pass in DESNAME
Re: Report directly to Printer [message #294609 is a reply to message #294606] Fri, 18 January 2008 03:17 Go to previous messageGo to next message
vamsi kasina
Messages: 2112
Registered: October 2003
Location: Cincinnati, OH
Senior Member
Have a look at the restrictions (especially last post).
Does it help you?

By
Vamsi
Re: Report directly to Printer [message #294611 is a reply to message #294609] Fri, 18 January 2008 03:29 Go to previous messageGo to next message
pragatimathur
Messages: 42
Registered: July 2006
Location: DELHI
Member
No its not helping me.
Please help me out.
Re: Report directly to Printer [message #294616 is a reply to message #294611] Fri, 18 January 2008 03:53 Go to previous messageGo to next message
vamsi kasina
Messages: 2112
Registered: October 2003
Location: Cincinnati, OH
Senior Member
Did you have a look at the link?
What did you grab from that?
Have you looked at
Quote:
The problem was that the parameter DESNAME can not have more than 20 characters and the base must be registed on <ORACLE_HOME>/reports/printers
By
Vamsi
Re: Report directly to Printer [message #294622 is a reply to message #294616] Fri, 18 January 2008 04:04 Go to previous messageGo to next message
pragatimathur
Messages: 42
Registered: July 2006
Location: DELHI
Member
Actually that is for destype=FILE but my case is different i have to put my output to printer so i need printer name in detination
Re: Report directly to Printer [message #294727 is a reply to message #294622] Fri, 18 January 2008 12:39 Go to previous messageGo to next message
Littlefoot
Messages: 21813
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Did you try to rename the printer to, for example, "HPLJ4050"?
Re: Report directly to Printer [message #294928 is a reply to message #294727] Sun, 20 January 2008 22:28 Go to previous messageGo to next message
pragatimathur
Messages: 42
Registered: July 2006
Location: DELHI
Member
I tried to rename but this error is coming

REP-50159: Executed successfully but there were some errors when distribute the output

Pkease help me out
Re: Report directly to Printer [message #294930 is a reply to message #294928] Sun, 20 January 2008 22:40 Go to previous message
pragatimathur
Messages: 42
Registered: July 2006
Location: DELHI
Member
and one more thing,
Printer is in network
Previous Topic: How to print arabic font in reports - when I tried it is printing junk characters instead of arabic
Next Topic: Report to multiple file
Goto Forum:
  


Current Time: Tue Jul 02 08:52:50 CDT 2024