Can't print correctly by using Adobe Reader 9.1.2

The following code in OCX is being used in my web application to print PDF directly with Adobe Reader 5.1, and it works fine!
When Adobe Reader is upgraded to 9.1.2, it no longer works. Printouts often cannot be printed correctly. However, when I add the code in red, the printouts can be printed correctly again.
Anyway, I don't want Open and Close Adobe Reader during direct printing.
Anyone knows why FilePrintSilent doesn't work? and how to solve it?
Thanks in advance!
William
    ''''''''''' Use ddeml to communicate with acrobat reader '''''''''''
    On Error GoTo ErrPrinting1
    Dim a
    Set a = CreateObject("AcroExch.Document")
    Dim lRet As Boolean
    Dim sValue As String
    sValueOpen = "[DocOpen(" & localFileName & ")]"
    sValuePrint = "[FilePrintSilent(" & localFileName & ")]"
    sValueClose = "[DocClose(" & localFileName & ")]"
    DDE_Initialize
    DDE_CreateStringHandles "acroview", "control", ""
    ' Open the conversation.
    If (g_hDDEConv = 0) Then
        g_hDDEConv = DDE_Connect
    End If
    If g_hDDEConv Then
        ' Perform the transaction.
        lRet = DdeClientTransaction(sValueOpen, Len(sValueOpen), g_hDDEConv, 0, 0, XTYP_EXECUTE, 5000, 0)
        lRet = DdeClientTransaction(sValuePrint, Len(sValuePrint), g_hDDEConv, 0, 0, XTYP_EXECUTE, 5000, 0)
        Sleep 800
        lRet = DdeClientTransaction(sValueClose, Len(sValueClose), g_hDDEConv, 0, 0, XTYP_EXECUTE, 5000, 0)
        If (lRet) Then
            Debug.Print "DDE Execute Success."
        Else
            Debug.Print "DDE Execute Failure."
        End If
    Else
        Debug.Print "DDE Connect Failure"
        printToPrinter = "DDE Connect Failure"
        Exit Function
    End If
    ' Release the memory.
    DDE_FreeStringHandles
    DDE_Uninitialize
    Set a = Nothing
    ''''''''''' end '''''''''''

We have PDF documents stored on server-side, the ActiveX control and Adobe Reader are installed on client-side.
When users open our web page, click our "Print weekly report directly" button, the ActiveX control on client will be called, and perform the above coding. It tries to download the PDF document from server to client, and pass it to the printer on client silently by using FilePrintSilent function.
The report can be printed, but not correct. It involves some unexpected characters which should be English or Traditional Chinese originally, as shown in the attached picture.
Thanks in advance!
William

