Home » Developer & Programmer » Reports & Discoverer » How to Disable print option in report runtime (Developer 6i)
How to Disable print option in report runtime [message #587187] Thu, 13 June 2013 01:20 Go to next message
mahmud732
Messages: 82
Registered: October 2009
Location: Dhaka
Member
I have a report, when i run it from forms runtime then report dispay print option and other menu bar.
Is it possible to disable menu bar or Print option?
If possible then how.
Please help me anybody.

Regards
Mahmud
Re: How to Disable print option in report runtime [message #587191 is a reply to message #587187] Thu, 13 June 2013 01:45 Go to previous messageGo to next message
Littlefoot
Messages: 21805
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Have a look at DISABLEPRINT (if that's what you are looking for). However, it regards version 10g. I don't know whether it'll work in 6i (but you'll try, I guess, and let us know).
Re: How to Disable print option in report runtime [message #587193 is a reply to message #587191] Thu, 13 June 2013 02:58 Go to previous messageGo to next message
mahmud732
Messages: 82
Registered: October 2009
Location: Dhaka
Member
I GOT EXPECTED RESULT.
THANKS
Re: How to Disable print option in report runtime [message #587194 is a reply to message #587193] Thu, 13 June 2013 03:00 Go to previous messageGo to next message
mahmud732
Messages: 82
Registered: October 2009
Location: Dhaka
Member
Now I have another question:
I have a button in the report.
Now I want to print that report by clicking on the button.

Thanks for your cooperation.

Mahmud
Re: How to Disable print option in report runtime [message #587235 is a reply to message #587194] Thu, 13 June 2013 06:11 Go to previous messageGo to next message
Littlefoot
Messages: 21805
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Remove DISABLEPRINT.

Are you joking? First you wanted to disable printing, now you want to print the report ...
Re: How to Disable print option in report runtime [message #587241 is a reply to message #587235] Thu, 13 June 2013 06:33 Go to previous messageGo to next message
mahmud732
Messages: 82
Registered: October 2009
Location: Dhaka
Member
I THINK, YOU ARE MISS UNDERSTAND MY REQUIREMENT.

My Requirement is :

I want remove the print option and add a button to the report and get the printed copy through
clicking on button for user security.

Which command display print dialog box?
Please don't angry with me.

Probably I am unable to understood you.

Re: How to Disable print option in report runtime [message #587244 is a reply to message #587241] Thu, 13 June 2013 06:42 Go to previous messageGo to next message
Littlefoot
Messages: 21805
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Does it mean that users are allowed to run a report, view it, read everything it says, save its screenshots (and print them later), but you want to set up some "security" only for printing that report?

Why wouldn't you take care about security before even running a report? How do you run it, anyway? Through a form, perhaps? If so, you could set DISABLEPRINT for some users (who aren't allowed to print it) and omit it for users who are allowed to print the report.
Re: How to Disable print option in report runtime [message #593529 is a reply to message #587244] Sun, 18 August 2013 04:41 Go to previous messageGo to next message
Ali Usman
Messages: 4
Registered: August 2013
Location: Pakistan
Junior Member
probably very late reply may be u've gotten anwser

add this line... it will directly print without showing the screen

add_parameter(param,'destype',text_parameter,'Printer');

[Updated on: Sun, 18 August 2013 04:42]

Report message to a moderator

Re: How to Disable print option in report runtime [message #593532 is a reply to message #593529] Sun, 18 August 2013 04:48 Go to previous message
Ali Usman
Messages: 4
Registered: August 2013
Location: Pakistan
Junior Member
i have a problem... when i print my report (thermal printer) in reports 6i sometimes it prints but sometimes it display DONT SEND error....
this happen only on printers other than Epson....

only thermal printers gives error....

i tried many things but in vain...
Previous Topic: no PL/SQL translation for the bindtype given for this bind variable
Next Topic: Reports 11g Compilation Error
Goto Forum:
  


Current Time: Mon Mar 18 22:20:41 CDT 2024