Print preview is blank if set printerName by js.

Need help.
I inject js to pdf file.
===============
var pp=this.getPrintParams();
this.print(pp);
===============
(After the pdf opened)Execute the codes, print dialog will display. And eveything is OK.
If add a statement like below:
=============
var pp=this.getPrintParams();
pp.printerName='Microsoft XPS Document Writer';
this.print(pp);
=============
Execute the codes, print dialog will display.Setting printerName is success. But the preview is blank.
Are my codes right?
Is it a bug?
Is there a solution to avoid it?
What should I do?
Can anybody help me?

My environment:
OS: Win XP En
Reader: 9.4.1 En
ps: I have tried this on Reader 8. The problem is more serious. It will always pop error boxes after I open the pdf file.

Similar Messages

  • FF4 loads pdf ok but won't print them (print preview is blank) I have reverted to FF3.6.13 for now. Reinstall FF4 and try again?

    I have only just discovered this problem in FF4, but it used to work ok with version 3 and earlier. For example, if I download or select a pdf file from a website it displays ok. However I cannot print it. Print preview in the "file" pull down shows a blank page. IE, Safari, Chrome Opera all work ok as expected (we have been designing a website hence all the other browsers but FF is our default) I have switched Kaspersky on and off to no avail, Windows Firewall is off

    I have just gone back and forth a couple of times between FF4 and FF3 and I have found that it's the printer icon on the address bar that doesn't work in FF4. The icon prints pdfs ok in FF3. I have since discovered the transparent control bar that fades in and out near the bottom of the page. I had never seen this before. You have to get lucky to find it I guess. Right click menu and Control P works in both versions too I now discover, but I didn't know about those either because the now defunct printer icon was the obvious route to me!

  • Firefox 4.0 doesn't print XML files. Page print preview is blank!!!

    When I open XML file and try to print it File -> Print I get only blank page. Firefox 3.6.15 prints XML files excellent.

    Real good, you are asking for help and the source code is blocked from being viewed.
    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum. <br />
    You're probably going to have to allow access to the source code for that page for anyone to be able to help you.

  • I have Adobe X1 ver 11.0.7 installed on my iMac, when I download a .pdf and try to print it the printer preview is blank, only way is to take screen shots, is this me or an Adobe issue?

    On my iMac OS-X 10.9.3 I am able to view a downloaded .pdf in my browser , if however I want to print out the .pdf via the File tab and Print in Safari, the message comes up that Adobe either does not support this format, or it s corrupted as an attachment to an email.  I have tried saving it  to my desktop by exporting it as a .pdf, or saving it to the desktop.  In both cases when I try to open it, I get the same message.
    Found that the only way I can save the data is to take a screen shot to my desktop and then I can print it out, but cripes what a pain!
    Any suggestions would be welcome, is this me or an Adobe issue?

    If you are printing to physical printer from Safari : Use Reader print button from Reader toolbar
    If you want to save a PDF from Safari to your local : Use Reader Save button from the Reader toolbar.
    PS: if you have PDF in read mode the  hover the mouse at the bottom of the page and the floating Reader toolbar will appear.
    Please let me know if this solves your issue.

  • Can i set pf-status in print preview of form

    I want to download a smartform in pdf after viewing the print preview .
    For that i want to give a button / menu  in the form print preview page.
    can i set pf-status for that ?

    Hi,
    Please find the Snippet below
    *Calling the Function Module of the SmartForm
      CALL FUNCTION l_fmodule
        EXPORTING
          CONTROL_PARAMETERS = wa_cparam
                         HEADER             = wa_emp
        IMPORTING
          JOB_OUTPUT_INFO    = it_otf_from_fm
        TABLES
          APPRAISALS         = it_emp1
        EXCEPTIONS
          FORMATTING_ERROR   = 1
          INTERNAL_ERROR     = 2
          SEND_ERROR         = 3
          USER_CANCELED      = 4
          OTHERS             = 5.
      IF SY-SUBRC <> 0.
        case sy-subrc.
          when 1.
            message e005.
          when 2.
            message e010.
        endcase.
      ENDIF.
      it_otf[] = it_otf_from_fm-otfdata[].
    *PDF Preview
      CALL FUNCTION 'SSFCOMP_PDF_PREVIEW'
        EXPORTING
                 I_OTF                    = it_otf[]
        EXCEPTIONS
          CONVERT_OTF_TO_PDF_ERROR = 1
          CNTL_ERROR               = 2
          OTHERS                   = 3.
      IF SY-SUBRC <> 0.
        case sy-subrc.
          when 1.
            message e006.
        endcase.
      ENDIF.
    *Converting into PDF Format
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          FORMAT                = 'PDF'
          MAX_LINEWIDTH         = 132
        IMPORTING
          BIN_FILESIZE          = l_bin_filesize
        TABLES
          OTF                   = IT_OTF
          LINES                 = IT_pdf_tab
        EXCEPTIONS
          ERR_MAX_LINEWIDTH     = 1
          ERR_FORMAT            = 2
          ERR_CONV_NOT_POSSIBLE = 3
          ERR_BAD_OTF           = 4
          OTHERS                = 5.
    Function Module 'SSFCOMP_PDF_PREVIEW' will Show the PDF Preview while executing the Driver Program.
    And the 'CONVERT_OTF' Function Module will convert it to the PDF.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          BIN_FILESIZE            = l_bin_filesize
          FILENAME                = l_FULL_PATH
          FILETYPE                = c_bin
        TABLES
          DATA_TAB                = IT_pdf_tab
    The Above function Module will Download the content of smart form in the PDF Format.
    This may help you.
    Thanks and Regards,
    Prakash K

  • Photoshop Elements 9 prints and Previews are blank

    Recently installed Elements (not the trial, the paid version) on a new MacBook Pro, and it not only won't print, the Print Preview is blank. Wondering if it was the document, so I created a new document with Elements, painted a few strokes, and tried printing again. Same result. The Print Preview is blank. The thumbnail of the image DOES show up in the Print dialog box. I re-installed the software. I deleted and re-installed the printer. I restarted the computer. All other apps are able to print, and Preview app is able to print the same documents that Elements will not print. I've been doing IT for years, and I've never seen anything like this. Any suggestions?

    I may have just found a solution.  In the print dialog box, under more options, colour management...if i leave the Colour Handling to Photoshop and change Printer Profile to Apple RGB or to my Printer colour profile then I could print. However, colour is off although it looked nice in print preview.  So, instead I downloaded ICC Colour Profile for Mac from adobe and change back the Printer Profile to Adobe RGB(1998) which is same as above Image Space profile.
    And I am quite satisfied with the print output.
    Begin forwarded message:
    From: Alina Hashim <[email protected]>
    Date: May 11, 2011 8:25:20 AM GMT+04:00
    To: [email protected]
    Subject: Re: Photoshop Elements 9 prints and Previews are blank
    Yes, sorry for the confusion. Normally i go to the web link to post message but it didn't work this time, so i replied directly from email and that seem to be ok.
    Anyway, my printer is Canon MG5240. After reading your thread, I installed updated driver from Apple (printer driver for Mac) and when still cannot print, I called a canon rep here and asked about it and he said to go into canon website only. So I loaded driver from Canon website which also didn't seem to change anything. When I was using Elements 9 trial version i did not have problem printing from the software.

  • Firefox10 was unable to invoke adobe pdf print preview where as Firefox 3 was able to do this.

    Firefox10 was unable to invoke adober pdf print preview where as Firefox 3 was able to do this.
    embed pdf document or use iframe
    Firefox successfully loads the PDF into the iFrame.
    What doesn't happen is printing.
    http://forums.adobe.com/thread/909776

    Also check this out. Firefox10 was able to display the pdf document perfectly.
    Now goto Firefox options and click print which invokes the printer print view and NOT the Adobe print view.
    Also if you click the print preview a blank page is shown.
    <embed id="pdf" src="archive.pdf" type="application/pdf" height="100%" width="100%" ></embed>

  • How to fetch print and print preview variables

    hi everyone,
                          my requirement is as soon as sales order created. printout of that sales order will be taken at the same time email should be send to that particular customer.
    the problem is the email is sent as soon as we check the print preview itself.
    but the mail should be sent afte the pressing print button only.
    how to fetch print or print preview by program
    regards
    karthe

    Hi everyone,
    I have tried open form and close form
    The itcpp-tdspoolid eq '0' for both print and print preview.
    I have set the open form
    dialog = 'X'.
    have i got to set anything in open form.
    this is my open form and close form.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    DIALOG = 'X'
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
    RESULT = itcpp
    IF SY-SUBRC ne 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    else.
    if itcpp-tdimmed eq 'X' and itcpp-TDSPOOLID ne ''.
    endif.
    regards
    karthe

  • Firefox10 was unable to invoke adober pdf print preview where as Firefox 3 was able to do this.

    Firefox10 was unable to invoke adober pdf print preview where as Firefox 3 was able to do this.
    embed pdf document or use iframe
    Firefox successfully loads the PDF into the iFrame.
    What doesn't happen is printing.
    http://forums.adobe.com/thread/909776

    Also check this out. Firefox10 was able to display the pdf document perfectly.
    Now goto Firefox options and click print which invokes the printer print view and NOT the Adobe print view.
    Also if you click the print preview a blank page is shown.
    <embed id="pdf" src="archive.pdf" type="application/pdf" height="100%" width="100%" ></embed>

  • Smart Web Printing & blank print preview window but prints anyway

    I can successfully print using Smart Web Printing on my W7 laptop.  My Deskjet F380 is set up to always display a print preview before printing but when I use Smart Web Printing the print preview is always blank but it still prints correctly.  I have no problems with the print preview from IE8.  Has anyone else encountered this problem?
    This question was solved.
    View Solution.

    this problem has now resolved itself - I think since the latest HP update.

  • When I click print preview I get a blank page with the toolbar but no preview just ads for POGO and yahoo search. WHY?

    Printer info, # of pp. page set-up, scale, & portrait or landscape choices are at the top of the page, but there is no preview print showing at all. Just a web search box and a POGO ad are visible in an otherwise blank page. What do I have to do to see the page I am trying to preview?

    Did you post this from the computer with the problem?
    It could be the work of one of your add-ons, or even add / mal-ware.
    Look thru your add-ons list and make sure you know what each one is
    there for. Also, check the programs that are on your computer
    '''Windows:''' Start > Control Panel > Uninstall Programs.
    '''Mac:''' Open the "Applications" folder
    '''Linux:'''
    * [http://www.freesoftwaremagazine.com/articles/see_all_your_installed_applications_ubuntu_unity Ubuntu Unity]''' {web link}
    * Xfce: Applications Menu category sections
    * options depends on the package manager and the desktop environment
    Go thru the list. If you find something that you don't
    know what it is, use a web search.
    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-caused-malware Troubleshoot Firefox Issues Caused By Malware]''''' {web link}

  • PO print preview displays incorrect setting in decimal places

    Dear Experts
    Please help me on the following condition.
    I have a problem in print preview of a PO. It displays the incorrect setting for decimal place in currency.
    It shows USD 1.404,00 whereby the amount should be USD 1,404.00
    This only happens to a certain vendor that is doing PO for the first time from that country
    Example:
    I'm creating a PO for vendor 123. Vendor 123 is located in country A. No PO has been created for any
    vendor in country A before. When I saved my PO, in print preview, the decimal setting is not correct.
    But when I'm creating another PO, for vendor 234. Vendor 234 is located in country B. There have been
    several POs created for vendors in country B before. When I saved my PO, in print preview, the decimal
    setting is correct.
    Both vendor 123 and vendor 234 is using currency of USD.
    Is there any other setting with the vendor master in regard with the currency decimal setting for each
    country for the vendor? Or something that I've missed out?
    Diagnosis:
    I've checked with the user profiles->default-> decimal notation. It displays 1,234,567.89 correctly
    I've also run OY04, but the decimal setting is correct.
    Thank you
    Regards
    Syukri

    this has nothing to do with print preview, it is just basic country setting (OY01) how a quantity and value is written on a PO to a vendor is country xyz.
    German uses to comma to seperate decimals, while USA uses the point to seperate decimals
    this would be the German version 1.404,00, and this the US version:: 1,404.00
    so if an American sends a PO to a German vendor, then the document will show 1.404,00 so that the German can understand that he wants 1404. (and not 1000 times less)

  • How can you print something from icloud? I'd like to print a copy of my schedule for someone from the calendar, but print is disabled. Going around that, the pages in the preview are blank.

    So far I am only seeing the possibility of being able to print my schedule from my computer at home in iCal.
    It doesn't seem possible to save it as a PDF since the pages appear blank on the print preview. Is this just the broswer I am using, or is printing really not possible? I could share it to "anyone" (since this person doesn't have iCloud), but to be honest I don't feel very comfortable with having something like that "open" on the web. Even though it's only through that specific link, it still would exist out there for someone to potentially stumble onto it.
    Any ideas, or is it just not possible to do this?

    Welcome to the Apple Community.
    A bit of a pain, but you'll need to take a screenshot and print that, Skitch makes taking such screenshots much easier if you are interested.

  • Excel Print preview stopped working and when save as pdf, pdf is blank

    mac 10.5.8
    excel home and student 2011
    i was working on 2 documents for our accountant.
    created one in excel, converted to pdf
    created second one in excel, converted to pdf
    there was maybe a 30 minute time lapse between these 2 files...tops
    the first file does in fact have a print preview, and the pdf opens and is viewable.
    HOWEVER, on the second file, there is no print preview, and pdf is blank.
    (although the printer does in fact print the file with all the words and whatnot on it...)
    blank pdf prints blank.
    i tried xlsx, and xls to pdf, and nothing works.
    it seems that all of the files created before this troublesome one can be converted and seen in print preview....even if i add a new sheet to the workbook, that works just fine...can print preview and convert pdf no problems.
    now, when i try to do that with the second file, or any new excel doc, i canNOT convert or print preview....everything is blank.
    one minute it was working, the next it's not.
    it works for some excel files while not working for newer ones.
    nothing was changed in preferences for excel, preview, or the printer, unless i accidentally typed a keyboard command that would allow this to happen.
    i REALLY need to be able to convert excel to pdf!  and i really don't want to have to print them out just to scan them in and save the scans as pdf...not fun.
    i have been researching, or trying to research this here,and it seems that there is a known bug for office 2008, or for a different OS, but none of the work arounds for those issues are helping me here!
    someone, please help me get my save as pdf back!!!!

    Try different page setups and layouts.  Reinstall the Office fonts, or check for new patches from Microsoft.     Check in Microsoft Office forums.   Mind you PDF from preview and print are not as complete as Adobe Acrobat Pro, and are based on open source PDF standards.  I don't know how well the standards were at the time your Office application was written, or if 10.5's PDF standard was up to Office's snuff, or if you updating to the latest available Adobe Acrobat Reader  and Plugin will help, but between Office's and Adobe's forum you may be abl eto find an answer.

  • Safari 7.0.6, using Adobe Acrobat 11.0.10, aren't rendering pdf files in the Print Preview screen.  Additionally, only a single, blank page prints for a multi-page pdf document.  Any ideas?

    Safari 7.0.6, using Adobe Acrobat 11.0.10, isn't rendering pdf files in the Print Preview screen.  Additionally, only a single, blank page prints for a multi-page pdf document.  Any ideas?

    Figured it out.  It had nothing to do with the software levels of Safari or Adobe Acrobat.  Here's the fix:
    Open Finder/Applications
    Search "Internet Plug-Ins"
    Move any Adobe plug-ins to the trash
    Quit Safari
    Launch Safari
    Your pdf document should now render in Print Preview and print properly.

Maybe you are looking for

  • Need to populate value for a KF only once for a combination of characterist

    Hello All, We had a requirement for a report. wherein we need to consolidate the data of the 0FI_GL_4 datasource and a custom table. both these sources have only 4 fields in common i.e Fiscal Year/Period; Company Code and Pool in the custom table, fo

  • Ordering new 8.6 Unified communications manager

    Hi everybody, For the next year I'm going to order a new CUCM 8.6 system as replacement our old CallManager. I trying now to make a order list. We have 300 ip phones 7911,7941,7960,7970. Please help me out here, I've made this list, correct me if i'm

  • Not able to save more than 2000 characters

    Databse - SQL server 2000 I am using jdbc to save some text in sql server 2000 database. column is of type ntext. If text is more than 2000 character, i am getting an error. I tried changing the connection setting to sendstringparameterasunicode=fals

  • Getting SSL certificate via LDAP connection

    Hello... I'm trying to get the SSL Certificate from a Novell eDir directly by connecting through ldap. The object dn is: cn=SSLSERVICES1024 - SERVICES, ou=gip, o=testorg and when I list all the attributes are: =========== nDSPKICertificateChain: 0 ho

  • Downloaded 8.2 and still can't burn...

    I burned a disc right after I downloaded the new version hoping that it finally take of the burn problem. It took forever but it finally spit out a disc. 8 tracks long and it played until track 7 then nothing. track 8 and 1-6 all play so I thought I