JavaScript Print Button Page Range Not Working Ubuntu Linux
I have created a PDF file that has several button programed in Javascript to print a page or page range in the file. It works great in Windows and Mac but in Ubuntu Linux there is a problem. When you hit the button it brings up the Print window but it has all pages set to print instead of the 1 or 2 pages it is programed to print. How do you fix this. I used the following Javascript. Please help.
this.print({
bUI: true,
bSilent: true,
bShrinkToFit: true,
nStart: 1,
nEnd: 1
This is supposed to print only page 2 of the document but in Adobe Reader in Linux it wants to print page 1-12. Apparently the nStart and nEnd does not work. Is there another way to do this so it will work in Ubuntu Linux.
Thanks
I suspect that the problem has to do with the added security
included in Flash 8 and above that restricts javascript. If you
search the flash player KnowledgeBase on Adobe.com you'll find more
detailed information about fixes, but here is what worked for my
Javascripted items.
Find your Program Files > Adobe > Adobe Captivate 4
> Templates > Publish folder. Within the folder is a
standard.htm file. Open this file (for this simple task, i just use
notepad). In the script section, add...
so.addParam("allowScriptAccess", "always");
you'll see other similar param declarations. It doesn't
matter the order.
You can edit the individual .htm file if you want to test
this first.
That should do it.
Here is the KB article that discusses the security features
in greater detail:
http://www.adobe.com/devnet/flashplayer/articles/secure_swf_apps_04.html
Similar Messages
-
Print Button in TRIP_EWT not working
We just recently upgraded from 4.7 to ECC 6.0 and noticed in the portal that when we click the print button after displaying the travel expense report that it doesn't do anything. It should display a pop-up of the print dialog box. I checked the code in SAP and everything's fine. I'm suspecting that there is a setting in the service parameters in SICF that's blocking the print dialog box from popping out. If anybody can just point out what we are missing on the gui configuration of the service that would be very much appreciated!
Hi Derick
Not good news I'm afraid, the service TRIP_EWT is no longer supported starting ERP2005. It was envisioned to be replaced by the Web Dynpro functionality
Notes 870126 and 709038 are explaining the maintainence strategy and reasons for this.
Sorry not to give you good news here!
Sally -
Printing only odd/even numbered pages does not work
I've got following problem: Printing only odd/even numbered pages does not work. Not in Preview, nor Adobe Reader. I Don't know why. i'm using a hp Color LaserJet 2550L. I just worked fine, but I cannot remember the time this failing first occured. I really hope the problem will be solved quick and easy.
Thanks so far
Bastian.Mine does not work either. I have trashed prefs, rewrote permissions, ran Disk Utility from a separate HD, etc. and I cannot get this feature to work.
I got 45 odd pages to print last night and now it won't print odd or even pages. I am reduced to printing every backside page one at a time. If I would have known about this problem before I could have saved myself an hour and just printed them all on single sided sheets. I tried to save paper and now I'm screwed (timewise)......
Any other suggestions would be greatly appreciated.
Thank You,
Dave Buckley -
Loging onto my bank I go to the barclays pege there on the top line is "log in" it used to work when I click on it but has stoped, any button on the first three lines of a web page does not work.
I now use Google crome but would like to stay with Firefox if this coruption can be sorted.
RodPlease reload the webpage while bypassing the cache using '''one''' of the following steps:
*Hold down the ''Shift'' key and click the ''Reload'' button with the left mouse key.
OR
*Press ''Ctrl'' + ''F5'' or ''Ctrl'' + ''Shift'' + ''R'' (Windows and Linux)
*Press ''Command'' + ''Shift'' + ''R'' (Mac)
See if this helps solve the issues you had and please report back to us! -
going through my account at verizon pay bill get to a submit button, it will not work. go back to site with IE everthing find. Happened mant times before, but sometimes i restart the page and it works, not the last time, i had to use IE
Do you have that problem when running in the Firefox SafeMode?<br/> ''A troubleshooting mode.''<br />
You can open the Firefox 4.0 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut. Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut to open it again.''
If not, see this: <br />
http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes -
OEM 12c: buttons in GUI page does not work
Hi,
I am using OEM12c, we just installed BI publisher last week and we have problem configure it to integrate with OEM12c. One day after the failed configuration, one of the target Authorization Policy Manager (oracle.security.apm) shows down, then we start seeing GUI problems on the console:
1. Under My Oracle Support, all links except for the Community link show blank pages.
2. Buttons in a lot of pages does not work. For example, view/edit/create on the administer page, nothing happen when click on these buttons. This is all overall the GUI, I think in general http post method is not working. Basically the GUI is un-workable.
Any suggestion to how to fix these problem?
Thanks for the help!Enterprise Manager Cloud Control Workbook for Applying Bundle Patch 1 (February 2012) and 12.1.0.2 Plugins [ID 1393173.1]
-
My New Tab Page does not work at all. I just have the empty squares with nothing in them at all?
I know how to use about:config & have had the usual problems with newtab page tiles but this is more like a bug- using 33.0.1. Doesn't show tiles icon in top right corner just shows a gear that is used to hide the empty tiles that I can't fill with sites. First it would only show 2 rows of 4 columns even though I had it set to 5 & 6 then few days later for no reason they went empty with a serrated line around the tiles & can't drag from the bookmarks---- really bloody annoying!!!!!!! Possibly a setting in the about:config but i can't fig it out?Reset Firefox to its default state
If you're having major problems which you can't resolve, start fresh with only your essential information.
Troubleshooting Information
This page contains technical information that might be useful when you're trying to solve a problem. If you are looking for answers to common questions about Firefox, check out our support website.
Application Basics
Name Firefox
Version 33.0.1
Update History
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
Profile Folder
Enabled Plugins about:plugins
Build Configuration about:buildconfig
Memory Use about:memory
Multiprocess Windows 0/1
Crash Reports for the Last 3 Days
Report ID Submitted
All Crash Reports
Extensions
Name Version Enabled ID
Adblock Plus 2.6.5 true {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
Adblock Plus Pop-up Addon 0.9.2 true [email protected]
Skype Click to Call 7.3.16540.9015 true {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}
Trend Micro BEP Firefox Extension 8.0.0.1173 true [email protected]
Trend Micro NSC Firefox Extension 6.8.0.1120 true {22C7F6C6-8D67-4534-92B5-529A0EC09405}
Trend Micro Toolbar 7.0.0.1243 true {22181a4d-af90-4ca3-a569-faed9118d6bc}
Graphics
Adapter Description Intel(R) HD Graphics
Adapter Drivers igdumd64 igd10umd64 igdumdx32 igd10umd32
Adapter RAM Unknown
Device ID 0x0046
Direct2D Enabled true
DirectWrite Enabled true (6.2.9200.16571)
Driver Date 1-30-2013
Driver Version 8.15.10.2993
GPU #2 Active false
GPU Accelerated Windows 1/1 Direct3D 11 (OMTC)
Vendor ID 0x8086
WebGL Renderer Google Inc. -- ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)
windowLayerManagerRemote true
AzureCanvasBackend direct2d
AzureContentBackend direct2d
AzureFallbackCanvasBackend cairo
AzureSkiaAccelerated 0
Important Modified Preferences
Name Value accessibility.blockautorefresh true
accessibility.typeaheadfind.flashBar 0
browser.cache.disk.capacity 358400
browser.cache.disk.smart_size_cached_value 358400
browser.cache.disk.smart_size.first_run false
browser.cache.disk.smart_size.use_old_max false
browser.cache.frecency_experiment 1
browser.places.smartBookmarksVersion 7
browser.sessionstore.upgradeBackup.latestBuildID 20141023194920
browser.startup.homepage www.google.com
browser.startup.homepage_override.buildID 20141023194920
browser.startup.homepage_override.mstone 33.0.1
browser.tabs.loadInBackground false
dom.mozApps.used true
extensions.lastAppVersion 33.0.1
font.internaluseonly.changed true
gfx.direct3d.last_used_feature_level_idx 1
keyword.URL http://www.bing.com/search?FORM=UP97DF&PC=UP97&q=
media.gmp-gmpopenh264.lastUpdate 1413750166
media.gmp-gmpopenh264.version 1.1
media.gmp-manager.lastCheck 1414375733
network.cookie.prefsMigrated true
places.database.lastMaintenance 1414404204
places.history.expiration.transient_current_max_pages 102059
plugin.disable_full_page_plugin_for_types application/pdf
plugin.importedState true
plugin.state.npmedia 0
plugin.state.nptimegrid 1
print.printer_Canon_MG2100_series_Printer.print_bgcolor false
print.printer_Canon_MG2100_series_Printer.print_bgimages false
print.printer_Canon_MG2100_series_Printer.print_colorspace
print.printer_Canon_MG2100_series_Printer.print_command
print.printer_Canon_MG2100_series_Printer.print_downloadfonts false
print.printer_Canon_MG2100_series_Printer.print_duplex 3997817
print.printer_Canon_MG2100_series_Printer.print_edge_bottom 0
print.printer_Canon_MG2100_series_Printer.print_edge_left 0
print.printer_Canon_MG2100_series_Printer.print_edge_right 0
print.printer_Canon_MG2100_series_Printer.print_edge_top 0
print.printer_Canon_MG2100_series_Printer.print_evenpages true
print.printer_Canon_MG2100_series_Printer.print_footercenter
print.printer_Canon_MG2100_series_Printer.print_footerleft &PT
print.printer_Canon_MG2100_series_Printer.print_footerright &D
print.printer_Canon_MG2100_series_Printer.print_headercenter
print.printer_Canon_MG2100_series_Printer.print_headerleft &T
print.printer_Canon_MG2100_series_Printer.print_headerright &U
print.printer_Canon_MG2100_series_Printer.print_in_color true
print.printer_Canon_MG2100_series_Printer.print_margin_bottom 0.5
print.printer_Canon_MG2100_series_Printer.print_margin_left 0.5
print.printer_Canon_MG2100_series_Printer.print_margin_right 0.5
print.printer_Canon_MG2100_series_Printer.print_margin_top 0.5
print.printer_Canon_MG2100_series_Printer.print_oddpages true
print.printer_Canon_MG2100_series_Printer.print_orientation 0
print.printer_Canon_MG2100_series_Printer.print_page_delay 50
print.printer_Canon_MG2100_series_Printer.print_paper_data 1
print.printer_Canon_MG2100_series_Printer.print_paper_height 11.00
print.printer_Canon_MG2100_series_Printer.print_paper_name
print.printer_Canon_MG2100_series_Printer.print_paper_size_type 0
print.printer_Canon_MG2100_series_Printer.print_paper_size_unit 0
print.printer_Canon_MG2100_series_Printer.print_paper_width 8.50
print.printer_Canon_MG2100_series_Printer.print_plex_name
print.printer_Canon_MG2100_series_Printer.print_resolution 7602290
print.printer_Canon_MG2100_series_Printer.print_resolution_name
print.printer_Canon_MG2100_series_Printer.print_reversed false
print.printer_Canon_MG2100_series_Printer.print_scaling 1.00
print.printer_Canon_MG2100_series_Printer.print_shrink_to_fit true
print.printer_Canon_MG2100_series_Printer.print_to_file false
print.printer_Canon_MG2100_series_Printer.print_unwriteable_margin_bottom 0
print.printer_Canon_MG2100_series_Printer.print_unwriteable_margin_left 0
print.printer_Canon_MG2100_series_Printer.print_unwriteable_margin_right 0
print.printer_Canon_MG2100_series_Printer.print_unwriteable_margin_top 0
privacy.sanitize.migrateFx3Prefs true
privacy.sanitize.timeSpan 2
storage.vacuum.last.index 1
storage.vacuum.last.places.sqlite 1412311800
Important Locked Preferences
Name Value
JavaScript
Incremental GC true
Accessibility
Activated false
Prevent Accessibility 0
Library Versions
Expected minimum version Version in use
NSPR 4.10.7 4.10.7
NSS 3.17.1 Basic ECC 3.17.1 Basic ECC
NSSSMIME 3.17.1 Basic ECC 3.17.1 Basic ECC
NSSSSL 3.17.1 Basic ECC 3.17.1 Basic ECC
NSSUTIL 3.17.1 3.17.1
Experimental Features
Name ID Description Active End Date Homepage -
Print each page range double sided as new task
Hi All,
I have that problem. I would like to double sided print some pages from pdf file - let's say pages 1 to 5. But I want them to print like this - pages 1-2 on the first sheet of paper, page 3 on the second sheet (the other side of this sheet I want to be blank) and pages 4-5 on the third sheet.
If I type page ranges 1-3,4-5 when printing the result will be the same if I would type page range 1-5, so pages 1-2 will print on first sheet, pages 3-4 on the second sheet and page 5 on the third sheet. That's not what I want.
The only solution is to first print pages 1-3 and then open printing dialog box again and print pages 4-5 so they would be two separate tasks for printer. But this is very time consuming when working with large files.
I do not have Adobe Acrobat to insert blank page after each section that is odd numbered so this is no solution for me.
Could you please help? Any ideas how to work this out? Is there any printing set up to print each page range as separate task?
Or maybe there is a way to double sided print odd numbered page ranges with an additional blank page at the end so that the next range would start on new sheet?
Thank you in adavncedear ,
check ur printer settings , bcos u are using std.program , so i cannt say SAP is doing wrong , better to check ur printer settings
Regards
prabhu -
Tried to copy/paste from an article to my web site and got a "cannot copy /paste " warning and was directed to a security perferences site that said that Mozilla Rich Text Editing demo page will not work.
Tried to find my Firefox profile directory using the start menu and was directed to hit enter to go to web. Feel like i am getting run around.Let's start with something very basic, and that is, you do not need to use the paste button on most websites. The button just reads what is on your clipboard and sticks it into the form. You can do that yourself using Ctrl+v or right-click>Paste.
For your security, I suggest using those standard Windows keyboard shortcuts (Ctrl+x cut, Ctrl+c copy, Ctrl+v paste) or the context menu.
Occasionally you will find a paste button that runs a clean-up script or otherwise does something useful. That is where the (admittedly a bit complicated) instructions come in handy.
To open your active profile folder, you can use:
Help > Troubleshooting Information > "Show Folder" button
Which help article are you using for the modifications?
Finally, please be cautious in opening up your clipboard to sites. You may have stuff you copied from other pages or other programs that you do not want to share with most sites. -
Hello,
Would need your valuable help on that one.
I have a large PDF File, of which I want to print different page ranges, based on the checkboxes that have been checked by the User.
Ideally, clicking a "print" button would generate the page ranges, based on the checkboxes that are checked and open one print dialog with the pages ranges already indicated in it. Like this, the User can enter once the printer settings (e.g. booklet or duplex) he wishes, which should then be valid for all the pages contained in all the page ranges.
Thank you in advance for any tip!
Cheers
SergePrintParams.constants.flagValues.duplexTypes.DontCare
PrintParams.constants.flagValues.duplexTypes.Simplex
PrintParams.constants.flagValues.duplexTypes.DuplexFlipLongEdge
PrintParams.constants.flagValues.duplexTypes.DuplexFlipShortEdge -
Disabling Radio Button Conditionally is not working Well
Hi friends,
I have three radio buttons
<li>self
<li>New Hire
<li>On Behalf of
I will be showing this radio button conditionally according to the user who logs into the application.
Assume, suppose if a person 'A' enters into the application means he will be shown only these radio button options ---NH---,----OB----,----Self-----
Suppose, if a person 'B' enters into the application means he will be shown only these radio button options ----NH----,----Self---
If a person 'C' enters into the application means he will be shown only these radio button options ---Self---
I have restricted those radio buttons according to the users who enter into the application using their roles.
But my challenge here is once the user logged in and if he select anyone of the radio button means,
Example if he selects----NH---means, then ---OB----and -----Self---radio button has to disable and if he selects ---OB----means then ----NH-----and ---Self---has to
disable(vice versa).
I have also achieved the same using the DA.
With true action as: javascript Expression i have given the following codings( i have written the below DA for three cases, if the request_class_code is equal to
(NH,OB,S)
var enabled=$v('P22_REQUEST_CLASS_CODE');
if (!$u_SubString(enabled,'S')) $('#P22_REQUEST_CLASS_CODE_2').attr("disabled","disabled");
if (!$u_SubString(enabled,'NH')) $('#P22_REQUEST_CLASS_CODE_0').attr("disabled","disabled");
if (!$u_SubString(enabled,'OB')) $('#P22_REQUEST_CLASS_CODE_1').attr("disabled","disabled"); The above DA is working great only for the user who has the option of viewing three radio buttons in my form(i.e)(NH,OB,S).
For the user who has the option of viewing two or one radio button, it is not working properly(i.e)(NH,S) or(OB,S) or(S).
Why it is not working for the user with two options or with one option radio button means, the source of that radio button property is changing. Since i have taken
the source of my radio button in my DA only when the three options are present.
How i can solve this issue for the user who is having this two radio option or one radio option.
Hope you understood clearly about the problem.
Brgds,
MiniHi,
If I did understand what you like have this might work
var lVal = $v('P22_REQUEST_CLASS_CODE');
$('#P22_REQUEST_CLASS_CODE input:not([value="' + lVal + '"])').attr("disabled","disabled");Regards,
Jari
http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME -
I CAN PRINT HP PAGES--- BUT NOT ON LINE PAGES
I CAN PRINT HP PAGES BUT NOT ON LINE PAGES
ERROR HAS OCCURRED IN SCRIPT ON THIS PAGE
ERROR UNSPECIFIEDPlease read this post then provide some details. What printer model? What operating system? How is the printer connected?
What browser are you using? Are you using HP Smart Printing or some similar program?
Bob Headrick, HP Expert
I am not an employee of HP, I am a volunteer posting here on my own time.
If your problem is solved please click the "Accept as Solution" button ------------V
If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V -
Printer hp deskjet f4280 not working
I tried to use my hp deskjet f4280 on arch linux, but it does not work.
I have downloaded cups from the repo.
The cups demom is active.
The printer is connected to the usb port.
http://127.0.0.1:631/ enters the cups administration.
Find new printers finds the printer and I added it with the default options.
Print test page does not do anything.
Any ideas or hints. Thanks.
Helmutit sounds like you have the wrong driver installed, I had similar symptoms with an epson printer,
what drivers are you using? and try this, it might be what you are looking for
pacman -S foomatic-db-hpijs
this should contain a driver that will work for your printer. -
my speaker is not working properly in 4s if i use headphone its working now my volume increase decrease button is also not working properly how can i solve it pl help me my warranty finished
Hello. I sent my WRT1900AC V1 to Linksys four days ago (Monday) via UPS with a RMA. Linksys paid the shipping and everything. The router is still in route, and it should arrive to their offices tomorrow. Once they receive the WRT1900 AC V1, they are going to send me an EA8500 as a replacement. But I have been reading the comments about the EA8500 here in the forum and it seems to have the same problems. I guess the firmware is extremely flawed in both routers (maybe it is almost the same code?). Anyway, I will try the EA8500 and I hope it works. I bought a temporary router from Walmart and I paid $35 for it. It is a Belink N600 DB. I can't believe that a $35 router is working a lot, lot, lot better than my previous $250 WRT1900AC router. Unbelievable. If the EA8500 doesn't work, I'm going to try and get my money back from Linksys, or contact The Consumerist or someone to get my money back and get a Nighthawk instead.
-
all links on this page do not work. http://www.oracle.com/webapps/dialogue/dlgpage.jsp
This is not a valid URL. What is the link you are referring to, and where is it located?
Cheers, OTN
Maybe you are looking for
-
Hi - It is not allowed to have IS NOT NULL in order by clause, isn't it? When order by clause is being formed dynamically, is there anyway to check for not nulls in any column to be used for order by clause? Thanks,
-
Transferring music from Ipad or Ipod
I installed a new operating system,Windows 7, on my computer. Itunes now sees the computer as a new device and says "The Ipod is synced with another Itunes library. An Ipod can be synched with only one Itunes library at a time." Choices offered in
-
How to I get my purcahsed songs from my iphone to my mac itunes?
How to I get my purcahsed songs from my iphone to my mac itunes?
-
HT4972 How do you know what model iPod touch
How do u tell what model u have
-
Problem in AT LINE SELECTION event
Hi All, I have a problem in AT LINE SELECTION event. I have an interactive report. In the report after selection on Selection Screen i have to show some totals. Now when I click on the no wgich is shown against the total the report should further dri