Home » Developer & Programmer » Reports & Discoverer » Send report directly to network printer (Oracle 10g, Windows 7 64bit)
icon8.gif  Send report directly to network printer [message #681538] Wed, 29 July 2020 01:14
a.mughees0009
Messages: 2
Registered: July 2020
Junior Member
Hi Friends! I'm searching something I couldn't search on internet for days.

Please guide me how to send report print directly to the printer without printing on screen.
I'm developing a POS system and need to print invoice

Here is the code I'm using, I guess I'm stuck on 'report_desname'

SET_REPORT_OBJECT_PROPERTY ('REP_OBJ',
REPORT_FILENAME,
PATH || REPORT_NAME || '.rdf');
V_REP_NAME := 'REP_OBJ';
V_REPID := FIND_REPORT_OBJECT (V_REP_NAME);
SET_REPORT_OBJECT_PROPERTY (V_REPID, REPORT_DESTYPE, PRINTER);
SET_REPORT_OBJECT_PROPERTY (V_REPID, REPORT_DESNAME, '\\172.16.6.12\HP LaserJet P2050 Series PCL6');
SET_REPORT_OBJECT_PROPERTY (V_REPID, REPORT_DESFORMAT,'dflt');
SET_REPORT_OBJECT_PROPERTY (V_REPID, REPORT_SERVER, REPORT);

Best Regards.
Previous Topic: UNION returns 2 records for Same ID
Next Topic: with Oracle Report Builder 10. how to print a frame only in last page at the end of the page
Goto Forum:
  


Current Time: Thu Aug 13 22:09:34 CDT 2020