Home » Developer & Programmer » Forms » How Can I print directly the report from the printer without showing it ? (win 7 , BD 10g , Forms 10g)
icon5.gif  How Can I print directly the report from the printer without showing it ? [message #422531] Thu, 17 September 2009 03:45 Go to next message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

I know how to run the report from Form as it illustrate on this site:
http://www.lv2000.com/articles/runreport.htm
but the question here how could i to generate the report directly to the printer without showing it on the screen???

I search on the net and I find that I should change this line :-
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE, cache);

to this
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE, printer);

but it is not working with me Sad

is there any suggest ?!
Re: How Can I print directly the report from the printer without showing it ? [message #423081 is a reply to message #422531] Tue, 22 September 2009 01:12 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Search this forum for 'print direct'. Look at the code that has been used or contact the Original Poster for advice.

David
Re: How Can I print directly the report from the printer without showing it ? [message #428051 is a reply to message #422531] Tue, 27 October 2009 00:38 Go to previous message
beginnerHere
Messages: 55
Registered: October 2009
Member
use the add_parameter as:

--add_parameter(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'PRINTER');

where pl_id is the name of your parameter list
Previous Topic: calling reports from forms
Next Topic: Hide top bars
Goto Forum:
  


Current Time: Fri Sep 20 14:21:50 CDT 2024