Run Character mode reports in Menu/forms.

Hi,
we are using ora-dev-suite 10g and trying to Run Character mode reports in Menu/forms and output ascii text or pdf files generated and saved in local/client PC's.
report when run through report builder, it is ok.
But we are not able to run these reports through menus/forms. can we run these reports using background report engine on a click of button.
pl.guide us.
thanks.

Hello,
You can put a variable in your default.env file like SERVER_URL http://<yourserver>:<yourport> and then retrieve it in forms with the tool_env.getvar package
declare v_server_url  varchar2(100);
begin
tool_env.getvar(SERVER_URL,v_server_url);
/* then launch your report */
web.show_document(v_server_url||'/reports/rwservlet?yourparameters.....');
end;So if you deploy your form in server 1 or 2 you only have to change the value in the default.env file according to the server you use.
Hope this helps.
Regards
Jean-Yves

Similar Messages

  • How to send a character mode report from Oracle Form 10g to a printer.

    how sending a character mode report from Oracle 10g report to a printer.
    I'm sending to a printer located in the network
    i have theses parameter report
    desformat = prtname
    desname=??????
    destype= ?????
    mode=character
    i would like to preview the report before to send to a printer
    slds

    ACCOUNTING SYSTEM
    2006-2007 From Date : 01-JUL-06
    Printed On : Friday August 31 2007 11:13 AM To Date : 30-SEP-07
    G A/C. Code 99-99-9999 Description: xxxxxxxxxxxxx H
    -- DOC. # -- -- DATE -Chq/Slip# ---------- N A R R A T I O N -- -- DEBIT -- -- CREDIT -- -- BALANCE --
    Opening Balance: -999,999,999.00 Cr.
    G *** Total *** 0.00 0.00 -999,999,999.00H
    ================= ================= =================
    when i run character mode report in browser then display this output properly
    but sir problem is that when i print the report
    G(use for bold)
    is not working
    means not print in bold format in printer
    same character print G
    do you have any idea when i print through browser to printer G for bold purpose its work to printer ?

  • How to open a Character mode report in report designer 2.5

    I am trying to open a character mode reoprt in Report Designer 2.5 and .. getting an error message:
    Waring: Character-mode report 'XYZ' is being opened as bit-mapped report.
    Warning: Page width of report '<report name>' changed to fit the font for a character cell. Might be a consequence of font-mapping.
    Is thier any way to open Character-mode report in Report Designer 2.5
    Report is designed for AR module.
    Thanks,

    ACCOUNTING SYSTEM
    2006-2007 From Date : 01-JUL-06
    Printed On : Friday August 31 2007 11:13 AM To Date : 30-SEP-07
    G A/C. Code 99-99-9999 Description: xxxxxxxxxxxxx H
    -- DOC. # -- -- DATE -Chq/Slip# ---------- N A R R A T I O N -- -- DEBIT -- -- CREDIT -- -- BALANCE --
    Opening Balance: -999,999,999.00 Cr.
    G *** Total *** 0.00 0.00 -999,999,999.00H
    ================= ================= =================
    when i run character mode report in browser then display this output properly
    but sir problem is that when i print the report
    G(use for bold)
    is not working
    means not print in bold format in printer
    same character print G
    do you have any idea when i print through browser to printer G for bold purpose its work to printer ?

  • Character Mode Reports 11g

    Hello,
    we are upgrading to 11g, and all our reports are character mode formatted via .prt files, since character mode reports cannot be generated in pdf format, we don`t know how to access the reports, because we have dot matrix printers and the pdf don't work with these printers
    Is there a way to run character mode report with preview screen and generate the right format (using the prt files we already have) ?
    Thanks in advanced

    You actually need 2 reports. See the Report Builder Help:
    About creating an ASCII (character-mode) report
    To create a character-mode report, you first create a bit-mapped report, then convert that report to an ASCII (character-mode) report. The process will create a new character-mode version of your bit-mapped report; the original bit-mapped report remains unchanged.
    There is a step-by-step explanation in the Help.

  • How to run the 9I report from the forms menue 9i

    how to run the 9I report from the forms menue 9i.
    Shehzad Latif

    Hi,
    1. create a Reports Object node in Forms. If you use teh same object node name then you can write generic code that works in all Forms
    2. Get the whitepaper about Forms/reports integrtion
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    Frank

  • Printing Character Mode Report On Oracle 9i AS - Application Server

    Hi All,
    Even though I have put this problem in Reports Forum,
    I thought it fit to put forward this problem in Forms Forum
    since Forms Forum is being accessed by a large number
    of developers across the world.
    Now the problem :
    I have developed a report in Character mode that runs in
    hundreds of pages. The output will be taken on High speed
    Dot Matrix Printer since the client requirement is fast printing
    & economical printing. That is the reason to develop this report
    in Character mode & not Bitmap mode. This report works
    fine in Client-Server environment.
    However, the problem lies in the Web Server environment.
    The same reports will be run on Oracle 9i AS. Since the
    browser supports only HTML & PDF format, Character
    mode reports faces a major problem.
    Can anybody help me to resolve this problem ??
    I would like to remind you again that the constraint is NOT
    TO USE LASER PRINTERS.
    Thanks.
    Mayur
    [email protected]

    Hi Shahmayur,
    I too am facing the same problem. If your problem is cleared then please let me know, so that i can continue the work.
    Rgds
    Bhaskar

  • Character Mode Report in 11gAS

    We have recently migrated our system
    from 2-tier (Forms 6i/Oracle 10g)
    to (Forms 10g/11gAS/11g DB)
    We have a lot of Character Mode reports which were developed using reports 6i earlier.
    These reports were printed on Dot Matrix Printers or Line Printers.
    Now these reports have been migrated to Reports 10g running on 11gAS.
    We are facing a problem
    The character mode reports which now generate in IE is creating a problem when we take print from Line Printer or Dot matrix printers.
    Some how the page break is not working and rport content is overlapping pages.
    We now instruct user to manually "adjust margins" in page setup and then fire print. SO page over lap s rctified MANUALLY.
    Need inputs on how to match report print to the same as that used to come from reports 6i live peviewer

    We have recently migrated our system
    from 2-tier (Forms 6i/Oracle 10g)
    to (Forms 10g/11gAS/11g DB)
    We have a lot of Character Mode reports which were developed using reports 6i earlier.
    These reports were printed on Dot Matrix Printers or Line Printers.
    Now these reports have been migrated to Reports 10g running on 11gAS.
    We are facing a problem
    The character mode reports which now generate in IE is creating a problem when we take print from Line Printer or Dot matrix printers.
    Some how the page break is not working and rport content is overlapping pages.
    We now instruct user to manually "adjust margins" in page setup and then fire print. SO page over lap s rctified MANUALLY.
    Need inputs on how to match report print to the same as that used to come from reports 6i live peviewer

  • Character mode Report in Landscape Format

    Hi All,
    I want to print my character mode report in landscape format. But I am not getting it. Everytime I get print as Portrait. I am printing from live previewer of report builder.
    I am using Oracle 9i and Report builder 6i (6.0.8.11.3).
    I have done following settings:
    System Parameter ORIENTATION=Landscape
    DESFORMAT=DECLAND.PRT (Given by Oracle)
    In the object navigator I have set following properties for Main Section
    Width=11
    Height=8.5
    Orientation=Landscape
    Char Mode Width=132
    Char Mode height=66
    I have done same settings for Header Section and Trailer Section. Please help me.
    Thanks in advance.
    Regards
    Mona

    You will need to edit prt files to add the printer escape sequences to change the page orientation to landscape. Printer escape sequences can be obtained from the printer manual, or the printer vendor.
    For instance, HP printer escape codes can be obtained from the HP website under the printer support links.
    The steps below describe how to print a landscape, character mode report from a Windows NT PC on an HP 4100N Printer. The 4100N is a dual mode printer that can use either PCL or Postscript printer language.
    1. Use a web browser to navigate to the HP website and obtain the printer escape codes for the HP 4100N. If you are unable to locate the HP4100N printer, look for generic PCL information. The HP site also includes detailed information on the printer command syntax.
    2. The HP4100N printer command for landscape page orientation is "ESC&l1O" - where ESC indicates escape, '&' (ampersand) is the parameterized character, 'l'(lower case letter l) is the group character, '1' (number one) is the printer value character and 'O' (upper case letter O) is the termination character.
    NOTE: The HP documentation uses "EC" to signify the escape character.
    It also suggests pressing CTRL and the letter P together, then
    releasing both keys and pressing the ESC key. If this is done in
    a dos editor, a left arrow will actually be displayed on screen.
    This character cannot be interpreted by Oracle Reports and will
    cause printing errors if used in a .prt file. Instead, just use
    the letters "ESC" to indicate that the code that follows is a printer
    escape sequence.
    3. Make a copy of the wide.prt file and rename it to "mywide.prt."
    4. Add the page orientation escapes to mywide.prt file:
    printer "mywide"
    height 66
    width 132
    before report esc "&l1O" *** Puts Page in Landscape Orientation***
    after page control(L)
    after report esc "&l0O" *** Resets page orientation to Portrait ***
    return control(M)
    linefeed control(J)
    SYNTAX NOTES: The escape sequence must be enclosed in double quotes ("). The above comments regarding page orientation are used to clarify where the escape codes gets added, but they should NOT be used when editing
    the actual .prt file.
    5. Save mywide.prt file to the $ORACLE_HOME\report60\printers\ directory.
    6. Go to Windows PC -> Start -> Settings -> Printers and open the properties for the HP printer. Ensure that the option to "Always Spool Raw Data" is checked. This option is usually under the General Printer
    Options, or Spool Options. On Windows NT, you must have Administrator privileges to change this setting.
    7. Test running the report to the printer and specify desformat mywide. It is not necessary to include the file extension (.prt).
    8. The report will now print in landscape orientation.

  • Warning Msg: Character Mode report is being opened as a Bit-mapped report

    Hi All,
    I am opening a Oracle Standard Report in Oracle Apps "INVISMMX", while opening it shows the below warning message:
    "Character Mode report is being opened as a Bit-mapped report"
    What is the reason for this?
    How can I open this report in ASCII mode itself?
    Thanks,
    Gowri

    I believe Oracle Reports by default will open a report as a bit-mapped report. You can change the poperties of the report to make it a character mode report by:
    1. If this is a new report, in the Object Navigator, click the Reports node,
    then click in the toolbar.
    2. Double-click the properties icon next to the report node to display
    the Property Palette.
    3. Under the report node, set the width and height properties as desired:
    for example, 11 (or 15) width x 8.5 height for landscape or 8.5 width x 11
    (or 15) height for portrait.
    4. Under the Character Mode node:
    a. Set Design In Character Units to Yes.
    b. Set the report width and report height to the appropriate
    character-mode dimensions for the report, such as, 132 (or 180)
    width x 66 height for landscape or 102 width x 85 (or 116) height
    for portrait.
    5. In the Object Navigator, expand the Data Model node, then the System
    Parameters node.
    6. Double-click the MODE properties icon to display the Property Palette.
    7. Under the Parameter node, set the initial value for property to Character.
    8. In the Object Navigator, double-click on the Layout Model node icon.
    9. In the Layout Model view, choose FormatLayout OptionsRulers to display
    the Ruler Settings dialog box.
    10. Set Units to Character Cells and Number of Snap Points Per Grid Spacing
    to 1. Click OK.
    11. Click View in the menu bar and make sure that Snap to Grid is checked.
    12. Choose Tools Preferences to display the Preferences dialog box.
    13. On the Preferences page, set Horizontal Interfield to 1 and Vertical
    Interfield to 0. Click OK.
    14. Choose Format Font, and select the font, style, and size that most
    closely approximates the character-mode font (such as, Courier,
    Regular, 12 point).

  • Character Mode Reports On Winxp/2000

    I am developer character mode report in oracle developer 6i.
    when i am running it on winxp or win2000 then its om in preview but it takes double space while printing.
    Please send me any sample character mode on scott schema which can't take double space in printing.
    Please write its step-by-step procedure becouse its easy to find where i am doing mistake.
    Thanking U.
    Manraj Gill.

    Hi
    Three things here:
    1. You must have a report define for characte mode.
    2. You set up the printer definition file .prt files present under $ORACLE_HOME/reports60/printer.
    3. While running throug web, you either specify mode=character in url request or set this inside the Reports definition file permanently. In
    URL request, you also need to specify the desformat=<printer_prt_file_name>.
    This will work.
    Thanks
    Rohit

  • Character mode report printing

    hi everyone,
    When I am running report in character mode, it is working fine in previewer. But as soon as I am giving the printing from there, it is giving Rbe ERROR dialog box and runform is getting hanged. How can I get report printed directly from previewer in character mode report generation.
    On the other hand if i redirect o/p to a file by making destination type file, then I am able to take to print of file. If any have a solution, please reply ASAP.
    Thanking every one
    Ashish

    Hi Ashish,
    It is not clear from your question about the type of error message you are getting.
    Please meake sure that the report is indeed a character mode report.
    Please verify the following for that:
    1. The mode in system parameters is defaulted to
    'caracter'
    2. In the property palette of the report, the "design in character units" should be marked as yes.
    Please ensure that above points and try printing again.
    thanks
    The Oracle Reports Team

  • Character-mode report on web

    Hi,
    I am new to Report builder, I have developed character mode report on client server mode, It is working fine, and fast printing.
    Please tell me this report can i run on web using report server with same speed of printing?
    Regards
    Kinjal Shah

    To run the reports in character mode in web architecture, you need to provide "mode=character" cmd line parameters in the url request. Make sure the report you run is designed for character mode.
    Thanks
    Rohit

  • READ-ONLY CHARACTER MODE REPORT OUTPUT

    Hi,
    I am using Developer Suite 10g Report Builder to create a character mode report. I use commands as below to open the report output;
    PROCEDURE Run_Report (vReportname varchar2) IS
    LINEBUF VARCHAR2(2000);
    BEGIN
    linebuf := NULL;
    linebuf :='C:\DevSuiteHome_1\bin\rwrun ';
    linebuf :=linebuf||vReportname;
    linebuf :=linebuf||'destype=file desname=c:\windows\temp\L610.prn ';
    linebuf :=linebuf||'&& "C:\Program Files\TextPad 5\TextPad.exe" C:\windows\temp\L610.prn';
    host('cmd /c '||linebuf);
    END;
    The reason why I am using third party software is because customer wanted to view the report output first before proceed with printing and I had tried with all option PDF, HTML, Notepad, Wordpad, Ms Word Viewer 2003, they all got problem wether fail to preview the output nicely or printer cannot recognize the generic output. As for now Textpad is the best in both to preview nicely and printer with generic driver can print the output nicely.
    But there is another problem. Anybody can edit the output preview onTextpad and customer do not want that to happend (security for accounting data).
    So, can anyone suggest me how to create the ouput in READ-ONLY mode? But please do not advise me to print directly to the printer because on 9i PREVIEWER function works well while on 10g this function has been obselate so I need to find the replacement of PREVIEWER function to running on web.
    Thanks.
    Regards,
    Faisal

    What about trying to view the text in the browser (IE/Mozilla)? That is what we do about reports produced by reports server: they are written in files on the reports server machine and opened with the browser, or they are sent directly to the printer.
    Otherwise, i simply see no way to prevent a text editor from editing the file on screen. If, let's say you make the file read-omly, that won't do, for the user may change the data on screen and print what's on screen without saving the file...

  • Character mode report in report 3.0.5.2

    Hi everyone,
    Can someone help please how a character mode report be created which is needed to be saved as text file of extra width likely of 14"x8.5" pagesize(lanscape). I have almost 14 numeric columns, and I need this report then to load into EXCEL sheet. I don't want fields wrap around.
    Can someone please help me step by step the procedure of creating such kind of report? I tried all possibilities of my own but didn't get it. The report version is rather old i.e. 3.0.5.2.1. I have no clue if old version is the problem. Any assistance in this matter will highly be appreciated.
    Thanks
    Zahir

    Okay, well, if you're in 3.0 then you'll need to alter the character widths in the report level property palette. As I mentioned in the previous reply the character mode settings are independant from the bitmapped settings. You'll also need to set 'Design in character units' to be true.
    Once you've done this then you should see character units in the layout editor, and you should see that altering the width makes the numbers larger.
    This is only half the story though. When you're ready to output the report you'll run with mode=character, and specify a prt file to use in the desformat parameter (by default we'll use dflt.prt). You'll also need to set the required widths inside the prt file that you're going to use to output (for more on prt files consult the on-line help).
    Hope this helps,
    Danny

  • 6i character mode report migrate to 11g , printing result were incorrect in the same matrix printer?

    Hi All
    We got stuck when our 6i character mode report migrate to 11g.
    We use the same PC to test,  when run 6i report(character mode with 200 column) in legacy system, report result were correct in our matrix printer ,
    When running in 11g, if we directly print report via report builder (without preview), result were correct.
    But running report via preview/screen mode, printing result were incorrect ( not 200 column width).
    We try to adjust PC's printer/paper setting , but our-defined printing option never appeared in printer dialog.
    Is anything(config or some setting) we forgot to do in this situation ?
    Thanks for all your patient response!
    Hendry

    Hi Shahmayur,
    I too am facing the same problem. If your problem is cleared then please let me know, so that i can continue the work.
    Rgds
    Bhaskar

Maybe you are looking for