Printing a HTML DB REPORT page.
I am new to using HTML DB. I am using version 2.0. I created a simple report page (Theme 10) that displays fine on the screen. I've searched every where, but can not determine how to apply the Printer Friendly attribute to this 'Report' page. I don't see a checkbox to invoke it as I create the report page or how to invoke it after the report page is created. The user needs to be able print the report that they are viewing on the screen. I don't know how that is accomplished. Thanks.
Earl,
I'm making some progress. I created the navigation bar and now Print appears on the bar along with Logout. I used the &APP_PAGE_ID. However, when I click on the Print link I get an ie message The page cannot be found. HTTP 400 - Bad Request.
The Report page I am trying to print has the following syntax in the HTML 'Body'
<td class"t10NavBar">&APP_USER.#NAVIGATION_BAR#</td>
Does this satisfy your request to put #NAVIGATION# as a substitution string in the page template?
Also, based on the screen shot link (tinypic) you sent me, it appears to be an earlier version of HTML DB because it is not exactly what I'm seeing.
Thanks,
Don
Similar Messages
-
Add a Print button to a Report Page
I'm trying to add a Print button to a report page to render the page in printer-friendly mode and then give the user the option to send to a printer. I started with just trying to add a print button. I added a button to the region and added to the button request value javascript:window.print();. When I click on the print button, nothing happens. So I tried to add some html code:
<form>
<input type="BUTTON" value="Print" onClick="window.print()">
<form>
as a condition in Expression 1 when I selected "Current page is NOT in Printer Friendly mode". Nothing happens when I click on the print button. Can anyone offer some steps to create this functionality or point me to documentation on how to do this? I have tried the help documentation within APEX and isn't clear to me.
ThanksThe documentation wasn't very clear to me. I did try one suggestion to create a region on the report page and call it Print. The suggestion is then to add the following code to the Source Region section:
<form>
<input type='BUTTON' value="Print this page" onClick="window.print()">
<form>
The example however leaves out some significant information however. What is the region created as e.g. HTML, Report, Form, URL, etc? -
How to print date/time in report page footer?
Hi
I have a report which users can print as PDF.
However, I like to display current date/time in report footer.
I can see the Page Footer in section but can't figure out how to print date/time there.
Thanks for help.hi movilogo
Please try this.
Create hidden item P1_DATE
Create On load process in page 1 and put this code
begin
:P1_DATE:=TO_CHAR(SYSDATE,'DD-MON-YYYY HH:MM:SS');
end;
Open your region in Page 1 put this code in Footer area
*&P1_DATE.*
Refresh your page.
you will get the output like this.
16-SEP-2009 11:09:17
thanks
Mark Wyatt -
How to keep the report structures in all the report pages
I need how to design the rdl surface, to keep the table headers displayed on all the generated reprot pages,
Design: Please find the below id my report design, having 4 data tables bould to the tablix data region.
Header_Region
Top_Left_Table Top_Right_table
Rows|Rows|Rows Rows|Rows|Rows
Bottom_Left_Table Bottm_Right_Table
Rows|Rows|Rows Rows|Rows|Rows
Footer Region
If i get more number of rows on the top_right table, i want this to be paginated for every 10 rows, to the next report page. and following bottom left_right table has to be populated with or without data, even if the above table gets paginated.
Problem:
If i get more number of rows in top right table section, my bottom tables are not displayed in the first page report, it is getting rendered once the after the top right table completes its population. hence the bottom tables are all moving to the 5th page
or above the pages.
Please help me in this design, how designed structure has to be printed in all the report pages with or without data.Hi SivaSakthivel,
According to your description, I understand that you want to display the four table’s structure on each page.
To approach your goal, you can utilize a list control to achieve this requirement, please follow the steps:
1. Drag a list into report body, right-click Details in Row Groups panel to select Group Properties….
2. Click Add button, then type in expression =ceiling(RowNumber(nothing)/10) in the textbox.
3. Drag the four tables into this list control.
Hope this helps.
Regards,
Heidi Duan
Heidi Duan
TechNet Community Support -
APEX Print Attributes for Interactive Reports versus Reports
The Print Attirbutes tab for Interactive Reports does not have the Enable Report Printing option that the same tab does for Reports. The Enable Reports option when set to Yes" puts a print link on the Reports page. Since, the option doesn't appear for under the Print Attributes tab for Interactive Reports, how can I get a print link appear on an Interactive Report page?
Hi,
Those links are visible to end user in action menu -> Download
Br, Jari -
How to Display Page Numbers in ALV Report HTML End of page Event
hai Gurus
Greetings
Please tell me how to get current page noumber and total number of pages in ALV Report (in HTML End of Page Event)
i tried with sy-pagno system field but it is not working
so please guide me
Thanks
Rameshcheck below code....
*Work area for Layout
gf_layout type slis_layout_alv,
*Work area for HEADER FOOTER
gf_header type slis_listheader,
*Work area for Field catalogue
gf_fieldcat type slis_fieldcat_alv.
it_top_page type slis_t_listheader,
*Internal table for Field catalogue
it_fcat type slis_t_fieldcat_alv.
perform:fill_layout,
prepare_header,
field_catlog,
display_report.
Form fill_layout
form fill_layout .
gf_layout-colwidth_optimize = 'X'.
endform. " fill_layout
Form field_catlog
form field_catlog .
data : lf_fcat type line of slis_t_fieldcat_alv,
l_cnt type i.
clear : lf_fcat, l_cnt.
Employee Number
add 1 to l_cnt.
lf_fcat-fieldname = 'EMPLID'.
lf_fcat-tabname = 'IT_EMPLOYEE'.
lf_fcat-col_pos = l_cnt.
lf_fcat-emphasize = 'X'.
lf_fcat-outputlen = 8.
lf_fcat-seltext_l = text-003.
append lf_fcat to it_fcat.
clear lf_fcat.
*Last Name
add 1 to l_cnt.
lf_fcat-fieldname = 'USERNAME'.
lf_fcat-tabname = 'IT_EMPLOYEE'.
lf_fcat-col_pos = l_cnt.
lf_fcat-emphasize = 'X'.
lf_fcat-outputlen = 20.
lf_fcat-seltext_l = text-004.
append lf_fcat to it_fcat.
*First Name
add 1 to l_cnt.
lf_fcat-fieldname = 'EMPMAIL'.
lf_fcat-tabname = 'IT_EMPLOYEE'.
lf_fcat-col_pos = l_cnt.
lf_fcat-emphasize = 'X'.
lf_fcat-outputlen = 40.
lf_fcat-seltext_l = text-005.
append lf_fcat to it_fcat.
*Known As
clear lf_fcat.
add 1 to l_cnt.
lf_fcat-fieldname = 'EMPSTATUS'.
lf_fcat-tabname = 'IT_EMPLOYEE'.
lf_fcat-col_pos = l_cnt.
lf_fcat-emphasize = 'X'.
lf_fcat-outputlen = 10.
lf_fcat-seltext_l = text-006.
append lf_fcat to it_fcat.
clear lf_fcat.
*System UserID
add 1 to l_cnt.
lf_fcat-fieldname = 'COSTCENTER'.
lf_fcat-tabname = 'IT_EMPLOYEE'.
lf_fcat-col_pos = l_cnt.
lf_fcat-emphasize = 'X'.
lf_fcat-outputlen = 10.
lf_fcat-seltext_l = text-007.
append lf_fcat to it_fcat.
clear lf_fcat.
*EMail ID
add 1 to l_cnt.
lf_fcat-fieldname = 'DEPTDESC'.
lf_fcat-tabname = 'IT_EMPLOYEE'.
lf_fcat-col_pos = l_cnt.
lf_fcat-emphasize = 'X'.
lf_fcat-outputlen = 8.
lf_fcat-seltext_l = text-008.
append lf_fcat to it_fcat.
clear lf_fcat.
*Employment Status
add 1 to l_cnt.
lf_fcat-fieldname = 'LOC'.
lf_fcat-tabname = 'IT_EMPLOYEE'.
lf_fcat-col_pos = l_cnt.
lf_fcat-emphasize = 'X'.
lf_fcat-outputlen = 20.
lf_fcat-seltext_l = text-009.
append lf_fcat to it_fcat.
clear lf_fcat.
*Personnel Area
add 1 to l_cnt.
lf_fcat-fieldname = 'TITLE'.
lf_fcat-tabname = 'IT_EMPLOYEE'.
lf_fcat-col_pos = l_cnt.
lf_fcat-emphasize = 'X'.
lf_fcat-outputlen = 40.
lf_fcat-seltext_l = text-010.
append lf_fcat to it_fcat.
clear lf_fcat.
*Personnel Area Text
clear lf_fcat.
add 1 to l_cnt.
lf_fcat-fieldname = 'HDATE'.
lf_fcat-tabname = 'IT_EMPLOYEE'.
lf_fcat-col_pos = l_cnt.
lf_fcat-emphasize = 'X'.
lf_fcat-outputlen = 10.
lf_fcat-seltext_l = text-011.
append lf_fcat to it_fcat.
clear lf_fcat.
*Country Grouping text
add 1 to l_cnt.
lf_fcat-fieldname = 'MGRID'.
lf_fcat-tabname = 'IT_EMPLOYEE'.
lf_fcat-col_pos = l_cnt.
lf_fcat-emphasize = 'X'.
lf_fcat-outputlen = 10.
lf_fcat-seltext_l = text-012.
append lf_fcat to it_fcat.
clear lf_fcat.
*Cost Center
add 1 to l_cnt.
lf_fcat-fieldname = 'MGRNAME'.
lf_fcat-tabname = 'IT_EMPLOYEE'.
lf_fcat-col_pos = l_cnt.
lf_fcat-emphasize = 'X'.
lf_fcat-outputlen = 20.
lf_fcat-seltext_l = text-013.
append lf_fcat to it_fcat.
clear lf_fcat.
*Employee Group
add 1 to l_cnt.
lf_fcat-fieldname = 'MGMAIL'.
lf_fcat-tabname = 'IT_EMPLOYEE'.
lf_fcat-col_pos = l_cnt.
lf_fcat-emphasize = 'X'.
lf_fcat-outputlen = 40.
lf_fcat-seltext_l = text-014.
append lf_fcat to it_fcat.
clear lf_fcat.
*Organizational Unit
add 1 to l_cnt.
lf_fcat-fieldname = 'DIV'.
lf_fcat-tabname = 'IT_EMPLOYEE'.
lf_fcat-col_pos = l_cnt.
lf_fcat-emphasize = 'X'.
lf_fcat-outputlen = 25.
lf_fcat-seltext_l = text-015.
append lf_fcat to it_fcat.
clear lf_fcat.
*Supervisor
add 1 to l_cnt.
lf_fcat-fieldname = 'BUSUNIT'.
lf_fcat-tabname = 'IT_EMPLOYEE'.
lf_fcat-col_pos = l_cnt.
lf_fcat-emphasize = 'X'.
lf_fcat-outputlen = 25.
lf_fcat-seltext_l = text-016.
append lf_fcat to it_fcat.
clear lf_fcat.
endform. " field_catlog
Form display_report
form display_report .
data : l_repid type sy-repid.
clear l_repid.
l_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = l_repid
is_layout = gf_layout
it_fieldcat = it_fcat
i_callback_top_of_page = 'TOP-OF-PAGE'
tables
t_outtab = it_employee
exceptions
program_error = 1
others = 2.
endform. " display_report
Form PREPARE_HEADER
form prepare_header.
data:l_header1(20),
l_header2(60).
data:l_header3(20),
l_header4(60).
l_header1 = 'Met Life Census Data'.
l_header2+40(8) = 'Run Date'.
write sy-datum to l_header2+50(10).
header
gf_header-typ = 'S'.
gf_header-key = l_header1.
gf_header-info = l_header2.
append gf_header to it_top_page.
clear gf_header.
endform. " PREPARE_HEADER
form top-of-page.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = it_top_page.
endform. "TOP-OF-PAGE
*& Form end_of_list_html
output at the end of the list - not in printed output *
FORM END_OF_LIST_HTML USING END TYPE REF TO CL_DD_DOCUMENT.
DATA: LS_TEXT TYPE SDYDO_TEXT_ELEMENT,
L_GRID TYPE REF TO CL_GUI_ALV_GRID,
F(14) TYPE C VALUE 'SET_ROW_HEIGHT'.
LS_TEXT+0(20) = 'Total Employees'.
LS_TEXT+40(10) = g_count.
CALL METHOD END->ADD_TEXT
EXPORTING
TEXT = LS_TEXT
SAP_EMPHASIS = 'STRONG'.
*adds new line (start new line)
CALL METHOD END->NEW_LINE.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = l_grid.
CALL METHOD l_grid->parent->parent->(f)
EXPORTING
id = 3
height = 10.
ENDFORM. -
Oracle reports Page layout problem in HTML
Hi,
I am Using Oracle Reports6i to create my web reports. I found some problem with my reports page layout.
When I print my report from browser which is generated in html, it prints my first page's page number in begining of my second page and it continues in all pages disordering the report.
When I try to print from report builder It prints perfectly.
I want to know how do I control my page layout in html without asking user to set anything in browser each time they print.
Please try to help me with this.
Thank you
Regards
Rajesh Sharma
nulldear rajesh
i was also facing same problem,try these things it may help
change the desformat=htmlcss
destype=file
and desname=(name of file where
u want the output) ex. c:\pi.html
after that open that file i believe it wiil be alright,pls confirm me at [email protected]
bye
null -
Printing a HTML page in a JTextPane
Hi all..
I nned to develop a report generating system for one of the softwares that I am writing and I am planing to generat the report as a HTML page (both text and images) and users can preview them on a JTextPane and can save to disk as html files for further use.
I also want to add functionality to the application to print the report through java.
what I want to do is to print what is displayed in JTextPane (Content Type: text/html)
I am familiour with Printable interface what I cant figure out is how to make the JTextPane printable and how to send the data in JTextPane to printers Graphic object
Can somebody give a sample code for this.
Also if you know any other way of printing a HTML formated text without use of any other componant like JTextPane please tel me how to do it.We had done the same using the JEditor Pane and later print the JEditorPane using the print API..
Here is the code to include the html file.
mainPane = new JEditorPane("file:///C:/project/JavaPrintingAPI/AddGlobalProduct.html");
mainPane.setEditable(false);If it work... hungry for yummy dukes... :-) -
Printed XML Purchase Order Report - Printing blank Blanket PO page
Hi,
When printing the xml report of a Blanket PO Release, the release lines and headers print first but the last page is a page for the primary blanket PO (PO Num without any releases attached). This page does not contain any information in the header or line fields therefore it is a waste of paper. Looking into the XML code the blanket PO page is pulled in the same manner as the Release lines, against G_Headers. I'm going to look into the Reports Developer SQL to see if I can find something but I would rather not mess with the configuration of the SQL if I did not have to.
Any ideas on how to get rid of this extra unnecessary page?
Thanks,
-SteveHi,
RDBMS : 11.2.0.1.0
Oracle Applications : 11.5.10.2
OS: Unix
The issue can be reproduced.
The report in question has had customization but the blank page prints in the Printed Purchase Order Report(Portrait) seeded function as well. From what I see the SQL might be able to modified based off of the input paramet "Print Blanket PO". When this is selected "No" the Blanket header is printed with no lines (that's where the blank PO page is coming from). When selected Yes the blanket header with all the blanket lines are printed. So I may be able to go in and change how that input parameter changes the output, unless there is a better way.
-Steve -
History report page prints before printing each new document?cc=us
How do i stop my HP Officejet 6700 Premium from printing a history report page before printing each new document, using Windows 7 & Using Microsoft Word? When I open a document and print it, it prints a history including: File Name; Directory; Template; Title; Subject; Keywords; Comments; creation Date; Change Number; Last Saved On; Last Saved By; Total Editing; Last Printed On; As of Last Printing....
Everything worked perfectly for a year, then I had to reinstall the printer because I deleted it by mistake. I cary it with me when I travel to meetings and didn't have my install disk, so I had to download the install software. I haven't changed any settings in Word, but it appears that the report is generated from Word.
Help will be appreciated. I can't find any other topic like mine to see an already presented solution.
This question was solved.
View Solution.Hi,
The report indeed being generated by Word and not by the pritner driver.
As you did not clarify your MS Office version I included the steps for Word 2010, I believe the same should also apply for Word 2007:
From Word click the File menu, then select Options.
Select Display from the left pane.
Under the Printing Options sections, uncheck the box next to Print document properties.
Click OK and try printing again.
If you cannot find the specific option, please clarify your exact Microsoft Wiord version.
Shlomi
Say thanks by clicking the Kudos thumb up in the post.
If my post resolve your problem please mark it as an Accepted Solution -
Print group name on a page of Report
I have sorted my data on my report, printing a group on each page of my report.
On each page, i would like to print the name of the current group (easy) but also the name of the previous page group. How can i do that ?
Using GroupName()...?duplicate - please do not post multiple times
-
How to print multiple footers for each page in RTF template xml report.
Hi,
How to print multiple footers for each page in RTF template xml report.
i am able to print ( two sets ) ...
up to last page ( one template ) and for last page ( another template).
i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
Thanks in advance.
Regards,
KAP.You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
Just have for-each@section logic.
It would be difficult for me to guess what you have done without looking at your RTF or describing here. -
6980 wont stop printing report pages
Help-My 6980 Deskjet has recently started printing report pages after every print job. It seems to go into quiet mode on its own, prints the job and then continues to print multiple report pages until I turn it off. Of course I'm out of warranty so no help from support.
Sorry using XP PRo with a wireless connection. No troubles there.
-
Print Multiple copies of report, and resetting Page number for each copy.
Dear frnds!
i am using developer 6i reports i have a problem.
i want to Print Multiple copies of report, and resetting Page number for each copy" that is 4 copies of an invoice is required
1 - for user copy
2- gate copy
3- accounts office
4- office copy
any body please tell me the solution "i am using oracle 9i and developer 6i"
Thanx
IbrarHi,
I was wondering if you were able to get your multiple copies working? Below is what I have so far, just trying to get it to work before changing the actual template.
<?for-each-group@section:R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
<?variable@incontext:G1;R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
<?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
HEADER
PSN: <?$G1/Pick_Slip_Number_Display_ID54?>
PSN Detail: <?$G1/PickSlipNumber_ID260?>
Page 1 of 3
<?start:body?>
BODY
<?$G1/LineNumber_ID6?>
<?end body?>
FOOTER
<?end for-each?>
<?end for-each-group?>
XML:
<R5542520>
<Pick_Slips_Detail_Lines_S24>
<Header_Custom_Section_S24>
<Pick_Slip_Number_Display_ID54>123456</Pick_Slip_Number_Display_ID54>
<PickSlipNumber_ID260>123456</PickSlipNumber_ID260> -
Is there a way to print a Html-Report direktly in LabView?
I created a Html-Report wich includes a jpg-Picture.
Actually there is no way, in the Report Generation, to Print a Html file. I Would be
glad if you have a solution (sub-vi?) to Print a Html file directly in Labview.
Thanks
PH!LYou can drive IE with Lv through ActiveX: When you have creating an IE
ActiveX reference with Lv, you will be able to open your file and then print
them programmatically...
"PH!L" a écrit dans le message news:
[email protected]..
> I created a Html-Report wich includes a jpg-Picture.
> Actually there is no way, in the Report Generation, to Print a Html
> file. I Would be
> glad if you have a solution (sub-vi?) to Print a Html file directly in
> Labview.
> Thanks
> PH!L
Maybe you are looking for
-
Btw now it's almost two days that am waiting without getting a new photo restored.. PLEAASEEEE HELP ME IF U CAN
-
Hi All, Few days back, I got Run Time Error problem with the system due to " Runtime error COMPUTE_BCD_OVERFLOW has occurred". Now I have solved the issue and I would like to check that, How about those missing batches early and is there any way to r
-
There is SOMEONE who a zen Vision has m. and Dutch/dutch spe
English: - if you do not disturb it I will ask you a couple questions concerning those mp3 player! During playing to film does not get bogged down he then sometimes or? If you are with those creative busy then do everything go smoothly or happerd run
-
Restrictions on the transaction GR55
Hi gurus can you help? need to implement restrictions on the transaction GR55, the group reports that the user will access, to put a report a group of authorization and put in the role in all fields BRGRU, but does not work, the user has access to al
-
Photos look great on a MAC. and not so great on a PC. why?
the subject says it all. my photos look perfect on a MAC(safari and firefox). when i view my photos on a PC(explorer and firefox), they look dark, over saturated, and sometimes out of focus! can somebody tell me why this happens ? can this be fixed?