Home » Developer & Programmer » Forms » how can i send print command from form to printer?
how can i send print command from form to printer? [message #129766] Tue, 26 July 2005 11:17 Go to next message
shum
Messages: 17
Registered: July 2005
Junior Member
hello sir,

there is one more question i want to ask that "how can i send print command from form to printer?"


please reply me

A trouble girl:(
Re: how can i send print command from form to printer? [message #129832 is a reply to message #129766] Tue, 26 July 2005 19:52 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
What do you want to print? There is an internal command 'print' which will screen dump to the printer.

David
Re: how can i send print command from form to printer? [message #129848 is a reply to message #129832] Tue, 26 July 2005 23:46 Go to previous messageGo to next message
prase_pk
Messages: 40
Registered: July 2005
Location: india
Member
David,


What do U mean by screen dump to the printer?
The entire document or the part of the document visible over the screen.Just like print screen works.

Re: how can i send print command from form to printer? [message #129850 is a reply to message #129848] Wed, 27 July 2005 00:00 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Yes. Just like screen print works.

David
Re: how can i send print command from form to printer? [message #129855 is a reply to message #129766] Wed, 27 July 2005 00:31 Go to previous messageGo to next message
prase_pk
Messages: 40
Registered: July 2005
Location: india
Member
David ,


Is there any way that we can print the whole document ,I mean not only the print screen what u mentioned?Sometimes we may require to print the whole document.

I think u got me.Is there any way for this or just use the browser print option?
Re: how can i send print command from form to printer? [message #129858 is a reply to message #129855] Wed, 27 July 2005 00:33 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
You create a report and use the values that are currently being used in the 'where' clause as parameters to the report, and then run the report using these parameters. For more information search this forum for 'report'.

David
Re: how can i send print command from form to Report ? [message #129874 is a reply to message #129858] Wed, 27 July 2005 01:51 Go to previous messageGo to next message
shum
Messages: 17
Registered: July 2005
Junior Member

sir,

i want to print a REPORT but i want to send command from FORM how can i do it???
Re: how can i send print command from form to Report ? [message #129876 is a reply to message #129874] Wed, 27 July 2005 01:56 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 'run_report' there are numerous threads on this subject.

David
Re: how can i send print command from form to printer? [message #129904 is a reply to message #129766] Wed, 27 July 2005 04:24 Go to previous messageGo to next message
manjuvasu
Messages: 22
Registered: May 2005
Junior Member
hi,
u can use host command.first u will be generating u'r report from form.save it to a file,as u will give in set_report_object_property-----destype,file
set_report_object_property-----desname,'filename'
run_report_object will be used.now,u'r report will be in gn filename.
then host('print ...\filename');
the ... mentions u'r printer path and printer name.

is this u need.
Re: how can i send print command from form to printer? [message #274313 is a reply to message #129904] Mon, 15 October 2007 09:05 Go to previous message
mnanias
Messages: 40
Registered: September 2007
Location: AMERICA
Member
Hi,

I have a report generated in my oracle report 10g and i want to print that report thru by form which i developed using form builder .When i click the button i should be able to print the report.

Thank you in advance
Previous Topic: Help: Need to set Update Allowed property
Next Topic: Forms 10G
Goto Forum:
  


Current Time: Thu Feb 13 06:19:49 CST 2025