LOVs in Print Friendly Mode
Hi,
I have a page item of type Display as Text (based on LOV, saves state). The page shows the display value ("Pending" in this case). However, when I launch the page in Print Friendly mode, it shows the return value ("2"), instead of the display value ("Pending").
This also occurs for any other select lists on my pages if the select list is read only.
Any ideas or workarounds?
Thanks,
Chaunaci
yes, this does appear to happen for items of type "Display as Text(based on LOV, saves state)", but things seem to work fine for my select list items in the production version of htmldb. i'll log the issue in a bit, but two ways to work around it for now would be to:
1) add an extra item to your page that would render correctly in printer friendly mode. use our built-in condition types of "Current Page Is in Printer Friendly Mode" and "Current page is NOT in Printer Friendly Mode" to determine which/when of your two items should be displayed.
2) tweak your LOV query a little bit to pay attention to the api variable, htmldb_application.g_printer_friendly. it's a boolean that returns true if your app is in printer friendly mode.
if you really are seeing this behavior with select list items, could you please provide more specifics as to how those items were set up?
thanks,
raj
[Edited by: rmattama on Apr 1, 2004 1:26 PM]
i now see the issue w/the select lists occurs in read-only mode. gotcha. didn't read that right the first time. i'll add this to the bug rpt.
Similar Messages
-
Page Header and Footer in Printer Friendly mode
Hi,
I have a report which has more than 500 rows and I want to print them.
The printer friendly mode works fine, but is it possible that there is a page "header" and "footer" on every page which is printed?
For example, that the column headings are on every page which was printed?
Or that at the bottom of each page is the page number displayed?
Does anyone have an idea?
Thanks,
TimIE and Firefox are designed for WEB pages.
WEB pages are on Internet. Security is important and browser should not compromise user to use it.
Many users=Many printers!
If you want to write app for especially one printer and know users (Intranet application) then here is what you can do:
1) Use IE
2) write your own ocx with interface for your needs.
3) every user should implement this ocx in their browser.
4) When they accept your ocx, then in this "small app" you could do as much as this user can do on their own windows. So setting printer, orientation and size is a peace of cake.
5) make your report regarding this printer
And this is it!
And few other things...
If user choose larger font then your HTML is broken!!!
For that I think that PL/PDF or Mail merge is better solution! -
A script to display all rows on printer friendly mode
Hello,
I use IR with a navigation bar entry to open the printer friendly mode.
Now I can hide the regions I want and I have modified the template, it works fine.
But I would like to consistently display all rows in the IR (in this mode). How could I do that ? Maybe can I add a script in the template header but I don't know what exactly...
Maybe something like gReport.search('SEARCH', this."100000"); ?
Anyone'd have an idea ?
Thanks for your help.
FannyOk, I think I have found a sort of issue :
-> On page 0 (so it works on all pages) I created a dynamic action that display all rows on the IR :
Event : Before page submit
Settings : Execute Javascript Code = Search ();
Affected elements : IR region
Type condition : Printer Friendly Mode
... + function 'Search' located in the template header :
function Search ()
gReport.reset();
$('#apexir_SEARCH').val($x('100000').value);
gReport.search('SEARCH');
};-> On each page properties I added (javascript when page loads) (if the user refresches the page on the standard mode) :
gReport.search('SEARCH');So when the user open the printer mode, all rows display, when he returns to application , the IR hasn't moved.
If he refreshes the page, all rows display too (the value is set to 100000 rows) but the gReport.search('SEARCH'); take, in a second time, the search bar value, that hasn't changed.
And that's it ! -
Need help with printer friendly
I would like to create a new template for printer friendly mode. I would like the text to appear just as large and in the same locations in printer friendly mode just as it appears on the form before clicking the print button .Could someone please lead me in the right direction on what to do. Please take into account I am not a HTML guru.
ThanksHello
I would like to know how to have a printer friendly page print according to my printer preferences. Currently when I print I am left with what appears to be pieces of graphics around a report as well as not printing in duplex mode as the printer preferences define.
I too am not an HTML programmer, are there additional setups to check aside from the "Printer Friendly" checkbox?
Thanks for any help -
Printer-Friendly Pop-Up Window
Hello,
I have a link to a "printer-friendly" pop-up version of a page.
It is a navigation bar entry. The URL target is:
javascript:popUp2('f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.::::::YES', 800,600)There is a List on the page that is displayed on the printer-friendly pop-up window.
How can I exclude this list, similar to the way the "print" link for the pop-up window itself is excluded?
Thanks!
MattNo problem Matt - and yes - just answered a similar question. You'd test the value of APEX_APPLICATION.G_PRINTER_FRIENDLY - if true page is in printer friendly mode else it isn't.
Hope this helps, I'll gladly accept points if it does! ;-)
John -
Hi,
I am using Apex 3.0.1 on Database XE
For some reason there are no "printer friendly" links on any of my pages (regardless of which built-in theme I use)
In the past when I have used Apex 2.2 at my workplace, all of the default themes came ready with a printer friendly link on the page.
What do I need to do to get easy access to printer friendly view (using the built-in printer friendly templates in each theme).
Thanks,
JohnJohn,
Get started here http://download.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/demo.htm#sthref120
Essentially, you create a page template, then set the theme your using to use that template, and then create a link that goes to the page in printer friendly mode. Let me know if you still have questions after.
Dan -
I can't print printer friendly version on Ancestry.ca whereas Internet Explorer can.
I have a family tree on ancestry.ca that can be printed on using a printer friendly version. I have used Firefox in the past with no problem printing, but recently when I tried to print, it would only print the first page. I went to print preview and it would only show the first page. All the rest were blank except for the headers and ancestry logo. When I emailed them with the problem, they suggested that either the web browser I was using or my antivirus program was the problem because they went into my account and everything seemed to be working properly. I tried Internet Explorer and everything worked fine. No problems printing. Fire Fox is my default browser and I prefer to use it but something has changed recently. I don't recall changing any settings so perhaps you could tell me what the problem is.
Hi Bigggtommy, you wrote:
<blockquote>When I click print (top left) it says "an error occurred while printing"
</blockquote>
Do you mean you can't even call up the Print dialog from the File menu without getting an error, or is that after calling up the dialog and clicking OK?
When you select Print from the 3-bar menu, Firefox should call up Print Preview. So neither method is working for that.
It seems that Firefox is having a severe issue with reading some metrics from your printer driver or has some other setting or program problem.
In case one of your extensions is involved, could you test the page in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: [[Troubleshoot Firefox issues using Safe Mode]].
You can restart Firefox in Safe Mode using either:
* "3-bar" menu button > "?" button > Restart with Add-ons Disabled
* Help menu > Restart with Add-ons Disabled
Not all add-ons are disabled: Flash and other plugins still run
After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (''not'' Reset).
Any difference? -
Change font size in printer friendly template
Can anyone please let me know where to change the font size in a printer friendly template?
Thanks!Basically I want to change the font size only in the printer friendly page of the report and not in the orginal report. Any ideas?
-
Change Report Font Size for Printer Friendly Page
I have a report using a template of 'Reports Region' and I have a link to a printer friendly page. Because the report text is so big I would like to make it smaller. I have already reduced the width of the report region but that has made 2 page reports run into 4 pages. I tried adding tags to the page to modify it but I was only able to make the text at the top of the page smaller and not the report. I tried modifying the theme_V3.css file but I could not find a place to modify text/font size in the report (This was trial and error as I am unfamiliar with css).
I would like to only have it smaller on the printer friendly page but if I will be forced to change it all the time I would like to know if there is at least an option.
If the only way to make this happen is to build a custom report then so be it. (But again the printer friendly page only pulls in the current page and I want it to only be small on the printer page)
I am on V2.2.
ThanksYou need to use a print media stylesheet. You'll need to find class(es) or other CSS selector(s) to attach the font size rule(s) to - look at the HTML source for your page.
-
My OS is Windows 7 and I recently upgraded to Firefox 23.0.1 and then installed the extensions: Print/Print Preview 0.9 and Printfriendly initial rev 72.1. When I go to the add on manager they are listed and not disabled. Under Toolbars, the following are selected: Menu Bar, Navigation Tool Bar, Bookmarks Tool Bar, Add-On-Bar. I don't see any of my Extensions on the Add-On-Bar. At the bottom left of the browser window appears an "x" for closing the Add-On-Bar. There is nothing else showing.
Print/Print Preview uses and appends to the default Print button that comes with Firefox. If you don't have that button, use the '''Restore Default Set''' button in the lower-right corner of the Palette.
As far as Print Friendly, the AMO download page says that button is placed on the Add-on Bar by default. If it isn't there maybe "Restore ...." will fix it, and if not I would suspect a compatibility issue.
Beyond that I can't help you, as I use the Print Edit extension which works fine with Print/Print Preview . I don't like Print Friendly due that extension using their website instead of doing the "editing" within the users browser. Potential security issues for me.
Note, I have tried the Print Friendly bookmarklet which works very much like their extension, and after examining the code and having a person who I consider well-versed with JavaScript look at it - I decided to use Print Edit instead. -
I am running XP SP2 fully patched. I recently upgraded to 3.6.3 and since then, clicking on an icon that normally would open another windows (for example, a printer-friendly version of the current web page), nothing happens. In these situations, I have been forced to go to IE or Crome in order to accomplish what I need to do. Very frustrating. Also clicking in the slider area has no effect. "Page Up" and "Page Down" keys work. Holding down left mouse button on slider works. Also very frustrating. Can someone help
== This happened ==
A few times a week
== Upgraded to 3.6.3.Many thanks.
With those symptoms, I'd try the following document:
Apple software on Windows: May see performance issues and blank iTunes Store
(If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.) -
How do I create a printer friendly page in a popup window for a JSF page
I have a JSF page that displays a table that shows the inventory level of a particular garment style. The table is like a matrix with each row representing a color of the style and each column representing a size of the garment. So the data in the table cell is for the inventory level of a particular color/size combination (e.g. navy blue of medium size ) for the particular style. The page also allows you to dynamically select a warehouse from a dropdown to see the inventory matrix of that warehouse.
Now everything has been working fine except that the matrix table is not printer-friendly. So we need to have a Print button or link on the page that will generate a popup window that displays the same matrix table in a printer-friendly format (with different style sheet etc.). What is the best way to populate the matrix table in the popup? The data in the matrx table is stored in a hashmap in a InventoryManageBean of session scope.
Also, shoud I use window.open to get the new window and if so what do I pass in the URL parameter?
Any advice is appreciated. It would be great if you can include a code sample as I would think someone else must have had this done before.Any one please? This is urgent. Thanks a ton!
-
Date format in PDF "Printer friendly"
I am using obiee 10.1.3.4.1
Is it possible to change date format in PDF files that are exported with "Printer friendly" option?
For example I have prompt with date 01.12.2011.
I want to export whole dashboard (prompt with report) to PDF with "Printer frienldy" button. But this generates PDF with prompt where is my selected date in different format 2011-12-01
I would like to have same date format in PDF as it is in my prompt...date separator is "." in my case and dateOrder is "dmy"
my complete localeDefinition is bellow
<localeDefinition name="cs-cz"> <!-- czech -->
<property name="localeDisplayMessage">kmsgLocaleName_csCZ</property>
<property name="defaultLanguage">cs</property>
<property name="characterSetList">locale:cs</property>
<property name="listSeparator">;</property>
<property name="decimalSeparator">,</property>
<property name="thousandsSeparator"> </property>
<property name="dateSeparator">.</property>
<property name="timeSeparator">:</property>
<property name="timeFormat">H:mm:ss</property>
<property name="dateShortFormat">d.M.yyyy</property>
<property name="dateLongFormat">d. MMMM yyyy</property>
<property name="negativeNumberTemplate">-#</property>
<property name="collationImplementation">win:0405</property>
<property name="dateOrder">dmy</property>
<property name="24hours" xsi:type="xsd:boolean">true</property>
<property name="am">dop.</property>
<property name="pm">odp.</property>
<property name="firstDayOfWeek" xsi:type="decimal">0</property>
<property name="monthNames">
<property>leden</property>
<property>únor</property>
<property>březen</property>
<property>duben</property>
<property>květen</property>
<property>červen</property>
<property>červenec</property>
<property>srpen</property>
<property>září</property>
<property>říjen</property>
<property>listopad</property>
<property>prosinec</property>
</property>
<property name="abbrevMonthNames">
<property>I</property>
<property>II</property>
<property>III</property>
<property>IV</property>
<property>V</property>
<property>VI</property>
<property>VII</property>
<property>VIII</property>
<property>IX</property>
<property>X</property>
<property>XI</property>
<property>XII</property>
</property>
<property name="dayNames">
<property>pondělí</property>
<property>úterý</property>
<property>středa</property>
<property>čtvrtek</property>
<property>pátek</property>
<property>sobota</property>
<property>neděle</property>
</property>
<property name="abbrevDayNames">
<property>po</property>
<property>út</property>
<property>st</property>
<property>čt</property>
<property>pá</property>
<property>so</property>
<property>ne</property>
</property>
<property name="dateFormats">
<property>d.M.yyyy</property>
<property>d. MMMM yyyy</property>
<property>d.M.yy</property>
<property>yyyy-MM-dd</property>
</property>
<property name="timeFormats">
<property>H:mm:ss</property>
<property>HH:mm:ss</property>
<property>h:mm:ss tt</property>
</property>
</localeDefinition> -
Send printer friendly page per mail
Hello everybody.
I'm very new with APEX and I couldn't find an answer to solve my problem:
I have a printer friendly page with several text elements and a report so that it nearly looks like a letter in the end.
Now I want to send this page as a "pdf-attachment" per mail when pressing a button.
I already noticed the "add_attachment"-procedure in the APEX_MAIL package, but how do i get my actual printer friendly page stored in a BLOB-column in my DB to use this procedure?
Thanks in advance
CarstenCarsten,
There are several different version of the get_print_document function, e.g there's this one:
APEX_UTIL.GET_PRINT_DOCUMENT (
p_report_data IN CLOB,
p_report_layout IN CLOB,
p_report_layout_type IN VARCHAR2 default 'xsl-fo',
p_document_format IN VARCHAR2 default 'pdf',
p_print_server IN VARCHAR2 default NULL
) RETURN BLOB;
So you could store both the XML and XSL in a CLOB. But it might be easier to get started referencing actual report queries and report layouts, which you store under shared components and then use this API:
APEX_UTIL.GET_PRINT_DOCUMENT (
p_application_id IN NUMBER,
p_report_layout_name IN VARCHAR2,
p_report_query_name IN VARCHAR2,
p_report_layout_name IN VARCHAR2 default null,
p_report_layout_type IN VARCHAR2 default 'xsl-fo',
p_document_format IN VARCHAR2 default 'pdf',
p_print_server IN VARCHAR2 default null
) RETURN BLOB;
Using pre-defined report queries and layouts ensures that you don't run into issues with your custom XML and XSL data.
The error message "500 Internal Server Error" is a standard Java error message that doesn't tell you anything. Maybe you could find more info in one of your log files. Are you using BI Publisher? Apache FOP? Or some other rendering engine?
Regards,
Marc -
Printer friendly output does not print region borders
I am using theme 10 i have set up a printer friendly template which has a report region in it. The printer friendly page displays correctly on the monitor, but when i print the page the region borders are not printed. I only seem to get the corners of the region printing
same thing with the region title only the sides of the border are printed.
any suggestions as to why this is??Have figured it out...
you have to set the following option in your browser.
Tools > Internet Options > Advanced
in the Printing section check the 'Print Background colors and images' box
Maybe you are looking for
-
After I reset my Ipod (deleted all data and settings) windows 7 doesn't recognize by ipod touch, and it doesn't appear in the itunes library or in the device menu, but it does charge. How can I get my computer to recognize it again?
-
Unable to View the Images in OBIEE Title view
Hi All, I am trying to add a image in the title view of Answers interface. I placed my image in jpeg format in the following 2 paths. C:\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\images and C:\OracleBI\web\app\res\s_o
-
When I change "browser.newtab.url" to about:home and open a new tab, focus is set to the address bar not the search box on the firefox home page. The same thing happens if i change the url to google.com or another search engine. Is there any way to p
-
Macbook Pro Retina crashes with thunderbolt display
Whenver I plug the thunderbolt display into my macbook pro retina both displays black out and the computer becomes semi-unrespsonsive (ie I can hear the volume controls however that is all. I need to force shutdown. I've noticed this problem happenin
-
Can I use iMovie to edit and enhance both video and audio of my homemade DVDs?
I have a lot of homemade DVDs converted from old VHS tapes. The video and audio quality need to be edited/enhanced. Can I use my iMovie 11 for this task? If not what are my options? Thanks.