VB + DDE syntax to set printParams for Reader?

I am trying to write a Windows script that will print silently, with the setPageSize option turned on, and will work with both Acrobat and Reader.
This code, derived from other posts in this forum, works perfectly with Acrobat:
fileIn = "C:\temp\Test.pdf"              '' state the full path of the file to open
set App = CreateObject("AcroExch.App")     '' start Adobe Acrobat
set AVDoc = CreateObject("AcroExch.AVDoc") '' connect to Ac Viewer
AVDoc.Open fileIn,""              '' Open a file into viewer
set PDDoc = AVDoc.GetPDDoc             '' Get the Doc opened in the viewer
set JSO = PDDoc.GetJSObject            '' Connect to Acrobat JS
set pp = JSO.getPrintParams()
pp.interactive = pp.constants.interactionlevel.silent
pp.pagehandling = pp.constants.handling.none
set fv = pp.constants.flagValues
pp.flags = (fv.setPageSize + fv.suppressCenter + fv.suppressRotate)
JSO.Print(pp)
JSO.closeDoc(True)
App.CloseAllDocs                  '' close all docs
App.exit
I see from the SDK that something simlar should be possible with Reader via DDE (although silent printing may not be possible), but I can't find any working example of code. Is it possible to send the printparams flags setPageSize, etc., via DDE?
Thanks for any help.

No, there is no support for printParams with Reader and DDE.

