Pdf content not loading while printing using JavaScript

In my web app, I am trying to print a doc using JavaScript, but content of the pdf is not getting loaded, this can be seen in the below link.
https://drive.google.com/file/d/0B2nqjT-VxFWwVVhsQ1hLUnJ3MFU/view?usp=sharing
Code:
var printWin = window.open(this.lURL, '', 'top=100, left=500, width=900, height=800, titlebar=no');
printWin.print();
"this.lURL" is link which brings the pdf file/doc.
Note: As soon as I click on cancel button of print, the content gets loaded.
And if I click print blank page gets printed.

''guigs2 [[#answer-708101|said]]''
<blockquote>
I understand that the web app that your are developing has a function to print the contents of a pdf created with javascript, :
Please first check these basic troubleshooting steps for printing:
*[[Fix printing problems in Firefox]]
Does this happen with the default pdf viewer or another?
Next also check with stackoverflow.com:
[https://support.mozilla.org/en-US/kb/where-go-developer-support Where to go for developer support]
</blockquote>
I want a solution which doesn't require to reset or change the settings of the browser.
Once the app is available globally everyone should be able to use this functionality without altering the settings of the browser.

Similar Messages

  • Presentation_Model javascripts are not loading while customizing OpenUI

    Hi All,
    I would like to know, if any one tried to customize the UI with given examples like adding google map hover, partialrefresh javascripts in Oracle documentation [Configuring Open UI.pdf]
    I tried to follow the steps given for changing "manifest_extensions.map" and "custom_manifest.xml" and added given js files in location "siebel\custom\*.js"
    But presentation_model javascripts are not loading while checking in developer tools in google chrome browser.
    Note: physical_renderer javascript was loaded. and i restarted server after modifications.
    Let me know if i'm missing any steps or settings. Thanks
    Best Regards,
    Venkat

    A same issue I have encount is:
    I write
    <KEY NAME="PartialRefreshPModel"> in Custom_manifest.xml.
    but it should be:
    <KEY Name="PartialRefreshPModel">
    You should check the case sensitive.

  • Keep getting a pop up at the top of many websites I visit 'firefox security error content at *web address* may not load" I am using the most recent firefox and windows 7.

    Keep getting a pop up at the top of many websites I visit 'firefox security error content at *web address* may not load" I am using the most recent firefox and windows 7. This is happening at many sites, such as hotmail, google reader, and many others.

    Sorry, I don't think that is a message from inside Firefox, the wording doesn't sound correct - at least the beginning of that message. My "gut" thinks that is a MSN Live message to explain and compensate for their lack of security with a re-direct from a secure domain to an un-secure domain. ''(the end of that message)''
    {Ctrl + Shft + J} will open the Firefox Error Console - I'm curious what Firefox has to say about that situation. If you find the error message for that domain, you can right-click the message to '''copy''' it and then paste that error message here.
    Maybe '''TonyE''' or '''cor-el''' will be more familiar with the situation at Live and maybe at Google Reader, I don't use either of those services and have never seen a message like that myself.

  • Extensions are not loaded while boot

    Hi there!
    I have the problem, that the driver für my firewire audio interface and the driver for my dsp cards are not loaded while booting the system...
    How can I activate these extensions?
    Thank you for support!
    Cheers
    André

    Are you talking about kext's?  Did you check that they are even there (look in /System/Library/Extensions or type kextstat in terminal).

  • No printers - could not load internal printer module cache

    Suddenly this morning the dozen Bonjour printers that normally appear in the Add Printer dialog are nowhere to be seen. I reset the printing system, repaired the disk (no problems found), and rebuilt the permissions, but the problem remains. I note the following in the console after startup, and assume it has something to do with the problem:
    6/14/10 12:21:03 PM makequeues[651] Could not load internal printer module cache.
    The printer does work properly if I set it up by IP, at least. Any assistance on getting Bonjour back will be appreciated.
    Thanks,
    z

    And... I'm embarrassed to report the problem was that my ethernet was unplugged and I was accessing everything wirelessly. Plugging in brought back the printers. Also, I found the option to turn on the Bonjour access in Safari... Thanks for the input, not finding it in Safari got me to look further, ultimately in the right place.

  • Using Preloader But Content Not Loading

    Hi.
    Here's the Cliffs Notes version:
    I've a 2 frame movie: Frame 1 is the preloader; Frame 2 a movie clip (web site).
    Both work fine individualy, but the dynamic content I want pre-loaded is not loaded into the movie clip (web site) after the preloader animations.
    Verbose version:
    I'm have a preloader on frame 1 of the timeline. Here's the code:
    stop ();
    this.loaderInfo.addEventListener (ProgressEvent.PROGRESS, onLoading);
    this.loaderInfo.addEventListener (Event.COMPLETE, onComplete);
    function onLoading (evt:ProgressEvent):void
              var loaded:Number = evt.bytesLoaded / evt.bytesTotal;
              percent_txt.text = (loaded * 100).toFixed(0) + "%";
              var counter = (loaded * 100) * 3.6;
              masked_mc.mask = masking_mc;
              masked_mc.rotation = counter;
    //          trace (masked_mc.rotation);
              if (masked_mc.rotation < 0)
                        masked_mc.mask = null;
    function onComplete (event:Event):void
              this.loaderInfo.removeEventListener (ProgressEvent.PROGRESS, onLoading);
              this.loaderInfo.removeEventListener (Event.COMPLETE, onComplete);
              gotoAndStop (2);
    On frame 2 is only a movie clip (a web site).
    In this movie clip on frame 1, I have a dynamic text field into which gets loaded some external text, styled with HTML and CSS.
    At the moment, when a visitor comes to the site for the first time, he can actually see the text load, then see the CSS styles get applied. I would like to use my preloader so that this text loading and styling is completed before they get to see the home page.
    Trouble is the, while the preloader itself works, the HTML and CSS still does not get loaded until after the preloader. This makes sense as the code for calling and loading the HTML/CSS is in the movie clip.
    So I thought, put the code....
    //NEWS --------------------------
    // Load the external .swf "navidNews.swf".
    var navidNewsSWF:String = "assets/fla/navidNews.swf";
    var navidNewsURLRequest:URLRequest = new URLRequest(navidNewsSWF);
    var navidNewsLoader:Loader = new Loader();
    navidNewsLoader.load(navidNewsURLRequest);
    //Put "navidNews.swf" on the stage.;
    newsContainer_mc.addChild(navidNewsLoader);
    into frame 1, same as that for the code for the preloader. But because the empty movie clip into which navidNews.swf is loaded is not in the same frame as the preloader there are errors.
    Okay, move empty movie clip newsContainer_mc into frame 1 with preloader, which will hide the news container.
    What am I missing? Should I not put a movie clip of my web site on frame 2, but instead move the preloader into the web site movie clip, putting it on frame 1?
    I've been playing musical frames with this thing for two days now.......

    load the text and css in frame one (they need not be be used until frame 2) and incorporate those into your preloader.

  • Flash Player content not loading IE11...

    Hi I'm having issues with Flash Player on IE 11...
    OS:                    Windows 7 Professional SP1.
    Browser:             IE 11 (Version: 11.0.9600.17041 / Update version: KB2929437)
    Flash Player:      ActiveX Version 16.0.0.235
                             NPAPI Plug-in Version 16.0.0.235
                             PPAPI Plug-in Version Not installed
    Website:            http://www.nick.co.uk    (as well as others but this one is one of the important sites; as reward for students at the school)
    I have disabled ActiveX filtering, I have made sure that Shockwave Flash Object is enabled; I have made sure that ActiveX is allowed on all sites... As far as I can tell I have ticked/un-ticked all the right boxes and still IE11 will not load any Flash Player content.
    The quick fix would be to use Firefox or Google Chrome or any other web browser; however the students at the school I work at have severe and profound learning, behavioural, and/or physical difficulties that mean I do not want to interfere with the established method of accessing the internet, and software that they are familiar with.
    Any advice or guidance would be greatly appreciated.

    First, confirm that ActiveX Filtering is configured to allow Flash content:
    https://forums.adobe.com/thread/867968
    Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
    You can try to work around these issues by using Compatibility View:
    http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11
    If that is too inconvenient, using Google Chrome may be a preferable alternative.

  • 4502 connects to wireless router but will not load as printer to Dell 1545 Vista x64 wireless

    HP 4502 shows and active wireless connection to router and router shows 4502 is connected and has MAC pass-thru. HP software install on Dell 1545 computer under Vista x64 was fine until the connect wireless choice was selected. Result was printer was not loaded. Dell does not have bluetooth board so couldn't use wireless direct option on printer. Printer worked well wireless at one time but when internet connection to AOL was lost something went astray. Printing test page wireless while in HP printer control software on computer works fine but that is rather boring after a while, and very frustrating trying to understand why thats' possible when printer does not show as available for connection from any other program. Have uninstalled HP software, cleaned registry, set printer to factory default, powered down and unplugged all, reinstalled from scratch twice with same result. ANy suggestions?

    Hi Sam_lost,
    Thank you for your response! I have a few more solutions for you:
    Please try going through this guide, An 'Unable to find printer' Error Displays for the HP ENVY 4500 e-All-in-One and HP Deskjet Ink Adva....
    Try this Microsoft Fix It program. Fix problems that programs cannot be installed or uninstalled.
    If those steps do not work then try the following:
    Backup your files. Back up your files.
    Re-install Windows Vista. Installing and reinstalling Windows.
    Hope this helps, and have a good day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • HP Laserjet M2727nf - Firmware not loading to Printer

    My printer display was not working so I ordered a new one.  But as I read some postings it seems to be by formatter board.  I baked the formatter board.  After I baked it, the display would show: Hewitt Packard >>>>>.  I did the below
    but the firmware utility update is not going to the printer.  The display shows ***BootDimm*** Ready 2 download.
    I have left the jumper on and have taken it off to upload the firmware to the printer.  Nothing has happened.   I have not even seen the display changing to erasing firmware, then programing firmware.
    I baked the board and it started to work.  I then Download the firmware utility update for my printer.  I Removed the printer left cover. Turned the printer on while it’s was connected by usb. Jumper or short the 2 pin connector - the display read "ready to load firmware".  I heard the printer usb driver connect / initialize in windows-
    Next I started the HP firmware update utility, select your printer from drop down list.   However the display did not change to erasing firmware, then programing firmware; finally it will display "firmware rom upload complete" - or  something close to that.  The computer did do this:  the progress bar on the firmware update utility in windows completed and displayed the smiley face (about 3 min).  Then I turned the printer off - unpluged it and disconnect the usb cable from the printer. It did not load.  So where did I go wrong. 

    Apple included the Gimp-Print driver "HP Laserjet 6 Series" for that printer. Does that show up?

  • Save to PDF in TextEdit - Error While Printing

    When I try to save a text file to PDF I receive the error message - "Error while printing".  This only seems to be happening to text files I open or create in TextEdit.  It works fine if I log in as a different user.  I've run repair permissions and also deleted a couple of com.apple.print plist files in my user library, but the error remains.
    Is there anything else I should try short of reinstalling TextEdit?
    Thanks in advance for any advice!
    Rick

    On OS X 10.8.2, with TextEdit, I can open or create text documents and export to PDF without any issue.
    Here are the two preference tabs and settings that work for me. You can single click on the images for a larger version.
    New Document
    Open and Save
    PDF documents on OS X are created with binary content, which is the junk you observe.

  • While Printing using Print Button on Crysal Report Loses focus.

    Hi all,
    I am using CR XI along with VS2003 for developing my application.
    My application uses a Treeview to list all the available reports, once user select one of the report. I am using another dll, which contain all the rpt files as Embedded Resource, for showing the report in Crystal report viewer.
    Once report get loaded, I am using Print Button from Crystal report viewer to print the report.
    report get printed properly..
    However a strange behavior occurring, Form with Crystal report viewer control placed loses focus and immediate below window coming into focus (some other opened window get activated and bring to front and hiding my application).
    Any suggestion would be appreciated.
    Thank you
    Riju K K

    Hi Brian,
    Thanks for you are reply.
    I think I am not creating a separate process,
    From my application, I am creating an instance of form (which is in another DLL) which is hosting Crystal report viewer.
    If click "Print" button on the Crystal report viewer, I am getting a Printer selection form.
    If I cancel from there ,my Crystal report viewer form get focus back.
    If select a printer and click "OK". my Crystal report viewer form lost focus and some of the other window opened (word, ie, etc) before get focus.
    My assumption is Crystal Report viewer's "Print" button may be using a separate thread for Printing.
    that may creating this focus issue.
    what you think?

  • PDF/PostScript not independent of printer?

    Hi. After reading numerous posts here and elsewhere, I understand there can be issues with PDF generated from Pages. I have a specific question I would greatly appreciate any insight into:
    In the FILE > PRINT drop-down, what is the relationship between the particular printer showing as default (or newly selected) and any of the "Save As PDF" options? I was under the impression that PDF is printer-independent, yet here is what happens:
    With a Brother HL-4070CDW laser printer showing in the drop-down, a complex document displays significant changes in fonts in the resulting PDF. Pulling it into Acrobat shows a mishmash of embedded fonts. Tried creating a PS document first, but Preview cannot open it. Even Acrobat Distiller aborts the conversion attempt to PDF, reporting that the "offensive command" relates to the CUPS colorspace. Even with the most minimal file (e.g., one line of text, Arial 12-point black, no images, no color), the same thing happens. (The Brother is set up to print using Brother series CUPS version 1.1, which is beyond me, I'm afraid.)
    Yet changing the drop-down to show my HP DeskJet, for example, and then creating either PDF or PS seems to work fine. The resulting PDF looks great, and both Preview and Distiller can open the PS and convert it to PDF.
    Am I missing something, or making a bad assumption? Is there a recommended way to handle the Print drop-down when preparing a file to be sent to a commercial printer? Surely one does not need to have the service bureau's printer driver installed(?).
    Sorry this is so long. This issue is critical to our project, and it is driving me nuts.
    Thank you for any assistance.
    DW

    Further checking shows it is not specific to Pages or iWork in my case. Same result from NeoOffice, browsers, etc.
    Sorry for having posted to the Pages forum before checking this.
    DW

  • Adobe PDF Does Not Appear In printer List

    My computer runs Windows XP. Acrobat Standard 6 is installed. "Adobe pdf" does not show in the list of printers. I have installed all available updates, but it still does not show in printer list. I have done a google search on this and have come up with nothing. Any assistance would be greatly appreciated.

    Try to re-install it, after deleting all folders from previous instalation. If still not works, lets see, are you the adm of your network? If not, may this is a network permission while trying to install a new printer. It can be different versions of acrobats installed at same computer too.

  • PDFs do not load in Firefox, they do when I'm in Safari. If I'm on a website and I click on a pdf link, nothing happens. It has happened from multiple sites.

    PDF files do not load in Firefox. I click on a link for a PDF and nothing comes up. It happens at every website. I've been using Safari because PDFs open up there just fine. I have all the updated plug-ins, etc. and checked to make sure everything on Firefox was updated. I'm on a MacBook Pro, 10.7.3. I've never had this problem before.

    I am having the same issue - also on a macbook pro, also turning to Safari. I just get a blank page - no download initiates, nothing happens.

  • Box not getting while printing

    Hi Everyone
    Presently i'm working with scripts.Iam using box command,in printpreview im getting box but while printing its not getting.Could anyone help on this?????
    Thnx
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Aug 19, 2008 10:39 AM

    hi
    Check these commands , may  be helpful to U
    Draws a vertical line along the complete height of the left hand edge of the window.
    /: POSITION XORIGIN 2 CM YORIGIN '2.5 CM'
    /: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
    /: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    With Regards
    Always Learner

Maybe you are looking for

  • Monitor profiling & ICC profile management in VMware virtual machines?

    Greetings, I'm successfully running Photoshop CC in Windows 7 on bare metal PCs.  To support that, I profile/calibrate my monitors with Datacolor Spyder4Elite and print with Qimage.  Photoshop, Spyder4, and Qimage all create and/or install ICC profil

  • Page number wise printing of sapscript

    Dear All, I have SAPSCRIPT program for SAP FI/CO voucher printing . The problem is that the user has to select each and every page to print after they have a print preview. What user need is that the script would be printed as according to the user e

  • Ddl queries

    When I issue a statement like create database link, it is not getting listed in v$sqltext or V$sqlarea. Is it that only DML statements gets listed there. Is there any other views to see the statements currently running/ already run...

  • HT4915 What to do with itunes match when your ipad/iphone does not have any more internal storage available?

    I have just subscribed to itunes match. But now my ipad/iphone memory is full because every songs played from icloud is downloaded in the devise. If I clean the memory from setting/storage/music I cannot play any more the songs already played even if

  • Can't import a small video and export it AS SMALL

    Hey guys, I'm importing a 16mb MP4 file into premiere, lowering the volume, and trying to export it as the same size. Every time I select "match source", it shows as a 360p frame size, but still exports a 350mb file. How do I get a mp4 file of reason