Print Report without Template

Andy,
Continue on to my question on thread: create a free form report, the problem with print the browser is the template will show up. I have Theme 15 and two level tabs. All my readings seem to tell me that I need to install BI publisher or XSL-FO to print out the form formally. If not, what do I do to print without the template showing?
Thanks,
Yivon

Hi Yivon,
If you go to Shared Components, Themes and click Edit Theme (in the Tasks list on the right), and select your theme, you will see a section called "Component Defaults". In there, is a setting for Printer Friendly Page. The template shown there is the one that will be used when you add the YES parameter to the end of the URL. Typically, this is just called "Printer Friendly".
If you want, you can create your own Printer Friendly page, but the default one should normally be ok with a slight adjustment. If you go the that page template, you'll see that things such as tabs are not defined but what we do need is add a #NAVIGATION_BAR# setting somewhere (see below).
Now for the Print and Back options.
Very often, Print is a Navigation list item. Go to Shared Components, Navigation Bar Entries. Click Create. Give the new item an sequence number and a Text value of Print then click Next. Leave the Target Type as "Page in this application". Set the Page value to &APP_PAGE_ID. (which is the current page) and tick the Printer Friendly checkbox. Then click Next then Create. You can create the Back option in exactly the same way, except that you leave the checkbox unticked.
Each item on the navigation bar can be conditionally displayed based on the value of a PRINTER_FRIENDLY application item that Apex maintains for you. The value of this will either be YES or NO. Just use the "Value of Item in Expression 1 = Expression 2" condition and put PRINTER_FRIENDLY in Expression 1 and either YES or NO in Expression 2. Neither setting should use quotes.
Now you need to ensure that the navigation list is displayed on the Printer Friendly page template. This needs to be done somewhere near the top of the Body setting on the template. How this is done will depend on your theme. For example, using Theme 3, I have changed the start of the Body setting from:
<table summary="" cellpadding="0" width="100%" cellspacing="0" border="0">
<tr>
<td valign="top">#LOGO##REGION_POSITION_06#</td>
... etc ...to:
<table summary="" cellpadding="0" width="100%" cellspacing="0" border="0">
<tr class="navrow"><td colspan="3" valign="top" align="right" class="t3NavBar">#NAVIGATION_BAR#</td></tr>
<tr>
<td valign="top">#LOGO##REGION_POSITION_06#</td>
... etc ...This adds a new row to the top of the body's TABLE tag. Note that I have given this row a class name of "navrow".
Now, we can use a special feature of CSS styles. Any style can be created to be used only when the object being styled is displayed on screen or sent to the printer or both (which is the default, of course).
In the Header setting, after the #HEAD# string, we can add in printer only styling for the "navrow" class:
... everything above #HEAD# ...
#HEAD#
<style type="text/css" media="print">
.navrow {display:none}
</style>
</head>
... everything after </head>Now, when the page is being printed, everything on the navigation row is hidden.
I have done this on this page: [http://apex.oracle.com/pls/otn/f?p=41075:1]
Andy

Similar Messages

  • Printing Report without ORARRP

    Hy all,
    Please Help me, I want create report aplication with printing direct from default printer but without use orarrp.
    cause,I have any problem when use orarrp and my boss want the report printing direct from printer without pop up printer properties block.
    I'm sorry if my english language is not goods.. :) :)
    can give me tutorial,script or example, please??
    Regards,
    Beny1986

    this Link post to me from days
    but i not test it until now
    print direct to hp printer

  • Printing Reports without connect  database

    May I do a reports without connect database ?

    In 2.5/6i you need a database connection to run a report.
    In 9i there are some pluggable datasources (text, XML, JDBC) with their own connections. Since the Text/XML pluggable datasources don't require a connection you can now create a report that runs without a connection but still reports on data.

  • CrystalReportViewer export/print report without CSS styles

    Hello,
    I've faced with one issue in CrystalReportViewer control and couldn't solve it by my own efforts. Before I wanted post it exactly to this forum I've found that some people already faced with that problem too...but nobody didn't receive any answer, so I have a big hope that I'll receive it here.
    My problem is related to CrystalReportViewer control and especially to its styles. I have a test application which has just one aspx page which displays very simple test report (just 3 TextObjects, for test purposes) and each TextObject has its own style which stores in css file in my web site. So, CrystalReportViewer control displays report correct, but when I export/print this report to PDF or any other document all styles are lost.
    Could someone help me with this issue or maybe just point me what thing I missed or just tuned incorrect.
    Thanks in advance.
    Best regards,
    Sasha

    It's a pity that this control hasn't possibility to export/print report with its styles, because I think it is a very useful thing.
    Thank you very much Adam, for your short and clear answer.

  • Auto-print report without cutting off results

    My requirement:
    - print a report automatically at the end of each UUT's test
    My problem:
    - The report prints, but
    -- some of the contents are cut off (especially long strings in indented tables)
    -- the page breaks sometimes cut tables in bad places
    So far I have found no way to automatically print the report in landscape mode, which would help greatly. But even better would be the ability to:
    - disable indenting tables
    - print tables in their entirety on one page
    - reformat strings so they fit, and/or control the width of the tables
    Any ideas?

    Are you using the NI example for auto-printing? That example converts the report to a temp html file and sends it to the default printer. If you're using that you could change settings for the default printer to be in landscape mode which would resolve your fundamental issue without having to write a ton of code to change table properties of the report.
    CTA, CLA, MTFBWY

  • Xmlpublisher & printing reports

    Howdy,
    Is there a way to print report without logging in to the xmlpublisher like you can do it in Oracle Reports?
    For example, application executes the following url:
    http://server:port/xmlpserver/catalog/test1/test1.xdo?_xpf=&_xpt=1&_xdo=user test1test1.xdo&param1=... etc... and it directs me to login form. But I need to somehow avoid logging in(also LDAP is not an option). Is this possible?
    Thanks in advance

    Hi Tim
    If the format is
    http://xdopf.us.oracle.com/xmlpserver/Guest/Executive/Salary%20Report/Salary%20Report.xdo
    there is no issue with the guest login.
    However when you change it to use parameters e.g
    http://bynxdev.uk.bynx.com:15101/xmlpserver/servlet/xdo?_xpf=&_xpt=0&_xf=pdf&_xdo=%2FGuest%2FBYNX_FLEET%2FQuotations%2FQUOTATION_DETAILS%2FQUOTATION_DETAILS.xdo&quotationModelId=420
    you have a problem with a message
    "Your session has expired, please click here to log in again."
    I am testing using 5.6.2 and also on BI Publisher 10.1.3.2
    Thanks

  • How can I modify column width in a spreadsheet report without using an Excel template

    I currently use the LabVIEW Report Generation toolkit in LabVIEW 2011SP1 to create simple spreadsheet reports that I can build/print without having Microsoft Office products installed.  I really like being able to do this, and it allows me to generate nice on-demand data reports - I'm also not tied to having Office installed on the system I'm using, so this works on just about any test fixture I can install the software on.  
    I recently have a requirement that I must have variable-length columns in my report.  I currently use the VI "Append Text Table to Report" in order to create a text table, but the column width requirement is that all columns must be equal width UNLESS I use an Excel Template file to define my column widths.  
    My questions are:
    Is it possible to create a text table and define per-column widths without using an Excel Template?  If so, how?  My report mainly has a lot of small numerical values for the columns, but some columns contain system names or status messages - I really hate the longer text blocks wrapping and taking up so much real-estate when if I could control the column widths I can get all my data on a single line.
    I'll admit I haven't tried this myself yet, but if I use an Excel Template will that require me to have Excel installed on the PC in order to print/generate reports?
    Is there a recommended way (with an example) of generating a text table in a report with or without using the "Append Text Table to Report" VI that allows me to have custom column widths that doesn't require me to manually build a custom print page?  If I do have to create a custom print page, what would be the most straightforward approach?
    Thanks!
    -Danny

    Sure, I'll provide a pared down example that demonstrates my use-case:
    I have a control to the VI that takes in a 2D array of strings representing the data I want printed in a table.  I am generating a standard report, adding a table to the report, and printing it.  The first VI is "New Report.vi", the second VI is "Append Table to Report.vi", and the third is "Print Report.vi", all found standard in the Report Generation palette.
    Note that the "Append Table to Report.vi" has an input parameter "Column Width" with a default value of (1).  This input parameter is a single input parameter, which defines the column widths of ALL the columns in my table - hence, with the VI the way it is, all my columns will be 1 inch wide.  
    I find myself needing to be able to define per-column widths, not just a single global column width parameter.  
    The only way I have found to do this is by using an Excel template file.  The "New Report.vi" takes in a "template" parameter, and if used, the report generation toolkit can be set to ignore the "Column Width" input parameter on the "Append Table to Report.vi" by setting the width value to -1.  Instead it will launch Excel, open the template file provided, build the table using the template, will close Excel, and will attach the generated table to the report.  However, I have a strict requirement that Microsoft Office NOT be required to be installed on the computer.  
    So, without using Excel, is there a way to generate a table in a report and define the width of each column individually?
    -Danny

  • Print crystal report without preview

    Dear All,
    i want print crystal report without preview.
    when i click print button i want show printer list install in that computer.
    so user can choose which printer that use to print. I means like if we printing document from office, we can choose the printer.
    how that i can do that?
    please help.
    best regards,
    Surbakti

    Since this issue has little to do with sql server, I suggest you post your question to a forum for CR
    SAP CR community

  • Print report from client machine without showing in screen

    Hi guys!!
    I m using (forms10g+ 10gAS). I want to Print report from client machine without showing in the screen/monitor.
    Currently I m generating report in pdf format. From the pdf I m printing the document.
    But my requirements is to print directly to the printer without showing preview
    Thanks in advance
    Mokarem

    Maybe this will help:
    http://forums.oracle.com/forums/thread.jspa?messageID=1209371&#1209371
    Gary

  • Crystal report print directly without crystal viewer

    HI !
    In my addon i use Crystal Report. What would be the code i need to add if i want to print directly instead of having to go thru the crystal viewer.
    The crystal viewer gives me lots of problems with painting the screen when i move the form and it allways opens in the task bar. I cant seem to control the window sizes of the viewer either so unless it's easyer to fix those problem i need help to go and print direct without the viewer....
    Thanks for your time

    Hi John !
    I finnaly made it work... 
    here's what i used
    Dim objAppl As New CRAXDRT.Application
                Dim objReport As CRAXDRT.Report
                objReport = objAppl.OpenReport("C:Program FilesSAPSAP Business OneAddOnsDutiesresultat.rpt")
                objReport.PrintOut(True, 1)
    Thanks alot for your time.
    p.s.: I can i get the print window open on the screen instead of the task bar ??? it did that with the viewer too...
    Thanks again

  • How we can print directly a report without preview to a local printer in web

    How we can print directly a report without preview to a local printer in web-environment, whith Oracle 9ias Report server release 6i patch 11.
    The user want to print ticket, built by Oracle Report, without previuw on PDF format, in a web three-tier environment.
    Please supply my documentation in detail and sample code if you can.

    Hello,
    Take a look to the example provided in the note :
    Note.253881.1 How to Create a Report With a Frame Only on the Last Page at a Fixed Position
    Regards

  • Template is not attached to AP Check Printing report (XML Publisher)

    Hi Guru,
    I have implemented XML publisher version of AP check Print report and did all the setups. When we make the payment in payables it automatically submits check print report. The report is completed successfully, but no output.
    When I check View details button noticed that template layout is not attached to the report.
    Please do the needful.
    Thank in Advance,
    Venkat.

    Hi,
    The following are the Instance details
    OS : OEL5
    Database: 11g
    EBS : 11.5.10.2
    I have completed all the setups for the report and I am able to see the template attached to the request for other reports where we submit them in SRS window.
    But "AP check Print report" submits automatically through the form while making the payment against supplier in AP.
    Thanks in Advance,
    Venkat.

  • How to print a report without border, only data required

    Hi,
    I have a report and need to print it. While printing I don't want the borders of the report in the output. Is that possible?
    Please let me know.

    There is a printer friendly page template that may assist you. This is the final parameter in your URL.
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/concept_url.htm#BEIFCDGF

  • How to print a report without row numbers or grid lines?

    Is there a way to print a Discoverer report without row numbers or grid lines?
    Thank you.
    Blake

    Hi Blake
    You're not doing anything wrong.
    The settings made when you use Tools | Options | Sheet are global settings that are only applied to new workbooks and worksheets going forwards. These have no impact on existing worksheets or even the one you currently have open. This is because Discoverer does not know whether your original worksheets were setup in a certain way deliberately as opposed to inheriting the global settings as they were at that time. What this also means, reading between the lines, is that these settings must then be stored within the worksheet itself, and this is exactly what happens.
    Thus, to edit an existing worksheet's settings you need to open the worksheet, right-click in the sheet and from the popup select either Format Table or Format Crosstab depending upon the type of worksheet you are working with. After making any necessary changes you will need to save or re-save the workbook in order for those settings to be remembered for the next time.
    Best wishes
    Michael

  • Print Report RDLC without preview ... very important for me.

    Hello, I want to ask you about print Report RDLC without preview .
    I saw this article here :
    http://msdn.microsoft.com/en-us/library/ms252091.aspx
    but I did not understand because the code is long and I think difficult.
    could you put simple code please?
    Thanks a lot.

    Would that fix this mod_jk problem? Do you mean to say that I have those permissions when I actually edit those files?
    I think the wiki is also mistaken assuming that JAVA_HOME is in the /opt directory.

Maybe you are looking for