Similar Messages

  • Why can't i see documents using adobe reader even though I have the most updated version?

    Why can't I see documents using adobe reader even though I have the most updated version?

    Hi lawalton,
    Please tell me a bit more--what happens when you try to open your files in Reader? Are you getting an error message? Do they open, but don't display correctly?
    I look forward to hearing back from you so we can get this mystery sorted out.
    Best,
    Sara

  • We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader.

    We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader.
    For which, We created and execute the below command line to call Adobe Reader and print the PDF on a printer.
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /T "\\<Application Server>\Report\<TEST.PDF>" "<Printer Name>".
    Current Situation: The above command line parameter when executed is working as expected in a User's Workspace.
    When executed in a command line on the Application Server, it is working as expected.
    But, the same is not working while executing it from Deployed environment.
    Software being used: 1. Adobe 11.0 enterprise version. 2. Webshpere Application Server 8.5.5.2.
    Please let us know if there is a way to enable trace logs in Adobe Reader to further diagnose this issue.

    This is the Acrobat.com forum.  Your question will have a much better chance being addressed in the Acrobat SDK forum.

  • We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader. For which, We created and execute the below command line to call Adobe Reader and print the PDF on a

    We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader. For which, We created and execute the below command line to call Adobe Reader and print the PDF on a printer."C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /T "\\<Application Server>\Report\<TEST.PDF>" "<Printer Name>". Current Situation: The above command line parameter when executed is working as expected in a User's Workspace. When executed in a command line on the Application Server is working as expected. But, the same is not working while executing it from Deployed environment.Software being used: 1. Adobe 11.0 enterprise version. 2. Webshpere Application Server 8.5.5.2. Please let us know if there is a way to enable trace logs in Adobe Reader to further diagnose this issue.

    This is the Acrobat.com forum.  Your question will have a much better chance being addressed in the Acrobat SDK forum.

  • I can't print a doc in adobe reader x

    I can't print a doc in adobe reader x

    Is there a Dock Icon that was created for your Printer? If so, open it and look at the list to be printed and delete the extras.
    If not, you did not get that far, so no 15 copies for you!

  • I have the interactive student mathematics CD from Haese & Harris Publications that requires Adobe Reader and includes a 'Self-help Tutor". I can open all the features using Adobe Reader except the Self-Tutor. I get a pop-up message saying I require an ap

    I have the interactive student mathematics CD for the Cambridge IGCSE Mathematics (0607) Extended from Haese & Harris Publications that requires Adobe Reader and includes a 'Self-help Tutor". I can open all the features using Adobe Reader except the Self-Tutor. I get a pop-up message saying that: I require an app to open "26Unitary Method.app". I can find no mention of this app online so can someone please help me?
    Thank you.

    Thank you for the prompt reply.  The CD says that it needs Adobe Reader (and it does read the 'Text book'), but it is not opening the interactive elements. Great!
    I am doing as you suggest and contacting Haese directly. Again, many thanks.

  • Hp officejet 8600 can't print two sided from adobe reader in Mac 10.8.4

    HP officejet 8600
    Mac notebook osx 10.8.4
    Can't print 2 sided from pdf in adobe reader.
    Print command from file dropdown doesn't open
    Print expanded dialog box at bottom of pdf in adobe doesn't show a 2 sided option
    Thanks
    vso

    Hi,
    Please follow the steps below in order to automatically print two-sided print jobs:
    1. Verify the duplex-printing accessory has been installed properly. To verify this open the System Preferences and go to Print & Fax. Open the print queue of your printer. Click on Printer Setup and from the tab menu choose Driver. Verify the box next to HP Two-sided Printing Accessory (Duplexer) is checked.
    2. On the File menu, select Print. The Print window appears.
    NOTE: The Print window might be minimized. Click Show details to see all available settings.
    Note: If you use Adobe Reader, click teh button to launc the system print dialog.
    3. In the expanded Print window you will find next to Copies the checkbox for Two-Sided. Check the box.
    NOTE: If the checkbox does not appear within the specific application print dialog, skip this step.
    4. To select the binding type click the lowest selection box listed as the name of the program (e.g. TextEdit)
    Will appear as Copies & Pages within Microsoft Office applications.
    5. Select Layout from the drop-down menu.
    6. Set the Two-Sided option as Long-Edge binding (Portrait), or Long-Edge binding (landscape).
    You may save the settings for future use by clicking Presets > Save Current Settings as Preset... Any used preset will remain default till another preset will be used.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How can I add page numbers using Adobe Reader?

    I am trying to add page numbers to my document only using Adobe Reader.  Is that possible?  Or do I need to use Adobe Acrobat?

    The free Reader can do very little more than reading (opening) PDF files. I'd use Acrobat.

  • Can I scan to PDF using Adobe Reader X?

    I want Reader to manage my scans.  Can I scan to PDF using Reader X, or is that only a feature in Acrobat.  If so, how can I use it as the default manager for my scanner.  I am using a Fujitsu FI-6140. 

    i answered it myself.  the option to use adobe reader came up the second time i tried

  • How to print Pdf files using Adobe Reader

    How to print Pdf files using Adobe Reader

    Open the PDF file with File > Open... in Adobe Reader and print it with File > Print

  • Can i open a pdf using adobe reader from desktop.

    when  i tried it did not give adobe reader as one of the options and did recognise it as being one of the options availalbe

    i answered it myself.  the option to use adobe reader came up the second time i tried

  • Windows Service no longer able to print PDF files using Adobe Reader 11.0.07.79

    We have a Windows Service that watches a folder for PDF files to be deposited.  Once awakened, it executes the Adobe Reader in command line mode to print the PDF files to secure check printers. The Windows Service was working fine with 11.0.06.70 but no longer works with 11.0.07.79.
    There are no event viewer errors or errors returned to our Process.Start() call.  The Windows Service is running under the identify of an administrator account and has explicit full access to the printer.  We have also tried the local computer's Administrator account as well as the default Local Service, but none work.
    Using ProcMon to examine the failure, it showed Adobe Reader making many successful registry and file accesses.  Adobe Reader then creates a new process, another instance of itself to read in the PDF file and print to the printer.  However, ProcMon only shows Adobe Reader accessing AcroRd32.exe, syswow.dll (sp) and ntdll.dll and then the thread and process immediately exits with an exit code of 0 (no file or registry accesses).  So, something is causing the instantiated process to fail immediately.
    After more research and trying many things, we disabled "Enable Protected Mode at Startup".  This enabled things to work again.
    We are concerned that disabling this feature might expose security concerns for our customers.
    We are suspecting that some security concerns were tightened with 11.0.07.79 that has inadvertently caused printing from Windows Services to falsely be identified as security violations.  Can you please investigate and provide a resolution?
    Thank you.
    Craig Keating
    Alliance Enterprises, Inc.
    [email protected]

    Hi,
    Can you please give the following details:
    1) Command (given in command line)used to print PDF files?
    2) Is the issue reproducible with other printers as well?
    3) Is directly printing the PDF from that folder using command line i.e without using windows service works fine or not?
    Thanks,
    Shakti K

  • Running Safari 6.0.3  When trying to print files using Adobe Reader 11.0.02, print preview screen is all black.  If files are attached to an email, receiver can't open it.  It does work OK in Firefox 19.0.2  Any ideas?

    Running Safari 6.0.3  When trying to print files using Adobe Reader 11.0.02, print preview screen is all black.  If files are attached to an email, receiver can't open it.  It does work OK in Firefox 19.0.2  Any ideas?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • Adobe Reader 11.0.01 keeps crashing and can't print documents.  Using OSX 10.8.2  Help!

    Can you help me use Adobe Reader without it crashing?
    Can you help me print a pdf documany?
    Using Adobe Version 11.0.01 on OSX 10.8.2
    Thank You!

    I am using Adobe Reader 11.0.01 with latest Safari without any issues. Plug-in works fine. This isn't true of Firefox 18.0.01 though.
    When you run Reader for the first time, it writes two plug-ins into /Library/Internet Plug-Ins. These files are for PDF browsing in Safari and Firefox. They override the default Safari Quartz plug-in that is standard in OS X and provides default PDF viewing. You can remove the Adobe PDF plug-ins and Safari will just default as expected. The next time you run Adobe Reader, it will notice that those PDF plug-ins need replaced, and it starts all over again.
    In Finder preferences, in the sidebar category, and under DEVICES, the top selectable item is your computer name. Select it and exit preferences. Launch a new Finder window. In the left panel and near the bottom, will be the DEVICES category. Click on your computer name. The silver disk drive icon will be your hard drive name, probably Macintosh HD. Double-click it. Now, double-click Library, and then again, Internet Plug-Ins.
    The two files you want to drag to your Desktop (or the Trash) follow: You will need admin login to do this.
    AdobePDFViewer.plugin
    AdobePDFViewerNPAPI.plugin
    Safari will now resort to default PDF viewing. If you double-click a PDF file on your disk, and Adobe Reader is the default open application, you will have undone the above.
    The steps that I shared previously for changing the default PDF application were to be done in the Finder, on a PDF file already in your computer file system, and not within your browser.

  • Why do prepopulated forms not open up correctly to be read and printed using Adobe Reader?

    We are creating forms that we send to clients. Generally the clients are using Adobe Reader to open the pdf's. Why can they not see prepopulated data on the forms. They need to click the area where the data is to see it. When they attempt to print it, it comes out blank.

    Hi,
    Did you use Acrobat to create the prepopulated forms? If you did, please submit your question to Acrobat forum. The team there can help you.
    Thanks,
    Wenlan