Similar Messages

  • Database open for read-only access ORACLE

    while building a universe with a dblink betweens oracle databases, i try to create a derived table in the form
    select field1 from table@db_to_db2
    but i get the following message:
    Exception: DBD, ORA-16000: database open for read-only acces State N/A.
    I understand the statement "Set Transaction for read only"  must be set before any transaction during the session, but still dont know how to trigger it in bo universe designer.
    Can someone know how to solve it?

    I suggest you fill-in the BEGIN_SQL parameter on the Universe to turn on the read-only transaction.
    Here is an excerpt from the Universe Designer guide:
    The BEGIN_SQL parameter allows you to prefix SQL statements with the same parameters each time a SQL statement is generated.
    1. Open the "Universe Parameters" dialog box in Designer.
    2. Click the Parameter tab.
    3. In the "Parameter" list, select the BEGIN_SQL parameter and enter the
    appropriate prefix commands.
    4. Save the settings.
    5. Save the universe.

  • HT204053 I need to change my i cloud e-mail address to the same one I set up when I purchased my apple account I just created an I cloud address and when Ijust read the set up for I cloud it says  I should use the same e-mail address that I started with H

    I did not know that when I created a e-mail address that I was suppose to use the same one that I created when I first signed up with Apple I phone. I want to change my e-mail address to the one I first had How can I change it? I do not need two e-mail accounts It should have read that when you are setting up an e-mail address use the one that you first signed up with. Not after you go through all the set ups for I cloud it tells you at the end to use your account that you first started with. Can you please help me I am new at this and I still can not set up on my computer with my phone to I cloud so if I had my phone stollen I can find it I also have and I pad to set up yet It is 3 days and I still can not set it up
    Thank You and Hoplefully I can change my e-mail address so I can have everything on one account

    If you selected open a new Apple ID account, go back a step and enter use existing Apple ID.
    You will have to set up a separate iCloud account or your iPads will mirror each other.

  • Open data set for reading excel file on application server in back ground

    open data set for reading excel file on application server in back ground

    hi Vijay,
    I am afraid you won't be able to read from Excel file on Appl. Server.
    ec

  • Is there a PS setting where it can read my Canon Mark 3 5D's monochrome setting so that the files will also appear in monochrome instead of colour? Or do I have to change from RAW each time to Monochrome within PS (even if I have set up for Monochrome in

    Is there a PS setting where it can read my Canon Mark 3 5D's monochrome setting so that the files will also appear in the same monochrome structure (instead of appearing in colour as it is now when i open in PS, not even monochrome)? Or do I have to change from RAW each time to Monochrome within PS (even if I have set up for Monochrome in my 5D)?
    1. Basically I am taking photos with a monochrome setting with my 5D and the screen shows monochrome.
    2. when i import this onto my computer and open with PS, it opens in colour.
    3. when I change this to Monochrome in PS. (It cannot read my monochrome setting with my preference of the greyscale mix when I viewed it on my 5D)
    4. my question is: is there a way so that PS can read the monochrome setting from my 5D and display the same monochrome setting as my 5D instead of a different one from PS.
    Lily

    you need camera raw 6.7 or better.
    i don't know what version of ps you have so i can't say if it can be updated to use that, but update anyway.
    pre cc updates:  http://www.adobe.com/downloads/updates/
    cc updates:  http://prodesigntools.com/adobe-cc-updates-direct-links-windows.html
    cc 2104 updates:  http://prodesigntools.com/adobe-cc-2014-updates-links-windows.html
    if you can't update your cr sufficiently, use the dng converter. DNG Converters:
    Win
    Mac

  • How to set password for a zip file and should be checked when reading that

    Hi friends,
    how to set password for a zip file and should be checked when reading that file???
    thanks.
    Praveen Reddy.J

    Heyy man, i think, u did not get my problem.
    all i have to do is:
    i have to create a zip file, and we should secure it with password when creating. and whenever the user wants to open that zip file he should provide correct passowrd otherwise he could not read that file. So, we should check for that also.
    Tanks for reply.

  • I updated Itunes today to the latest version. Windows 7 64bit. None of my drivers work and get an error when itunes starts, about registry setting for reading and writing dvds and cds missing. Anyone else have the same issue. I downloaded itunes again, re

    I updated Itunes today to the latest version. Windows 7 64bit. None of my drivers work and get an error when itunes starts, about registry setting for reading and writing dvds and cds missing. Anyone else have the same issue. I downloaded itunes again, reinstalled still have same issue.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • Cpio syntax in 10g Release 1 (10.1.0.3) Patch Set 1 for AIX-Based Systems

    Oracle® Database Patch Set Notes
    10g Release 1 (10.1.0.3) Patch Set 1 for AIX-Based Systems
    Download and Extract the Installation Software
    To download and extract the patch set installation software:
    1. Download the p3761843_10103_AIX64-5L.zip patch set installation archive to a directory that is not the Oracle home directory or under the Oracle home directory.
    2. Enter the following commands to unzip and extract the installation files:
    $ unzip p3761843_10103_AIX64-5L.zip
    $ cpio –idcv p3761843_10103_AIX64-5L.cpio
    Of course cpio -i is expecting a standard input, so there a missing <
    cpio –idcv < p3761843_10103_AIX64-5L.cpio
    Best Regards
    Laurent Schneider

    Hi Laurent,
    Apologies for the delay responding to your feedback.
    The Document to which you refer does not appear to be listed on the pages my group maintains at: http://www.oracle.com/technology/documentation/index.html
    We are not actually part of the OTN group.
    Therefore, please try the Members Feedback forum instead at: Community Feedback (No Product Questions)
    Thanks and regards,
    Les

  • Can't set PropagatedNamespaces for XmlDsigC14NTransform

    Can't set PropagatedNamespaces for XmlDsigC14NTransform. This is my source code:
    XmlDsigC14NTransform^ c12n = gcnew XmlDsigC14NTransform();System::Collections::Hashtable^ hashtable = gcnew System::Collections::Hashtable();hashtable->Add("xsi", "http://namespace");c12n->PropagatedNamespaces = hashtable;
    Under c12n on the last line it says:
    System::Collections::Hashtable ^System::Security::Cryptography::Xml::PropagatedNamespaces::get()
    Error: property "System::Security::Cryptography::Xml::PropagatedNamespaces" (declared in "C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Security.dll") has no 'set' accessor
    This is very weird because in XmlDsigC14NTransform Class description it says "Gets
    or sets a Hashtable object
    that contains the namespaces that are propagated into the signature" under PropagatedNamespaces property.
    I'm using Visual Studio 2013 and the project has been set for NET Framework 4.0.
    Is there any way around it?

    Hello,
    >>This is very weird because in XmlDsigC14NTransform Class description it says "Gets or sets a Hashtable object that contains the namespaces that are propagated into the signature" under PropagatedNamespaces property.
    In my opinion, this description should be correct, as we can see, it says:
    The PropagatedNamespaces property is set automatically
    during signature computation and checking, but before transforms are invoked.
    So I think the Set function is automatically done during signature computation and could not be set manually. However, from its provided description and syntax, it might make people confused, I have submit a feedback to this MSDN site:
    http://feedback.msdn.com/forums/257782-msdn-feature-suggestions/suggestions/7186278-transform-propagatednamespaces-mismatch-between-i
    You could vote it so that its priority could be improved.
    >> Is there any way around it?
    Since as it describes, this property is set automatically during signature computation, manual action is not possible.
    Regards,
    Fred.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to set color for a tabstrip in BSP

    Hello all,
    Can anyone please let me know how to set color for a tabstripn in BSP?
    I am using the below syntax but it still gives me the default color.
    <htmlb:content design="design2003" >
      <htmlb:page title="test " >
        <htmlb:form>
    <htmlb:tabStrip id         = "TabStrip"
                          bodyHeight = "200"
                          bodyColor  = "red"
                          width      = "700" >
    </htmlb:tabStrip>
    </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Thanks,
    Sandeep

    Hi...
    The below code is working fine for me...
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="stg " >
        <htmlb:form>
          <htmlb:tabStrip width      = "430"
                          bodyColor  = "rgb(88,5,64)"
                          id         = "t1"
                          bodyHeight = "112" >
            <htmlb:tabStripItem id      = "t1"
                                index   = "1"
                                title   = "Sales"
                                tooltip = "My Tooltip for Tab 1" >
              <htmlb:textView text="Tab N 1" />
              <htmlb:tree id        = "treeReports"
                          showTitle = "true"
                          table2    = "<%= mt_nodes %>"
                          title     = "Menu"
                          width     = "100%" />
            </htmlb:tabStripItem>
            <htmlb:tabStripItem id      = "t2"
                                index   = "2"
                                title   = "Production"
                                tooltip = "My Tooltip for Tab 2" >
              <htmlb:textView text="Tab N 2" />
            </htmlb:tabStripItem>
          </htmlb:tabStrip>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>

  • Using multiple desktops with a 4 finger swipe on a Mac Book Pro running Lion- is there a way that I can allow Safari open on several but not all??  Looks like I can set it for one but not others.  All, one, or nothing

    Using multiple desktops with a 4 finger swipe on a Mac Book Pro running Lion- is there a way that I can allow Safari open on several but not all??  Looks like I can set it for one but not others.  All, one, or nothing

    Hey Eric,
    Thanks for taking the time. Unfortunately no that does not solve it. Same as swipe it will get me there and it will show separate programs spaced out. The issue I am having is that all my open word files are bunched up in a pile on top of each other. I can see the edges of each one but I want them to be separated from each other enough that I can visually identify what file is what.
    Again, thanks for trying, it is appreciated.

  • Setting timeout for all the web test scripts in the solution

    Hello,
    I have around 16 web test scripts (using VSTS 2010 ultimate version) in my project (in a solution). By default the timeout set for each request is 60 sec. I need to increase the timeout to 180 sec. Currently, I am clicking on each request and modifying
    the timeout parameter from the Properties window.
    Is there any common setting for timeout available which would be acting across all the scripts?
    Thanks.

    Hello,
    We only can set Timeouts for a separate request in Visual Studio Web Test. There is no way to set Timeout for all requests in VS IDE. But you can write you own logic code using
    Timeout Property in a web test plugin to set Timeout for all requests in a web test.
    About how to write a web test plugin, please see:
    How to: Create a Web Performance Test Plug-In
    Best regards,
    Amanda Zhu <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

  • What is the best home set up for a family to share/use apple products

    Hi, I am relatively new to apple (have an iPad) and having been a PC user for years I was pleasantly surprised with the apple experience and am now trying to work out the best set up for me, my husband and young son as I am buying them both of them apple products this Christmas.  New Mac laptop/ ipad for hubby and then an ipod touch for my son oh and a new mac laptop for me. We are also thinking of moving from Blackberries to iPhones. Yes we seem to be hooked! but i am unsure about the home family set up and how to replace my PC network that I run off an 8TB server.
    In reading the forums I keep seeing people talk about problems they have with two apple IDs and trying to merge them. I have also heard about a family ID allowing us to share apps legally.  I am really nervous of setting us up wrong and then having problems later and hence i am now looking for some advice on how to share as much as we can legally but also make usage practical and not invading each others privacy. thoughts so far:
    Music - I think we are happy to share the same music and access using one ID (we currently don't buy much music from apple but have lots of CDs we share).
    Photos - It would be nice to share photos - as long as my son or husband cannot accidentally delete photos of mine (which is my biggest concern). I currently load all camera photos onto my 8TB storage box as the network owner and my husband has full access to copy any photo to his laptop but can never delete the original copies by accident.
    Apps - If possible i would like us to share these but they are cheap enough these days to separate if really needed. Would be good to share licence for pages etc though
    cloud, contacts, facetime, email -  this is what is making me consider separate IDs or learning how to have multiple users in one apple ID - I do not want to have to share synced contacts with my husband. I have near 300 contacts now through work etc and he will not want them plus i will not want his or him being able to delete mine by mistake. and then for email and facetime, well I want to give him his privacy so I do not receive his messages etc. especially now that we are considering switching to iPhones
    Then last but not least, i don't know the best solution for my son. he is only 7 years old so even though I don't want to pay for things again I don't want him being able to download "just any" app from the purchased icon in Appstore. Also, is there a child friendly setting to prevent him from viewing inappropriate content on the internet?
    Appreciate I have asked a lot of questions here but I am looking for any genuine advice out there. Thank you in advance to any potential advisers.

    Welcome to the Apple Community.
    You don't need to use the same ID on a device for iCloud and iTunes.
    iCloud covers mail, contacts, calendars, reminders, notes, bookmarks, photostream, document syncing etc and for these I recommend you each have your own ID's, this will stop others from having access to and likely more importantly being able to edit or even delete your personal information.
    Someone of Age needs to be responsible for an account, so for younger children you will need to create and be responsible for an account yourself but let the child use it.
    For iTunes you could use a single account so everyone can share music and apps or you could use separate accounts (there are ways to share content between users, Apple provides homesharing to do this).
    When choosing how to proceed with iTunes, it might be worth remembering that someday your children will reach 21 (or whatever age they feel they have become independent) and will likely want their own account, changing accounts later may make it difficult to access previous content.
    Photostream now has shared albums, so you can share just what you want with others. Shared photos using shared albums cannot be deleted by others with different accounts, but if you all shared the same account they could be.
    Facetime and messages can also use an ID independently of each other, iCloud and iTunes. Separate ID's are recommended for these, joint accounts can be problematic.
    iTunes has parental controls for youngsters, however at 7, I suggest you don't reveal the password to him and enter it yourself when he needs to purchase something, otherwise you may receive unexpected bills.

  • Enter event not triggering for read-only checkbox

    I have some objects in a form that get "locked" when the user signs the form.  I'm not using the digital signatures.  Instead, when the user types their name into the signature text field, a script runs on the change event that makes all of the fields in the form read only.  It also unlocks the fields if the signature is deleted.
    I was worried that we would get a lot of phone calls with users that didn't understand that the form had locked ("Why doesn't this form work?!"), so I added some code to the enter event for all of the fields that would pop up a messagebox to explain to people trying to edit a signed form that the form was locked and that they would need to delete the signature to edit the form.
    This plan works perfect for my text fields and decimal fields.  It does NOT work at all for my checkboxes.  For some reason, the enter event is never triggered for read-only checkboxes.  I don't see any other events that would obviously work for me though.  Any ideas?
    Thanks

    Thanks, those are reasonable suggestions.
    In the first suggestion, I'm unclear about one aspect of how I would accomplish this.  I assume I would allow people to modify fields in the form, but that when they did, a msgbox would pop up that would inform them that, if they continued with this modification to a signed form, the signature would be removed.  I'm all good to that point.  But if they answered that they do not want to continue modifying that field and removing the signature, how can I code it to set the value back to what it was before the change?  Is there some method that will give me access to the value of the field BEFORE the attempted modification?  I went looking for something like $.previousvalue, but found nothing.
    I'd suggest that I could use a two-stage solution, in which I store the previous value on the enter event, and save it just in case they do not want to change the field when prompted by the msgbox, but since the enter event does not exist for checkboxes (my original problem), that seems like it won't work.
    As far as radio button suggestion, I like radio buttons very much except for one fatal flaw: they aren't (as far as I can tell) clearable.  That is a shame.  Clearly some people (like me) want both exclusivity AND clearability.  And we'd like the controls to have an enter event.  But I know I'm demanding   Anyway, as it is, I just end up having to use checkboxes and create a boatload of silly code to make them exclusive.
    Emily

  • I want to use my icloud email address as a new apple ID.  It was an additional email contact address I originally set up for my child.  But now, I'd like to set her up on Family Sharing, using that email as her ID.  Obviously, when I try to use it wh

    I want to use one of my icloud email addresses as a new apple ID.  It was an additional email contact address I originally set up for my child.  But now, I'd like to set her up on Family Sharing, using that email as her ID.  Obviously, when I try to use it when setting up a new apple ID, it says the email is already being used (Yes, by ME) and I need to select a different one.  Can I somehow delete that email address in order to set up a new apple ID using it?  Or is there another way to "re-use" that address for my child's new ID?

    "Well, then I want to be able to merge that one and the one my purchases are on..."
    This is exactly what I want to do but don't think I can:
    I noticed the following :
    If you attempt to create an Apple ID which is the same as your @icloud email address from the online facility, it does not allow you (can't use an Apple associated email address as your Apple ID). However - if you start a fresh device - such as a new iPhone, iPad (must be mobile it seems), and then create an iCloud account and Apple ID from the prompts when setting up the mobile device, it IS possible to have your Apple ID and @iCloud email address as the same. I know because I just did it!
    Unfortunately for me, the result I got above is not for one of my own ID's but a friends, and I would VERY much like to do the same - my current Apple ID is a completely different email address from my iCloud account. Trying to get them the same in my situation is a major bother - I think that if I wipe a device (such as an iPhone5 that is mine) and try to setup as I did my friend's device, then I will get a conflict because the iCloud email I have ALREADY exists. This is my worry and I will not attempt this until I get the new iPad 4 soon to test this.
    There is an inconsistency here between the two methods of creating Apple ID's and iCloud accounts.
    Overall in my opinion, the Apple ID system as currently available from Apple is not designed very well, and should be addressed.
    Best wishes -

Maybe you are looking for