Javascript print button problem in C4

Hi Everyone,
I'm currently using Captivate 4 and would like to allow users
of my tutorial to print off slides. I created a button which
executes javascript to do this. The problem is not that this
doesn't work at all, it's just that it isn't working when I publish
to Flash player versions higher than 7. Any ideas you might be able
to share with me on how to fix this will be very welcome.
Many 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 PROBLEM AT  PRINT PREVu0130EW MODE IN ORDER FORM

    I have prepared an order form as sapscript. I used " SAPFM06P " program.
    But i have a problem, before printing, first i want to see the print preview of the form. Then i want to print at printpreview mode. But  I can't press the print button at print preview mode. It is not active.
    Can anyone help me?

    Hi.
    Make sure that the 'Print Mode' property of the CR Viewer is set to 'ActiveX'.
    Now, what you want is supposed to happen when you click the print button from the viewer.
    If the printer is installed and the viewer could not find it, we will need to check why?
    As don said, run [process monitor|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/22316] and see what happens when you click the print button from the viewer.
    - Bhushan.

  • Crystal reportviewer print button problem

    Post Author: ftsoft
    CA Forum: .NET
    in the click event for a button, the reportview.reportsource is set string reportPath = Server.MapPath("rptCensusTract.rpt");        CrystalReportViewer1.ReportSource = reportPath;  this works fine. the report is displayed, and the print button works. when I change the code to use a report document ( for setting the logon infor )     private ReportDocument myreport;..... myreport = new ReportDocument();        string reportPath = Server.MapPath("rptCategoryHour.rpt");        myreport.Load(reportPath);.....CrystalReportViewer1.ReportSource = myreport;  the report is displayed, but nothing happens when the print button is clicked.  not even an error message. any idea what is happening here? thanks for any help  

    Make sure you have SP 2:
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    with FP 2.5 on top:
    https://smpdl.sap-ag.de/~sapidp/012002523100002975192010E/cr2008fp25.exe
    If the issue persists, since it is in the CR designer, post to the CR design forum:
    SAP Crystal Reports
    You need to resolve this in the designer, before trying to resolve it in a .NET application.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • 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

  • Javascript error in Safari (sequel to roll-over button problem)

    Yesterday I started a thread on non-functioning roll-over buttons in Safari.
    In the mean time (with the help of iBod) I founs out that the problem has got something to do with JavaScript.
    The problem occurs in sites I built with FreewayPro 4.0.1
    The url's:
    www.wildeplantentuinen.nl
    www.kunst-zin.nl
    The problems occur only in Safari (2.0.2 and 3.0)and not in some other browsers (even ana IE version of 2001 works great)and probably since the last Tiger Update (10.4.11)
    The JavaSriptConsole gives an "Undefined Value" error for all of the non-functioning elements on a specific line.
    Any Javascript-gurus around that could help me. (I am not a code-wizard at all).

    Thanks ra5ul,
    That (more or less) solved the problem, . . . . . . but what is going on ?
    I edited all sourcecode of numerous html-pages by hand and now they work the way they should in Safari.
    But now every time I make a small change to any page, my web-building program changes the code back to the old syntax (which, again, all browsers can read except Safari).
    Why does the problem only occur in Safari ?
    I hate to put a line on the index-pages that Mac users should not try this website in Safari.
    Problem is, I made these sites in Freeway and I don't want to upgrade that program because I switched to Dreamweaver and iWeb (for the simple ones).
    Is there a smart work-around ?

  • Problem with Print button in service confirmation

    Hi Experts,
    I am facing a problem in service confirmation in pcui.When the system status is completed i am unable to select the print option, as the print button is disabled.
    I have assigned action for smartform print in confirmation.I am able to view the print button before changing the status to complete.
    The same is working fine in UI.
    Can anyone suggest some solution to the problem?
    Regards,
    PePe

    Hi Ravindar,
      This programe BCALV_TEST_GRID_PRINT has used the normal class cl_gui_alv_grid where as I have used CL_GUI_ALV_TREE class.
    Regards,
    Deepthi.

  • Iphoto gives message "no images were selected" when hit print button.  Yet the the images are clearly selected in the print window.  I've printed hundreds of images without a problem before.  Iphoto 6.0.6, MAC 10.5.8

    Iphoto gives message "no images were selected" when hit print button.  Yet the the images are clearly selected in the print window.  I've printed hundreds of images without a problem before.  Iphoto 6.0.6, MAC 10.5.8, Suggestions?

    I have recently started having this problem in PSE8. The Adobe workaround
    did work, but I don't fancy having to re register each time I use it.
    What I have discovered is that it's nothing to do with the image metadata as it occurs before any image is opened.
    It SEEMS to only occur if you use file/open with to open an image in the editor - IE start PSE with that command.
    If you close elements down, and start it using programs/PSE/Elements (or your desktop shortcut) - the panorama feature magically works.
    Each time I've opened the editor 'automatically' using image/open with, it seems to create the problem.
    Hope this helps

  • Javascript to put in a print button that prints the center of my pdf

    I have a manual which is 942x792pt and want in adobe reader when a print button is pushed it only prints the 8.5 x 11" (612x792pt) center section of the page layout.
    Tried to find a way to put navigation and print buttons outside a 81/2 x 11 page size but failed, now thinking this is an alternative option. Anyone come across a script which would do this or a method of putting nav buttons outside document print area.
    Z
    Here is an example of one someone has accomplished this in.
    http://www.mediafire.com/?h62z5y341wyky66
    Thank you in advance.

    You might consider using the app.addToolButton method to create your navigation buttons. When executed from a script within the document, the buttons appear in a floating window and don't go away when you adjust the zoom, as they do with the sample you linked to.

  • Problem with Print button in the BI reports integrated in portal

    Hi,
    We have some BI reports integrated into portal.and we have a Print button,which is a standard SAP functionality,doesnot work.When we click that print button it takes forever to load the page and print it.
    Please help me in resolving this issue and points will be rewarded for sure
    Bala

    Solved myself.
    The answer lies in this link:
    http://help.sap.com/saphelp_nw70/helpdata/en/76/489d39d342de00e10000000a11402f/frameset.htm
    See the following two properties under Paging:
    Columns Scrolled for Each Step (BLOCK_COLUMNS_STEP_SIZE)
    Rows Scrolled for Each Step (BLOCK_ROWS_STEP_SIZE)
    The values of these two properties have to be changed in the Web Template you are using for your BI Reports.
    Regards,
    Ankur

  • Problem with 'PRINT' button in OOPs ALV

    Hi All,
    I have developed a OOPs based ALV report. When ever we create an ALV we also have to create Menu bar I did that providing fuctionality for 'BACK' and 'CANCEL' buttons in main toolbar. But user wants funtionality for 'SAVE' and 'PRINT'.
    How do I do this ?  Is there any stadard code which I can paste in PAI and use it. Classic ALVs handle this by default and OOPs doesn't do this it handles only a table level. But in my report I have a header information also. If user uses the standard 'PRINT' button at table level, only table contents are printed not the header information.
    Please let me know how to handle 'PRINT' & 'SAVE' button in OOPs ALV.
    Thanks in advance.

    Hi Ravindar,
      This programe BCALV_TEST_GRID_PRINT has used the normal class cl_gui_alv_grid where as I have used CL_GUI_ALV_TREE class.
    Regards,
    Deepthi.

  • Problem with 'Print' button in ALV

    Hi All,
    I have developed a OOPs based ALV report. When ever we create an ALV we also have to create Menu bar I did that providing fuctionality for 'BACK' and 'CANCEL' buttons in main toolbar. But user wants funtionality for 'SAVE' and 'PRINT'.
    How do I do this ? Is there any stadard code which I can paste in PAI and use it. Classic ALVs handle this by default and OOPs doesn't do this it handles only a table level. But in my report I have a header information also. If user uses the standard 'PRINT' button at table level, only table contents are printed not the header information.
    Please let me know how to handle 'PRINT' & 'SAVE' button in OOPs ALV.
    Thanks in advance.

    Cancelled

  • Custom print button using javascript for landscape document

    I am working on a document that has 50+ pages and am wanting to have a print button on most of them to print the exact page. The document is landscape and I need the "Auto-Rotate and Center" toggle to be checked on, but I don't know how to code that. This is what I have so far:
    this.print({
    bUI: true,
    bSilent: false,
    bShrinkToFit: false,
    nStart: 2,
    nEnd: 2
    Does anyone know how to get the "Auto-Rotate and Center" checked on and where to add it to the code?
    Thanks so much for any help.

    Hi Jaydeep,
    I had already debugged and removed
    'Include(Users)'. 
    if i remove 'Include(Users)'. i'm not getting user enumerator. It will be empty.
    Since there are no users loaded in the object, the entire function not working.
    Thanks,
    Bharath P N
    P N Bharath

  • Cannot keep print button on toolbar

    Since upgrading firefox I cannot keep the print button the toolbar. I can open customize and pull the print icon button onto the toolbar but it is not there when I open a new session. Ii have to drag it again. How can I keep it in place. This just happens on one desktop. I run another desktop and a laptop without this problem
    Thanks

    Print the report where? On what printer? The server's printer?
    Java code runs on the server. You can't affect the client's computer from JSP.
    You can write javascript code which can call window.print() but that is working through the browser to display the print dialog box (as if the user selected file:print)

  • I cannot print from a website using the "print" button nor going to "file" "print preview" (nothing there to preview) then "'print" - nothing prints.

    I cannot print from any wetsite as there is no print button. I have tried using the printer icon, also file, print preview then print. Nothing to preview nothing printed. How do I print from a website?????

    If this is similar to problems I sometimes have printing -- 1) Only happens on some, not all, websites 2) Printer preview window comes up OK, just shows a blank page -- I can suggest a work around, if not a solution: try turning your page into a PDF. Either install an extension which gives a "Save as...PDF" menu option, or a PDF printer driver (I use bullzip). The problem seems to be with the manner the websites use frames and/or javascript. This work around also handles websites that can't get along with your printer settings and chop off edges.

  • The Add Printer button on the eprintcenter website on my screen is not working.

    I just registerd on the eprintcenter.com site and now I am trying to click on the +Add Printer button/icon to add my printer and it is not working. I have tried it in all different web browsers and it doesn't take me anywhere on any of the browsers. Sometimes I get the "javascript:void(0)" message down in the left hand bottom portion of my screen when my mouse goes over that button. What is wrong? Is it your site or my computer?

    I'm having same problem

Maybe you are looking for

  • Can't login on iMac to Local Network accounts on server

    I'm a volunteer at the Marjorie P Lee retirement community. We had two iMacs that were available for residents to use. We recently bought two more iMacs and a Mac Mini Server. The goal is to make it possible for residents to use any of the computers

  • Notification center questions

    I have an iphone 4 with ios 5 and i'm having problems with my notification center. Mail, messages, phone, calendar, reminders, weather and stocks all work, i have no problems with that, whatsoever. But i've downloaded a few apps supposedly with notif

  • Can't install iTunes on Win Vista machine

    When I click on the "Download 7.2" button it takes me to a screen that says "Thanks for installing 7.2" blah, blah, blah. The problem is that no installation occurred. I don't get any error messages, nothing. Just no download. I had an old version of

  • What are the bw features in query management?

    Hi all, Can anyone give me some idea about the feature of bw in query management.. Thanks Sram

  • Data load from to datasources to InfoCube via common Infosource in BI7

    Hi all, I need to load data from two diffent DataSource to one Infocube. Between this Infocube and DataSources there is one infosource common for both Datasources. Between Infocube and Infosource there is one transformation and between each DataSourc