Maybe you are looking for

  • My experience of SSO between SAP Portal6.0 and non-Sap Application

    Firstly I announce that I am not a Sap developer or a Sap Consultant.  I am a Cognos Consultant. I need do SSO between Sap Portal and Cognos Portal in my project, So I have to make SSO between two portals. I  tested  SSO between the two products on I

  • JACK (or JACK2) problems - how to set it up properly?

    I'm trying to set up JACK (or JACK2) on my system, and according to the wiki page I currently have jack2 installed, and alsa-plugins. Also, my .asoundrc matches the one in the wiki. (also I took the freedom to edit the wiki, i.e. to remove the inform

  • Applescript folder not found in Applications folder

    Bizarre ... I find an AppleScript Utility.app file in /System/Library/CoreServices folder, alongside an Applescript Runner.app file. If I were to go for an individual installation of this app - I run now 10.6.5 - Pacifist would like to install it at

  • Creating a custom datasource

    hai all, I saw one example in jmf website "LiveStream", in which we can play the video with RGP format(custom data). They will create the video data in RGP format and we can create the test pattern. have any body tried that, if you are able to do tha

  • Search Multiple selections ONLY

    Hi All, Ok, is it me, or does the built-in search bar no longer listen to me if I tell it I only want to search the folders I have selected? All our files are on an SMB server, and I daily need to search something out that was done in a specific time