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...

Similar Messages

  • Character mode report cuts off last character on a line

    Reports 9i, Windows 2003 Server. Printing character mode reports to IBM 6400 printer. I have a variable text column (multi line) and randomly the last character on a line gets cutoff. I'm using Courier 10 as my font. It is only 1 character that ever cuts cutoff. Any ideas? I'm desperate.
    Tom

    Hi,
    change the reports height& width for landscape /portait.
    and go to edit margin in layout.
    see the layout and move to left if it has lot of gap in left side.
    we can get correct output if the right side border is upto 8.2.
    try with this.
    --Basava.s                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Help with character mode report

    Hi,
    I have a character mode report which has a query that generates output of data records that are 100 chars long.
    My requirement is to add a header and a footer record that are only 80 chars long. I created a field of width 80 chars in the header and footer sections of layout whose source is a placeholder column of width 80 chars. I have set the width property to 80 in the properties of header and footer section also.
    But when I run the report I see that the header and footer records are still 100 chars long - 80 chars of data with trailing null values. How do I make it only 80.
    Any help is greatly appreciated.
    Thanks

    Yes.. I did that and even that didn't help. I have tried so many things but for some reason it is 100 chars fixed. Any more suggestions....

  • 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 ?

  • 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

  • URGENT: Problem in printing Character Mode Report in Chinese Version

    Hello,
    I am working with Reports 6i. i have developed one Character mode report. This report is working and printing fine in Windows 2000 Server (English Version). But, this report is not working properly in Windows 2000 Professional (Traditional Chinese Version) where i have compiled report in Chinese Version Machine. And, i am getting the Preview properly. Main problem is at the time of printing. I am using EPSON LQ - 2070 Dot Matrix Printer.
    Please help me on this issue.
    Thanks in advance.
    S.Sudhakar Sankar.

    Try printing to file first and ensure that the output is correct in something like "notepad" with the appropriate font.

  • Character mode report font size

    i am using oracle 10g DS, and i have created character mode report as discribed in report builder help.
    i have set font to
    courier new (central europien), regular, 8
    as descibed in help "10. Choose Format > Font, and select the font, style, and size that most closely
    approximates the character-mode font. For example, Courier, Regular, 12
    points.
    but my output font on printed page is pritty big.
    how can i set size of font printed, it seems to me that this setting has no affect?
    also i dont get all the caracet displaud corectly, is this set in uifont.ali conf file
    thanks and regards
    rade

    can anybody help me with this?
    i have read that font size for character mode reports can be set in prt files.
    i am using dflt.prt
    i want to change font size to eg. 8 and to print font condensed, but i was enable to find any online manual how to do this, please advise me or supply url with relevant manual for editing prt files.
    thanks and regards
    rade

  • 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

  • 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 report no new line after header.

    I am using Reports 6i. I have a character mode report with a header and body. I am outputing it as a .cvs file. The problem is that there is no live feed after the header. This means when I load the .csv file into excel the first row has the headers and the first data record, after that is it OK. Eatch row in the spreadsheet has a single data record/row.
    any ideas?
    ben

    can anybody help me with this?
    i have read that font size for character mode reports can be set in prt files.
    i am using dflt.prt
    i want to change font size to eg. 8 and to print font condensed, but i was enable to find any online manual how to do this, please advise me or supply url with relevant manual for editing prt files.
    thanks and regards
    rade

  • In which situations we should use Character Mode Reports?

    Question: In which situations we should use Character Mode Reports?
    Explaination: I am faced with a certain situation. I feel that I should develop reports in Character Mode. But I am not sure about this.
    I invite all readers to contribute on the subject matter. Once I receive responses, I will explain my specific situation as writing it now may narrow the list of such situations.
    Also I would like to know what problems we face when developing reports in Character Mode. I was developing my first Character Mode report and I faced layering problems. So I would like to know more such precautions.
    TIA
    Tariq

    Hi Muhammad,
    There's any number of cases for using character mode Reports. However, they all typically come down to what your doing with the output of the report.
    Basically, you need character mode reports whenever the Report output needs to be read by some sort of Ascii file reader. This could be notepad, VI, MSVC, dot matrix or fixed character set printers, ...
    A less common case is where you just want to get at the data within the report. You're just using the ascii output as a data dump to pass through to another program/utility. (This is really just a specialised case of the previous one).
    There are some cases where character mode output may be one of several choices. Eg: the body of an email message which could be HTML or plain text.
    Robin.

  • 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://&lt;yourserver&gt;:&lt;yourport&gt; 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

  • Character mode reports-another question

    hi again!
    i tested to create a new character mode report with a simple query, i sent the report output to a text file, because i want to import it into excel, but the content of the text file is very strang, i always thought this happend because i didn't create the reports in character mode, but now the same things happens
    output looks like this:
    !R!SEM6;EXIT;%-12345X@PJL
    @PJL SET ECONOMODE=OFF
    @PJL SET PAGEPROTECT=OFF
    @PJL SET RESOLUTION=600
    @PJL ENTER LANGUAGE = PCL
    E*t600R&u600D*r0F!R!sir2;exit;&
    any idea?

    Hi!
    The contents of the file you got look like the PostScript. Check the MODE system parameter - it must be set to "Character".
    Alex.

  • Character Mode Report

    As i am not using laser printers tht's why we need all reports to be print in Character Mode.
    How could we make report which will display in browser either in HTML / PDF ..but will print in character Mode.

    when you create a report you need to decide whether you create a character mode report or a bitmap report. charactermode reports can not be rendered in html, they will always be rendered in ascii, however, even in ascii they can be displayed in the browser. they'll just like simple text in the browser.
    bitmap reports on the other hand can be renderen in all the output formats reports supports (html, pdf, ...) they use high fidelity formatitting and therefore can not be run to charactermode reports.
    you can picture bitmap reports and charactermode reports as two separate models combined in a single tool. you can not exchange one model for the other on a given report. you need to define whether a report is bitmap or charactermode via a property in the report.
    thanks,
    ph.

  • How to make character mode reports in reports 6

    iam finding difficulty in setting the properties for the character-mode reports in reports 6.0!!how do i preview and print character mode reports in landscape mode
    (132*66)
    thanks in advance.
    jitendar

    thanx very much for ur advice sasha !!
    i changed the layout model to character mode but the main problem is that how do i change the pagesize of the screen to 132*66!
    at presenti can view only 80 chars screen!
    is there any answer to it !!! can i change this setting so as to view my 132 column report on the screen first and then print on the printer !!
    thanking in advance,
    jitu :-)

Maybe you are looking for