PrintPagesSilent using to print the PDF with double-sided printing and color

The use of VBA with Acrobat 9.0 code library.

I have an application that prints the PDF files that are stored on a network drive.

I can print PDF files using PrintPagesSilent, which prints the file to the default Windows printer.

However, I want to be able to specify in the VBA code if I want the file in duplex or printed in color.

I can do this in access using the Printer.Duplex = '2' or Printer.Color = '2', but they do not change the windows default printer settings and therefore do not change how PrintPagesSilent prints.

Can someone shed some light on how I can set these parameters to accomplish what I need.

Or maybe another solution I didn't think.

Figured out, or at least a work around.

Found a VB code that can change Windows printer settings.

All I had to do was create a module and then call SetPrinterDuplex before you print the pdf file, and then again to change it after.

Here is a reference for anyone interested.

http://support.Microsoft.com/kb/230743

Tags: Acrobat

Similar Questions

  • Not able to print the PDF with firefox 29,0 Preview pdf plugin. Why?

    Not able to print the PDF with firefox 29,0 Preview pdf plugin. Why?

    The 29.0.1 firefox solved my problem!

    Please check: Firefox-> Preferences-> tab-> applications (option) Portable document Format (PDF)-> Preview in firefox

    Good luck!

  • HP Officejet 6500, has Mac OS x 10.6.8. Printing PDF documents double-sided problem.

    OfficeJet 6500 E710n-z [88C933]

    On my Mac-Mini 32 computer bits, the Adobe Reader print dialog box is not a duplex selection box and the select Collate box is grayed out.

    However, the print dialog box TextEdit has a duplex box and the selection of the Assembly option box is active.

    Is there any way of printing PDF documents double-sided

    Hello

    Of the Adobe Reader print dialog box, click the printer downstairs

    Click the arrow to the right to the name of the printer in order to devote the printing options

    Click on the last selection box and select layout, you will see the duplex option

    In the same selection, select paper handaling to assign to assemble

    Please let me know of progress:

    Jean-François

  • I need to send an email when the recipient opens the PDF with a password, can someone help me and show me how to do

    Hello, I am trying to send an email when the recipient opens the PDF with a password, can someone show me how to do

    Hi Line,

    Password protect a PDF file, you must use Acrobat. If you do not have Acrobat, you can try it free for 30 days. See www.adobe.com/products/acrobat.html for more information.

    In Acrobat, choose file > properties when the document is open, and then click the Security tab allows you to set up a password.

    Please let us know how it goes.

    Best,

    Sara

  • which API allows to save the PDF with Adobe Reader 9?

    Hello

    which API allows to save the PDF with Adobe Reader 9? It is said that "CosDocSaveWithParams" may not be used.

    Thank you!

    Jimmy

    I've personally used both in the drive in a plugin, and the drive itself makes these calls.  HOWEVER, they only work on the active Reader documents.

  • I can't open the PDF with Adobe Reader XI... get an error that "Adobe has stopped working" then it closes.  Any suggestions?

    I can't open the PDF with Adobe Reader XI... get an error that "Adobe has stopped working" then it closes.  Is it a question of Adobe, Microsoft problem or security issue?

    Since you talk about Microsoft, I guess you're on Windows.

    Can you open Reader by itself?  If so, try to disable the Protected Mode [Edit |] Preferences | (Improved) security].

  • sign the document with 'Draw my signature' and send it via http-post

    Hello

    I have a pdf document with a signature field. When im opening with AcrobatReader XI, I can sign / Place Signature / draw my signature. I can't 'save a copy '. It works pretty well.

    Now, I place a button in the pdf document to be sent via http post to a given address. When I now open this PDF in the XI AcrobatReader, trying to sign. I can only do this with sign / Place Signature / use a certificate. But there is no way to "draw my signature."

    Did I miss an option to do this? Pls tell me if he has a chance to sign the document with 'Draw my signature' and send it via http-post.

    Or is this part of the concept? When I'm looking for a solution, I found EchoSign electronic signature.

    What is available depends on how the as is put in place. If you include a button with an action of type 'Submit form' and/or reader - enable the form, then e-signature (signature of drawing) will not be available in the player. If the document is compatible player then digitally signing will. So for what you want, do not Reader-enable the document and you can use the submitForm JavaScript method to submit. The site that has the JavaScript documentation was not available at the time I wrote this, but post again if you need help with that.

  • my computer is the connection with a temporary profile and I can't access some files how to fix this?

    my computer is the signature with a temporary profile and I can't access any of my files how to fix this?

    Hello

    Please post in the forums for your version of Windows.

    Ask a question in a select Technical Forum here appropriate injector:

    Microsoft Community - Forums
    http://answers.Microsoft.com/en-us

    Please provide all the information we need to help us help you.

    How to ask a question
    http://support.Microsoft.com/kb/555375

    =================================

    These methods should help for Windows 7 or Vista.

    References to Vista also apply to Windows 7.

    You can try to fix it with Safe Mode - repeatedly press F8 as you bootup. THE ADMIN
    Safe Mode account has no default password (so unless someone changed
    the password should be available).

    Some programs such as the Google Updater (if you've added the Google toolbar,
    Chrome or Google Earth) has been known to cause this problem.

    Error message when you log on to a Windows Vista-based or Windows 7
    computer by using a temporary profile: "the user profile Service has no logon.
    Unable to load the user profile.
    http://support.Microsoft.com/kb/947215

    Difficulty "the user profile Service has no logon. User profile cannot be loaded. "Error in Windows 7
    http://www.SevenForums.com/tutorials/186131-user-profile-service-failed-logon-user-profile-cannot-loaded.html

    How to fix error "the user profile Service has no logon. Could not load user profile. "in
    Vista & Windows 7.
    http://www.Vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html

    How to fix error "your user profile was not loaded correctly! You have been connected with a
    temporary profile. "in Vista & Windows 7.
    http://www.Vistax64.com/tutorials/135858-user-profile-error-logged-temporary-profile.html

    BE VERY CAREFUL IF YOU USE THIS ONE:

    DO NOT USE THE ACCOUNT HIDDEN ON A DAILY BASIS! If it corrupts you are TOAST.

    ----------------------------------------------------------------------------------------------------------

    For Windows 7:

    How to enable or disable the built-in Windows 7 Administrator account
    http://www.SevenForums.com/tutorials/507-built-administrator-account-enable-disable.html

    Use the hidden administrator account to lower your user account APPLY / OK then
    Raise it to ADMIN. This allows clear of corruption. Do the same for other accounts
    If necessary after following the above message.

    You can use the hidden - administrator account to make another account as an ADMINISTRATOR with
    your password even (or two with the same password) use a test or difficulty to another.

    You can run the command Admin account hidden from the command prompt
    from there if necessary.

    How Boot for Windows 7 System Recovery Options or use a Windows 7 boot disk.
    http://www.SevenForums.com/tutorials/668-system-recovery-options.html

    What are the system recovery options in Windows 7?
    http://Windows.Microsoft.com/en-us/Windows7/what-are-the-system-recovery-options-in-Windows-7

    How to create a Windows 7 - free methods system repair disc
    http://www.SevenForums.com/tutorials/2083-system-repair-disc-create.html

    ----------------------------------------------------------------------------------------------------------

    For Vista:

    How to enable or disable the real built-in Administrator account in Vista
    http://www.Vistax64.com/tutorials/67567-administrator-account.html

    Use the hidden administrator account to lower your user account APPLY / OK then
    Raise it to ADMIN. This allows clear of corruption. Do the same for other accounts
    If necessary after following the above message.

    You can use the hidden - administrator account to make another account as an ADMINISTRATOR with
    your password even (or two with the same password) use a test or difficulty to another.

    You can run the command Admin account hidden from the command prompt
    from there if necessary.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    What are the system recovery options in Windows Vista?
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-are-the-system-recovery-options-in-Windows-Vista

    How to create a Vista - free methods recovery disk
    http://www.Vistax64.com/tutorials/141820-create-recovery-disc.html

    ---------------------------------------------------------------------------------------------------------

    If you can't access your old account you can still use an Admin to migrate to one
    new (remember to always leave an account Admin who is not used except)
    to test and difficulty).

    Difficulty to a Vista - corrupted user profile
    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

    Difficulty to a corrupt user - Windows 7 profile
    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • I'm unable to log the ePrintCenter with my email address and password.

    When I click on the 'forgotten password' link and enter my e-mail address, I wonder for a good address. I have tried repeatedly, check carefully that I have entered the correct address. I even tried to set up the account again, but then I thought that an account for this email address already exists. I just had the same thing trying to get into the forums, I was able to reset the password.

    Any ideas?

    Hey Troy3!

    You use a personal email address or try to login with the email address of your pritner? If you are sure that the e-mail address is correct, and it's a personal address, send me a private message to the email address used to create the account with and I will get it taken care of for you.

  • First, I'm joining the forum with a question CS4 and CS5 Suite for Mac. Can someone tell me why it is NOT a place to submit a question as it is here?

    First, I'm joining the forum with a question CS4 and CS5 Suite for Mac. Can someone tell me why it is NOT a place to submit a question as it is here?

    Creative Suites Mac forum seems to be closed, so moved that Creative Suites Windows the Forum of Creative Suites "base".

    Then... Post your question and someone may be able to help... is your question about the installation of the old software on a new Mac?

    IF El Capitan Mac read below

    CS6 and previous programs have not been tested and will not be updated to run on Mac El Capitan

    -which means you are trying to use CS6 and earlier at YOUR risk of having problems

    -You can get CS6 and previous programs to install and run, or you can not (some do, some don't)

    -IF not, Details of the message from the error messages and a person may be able to help (just not Adobe)

    This information is a MUST to install old programs on Mac El Capitan

    -You can't get the same error message, but here are some links that CAN help with old programs

    -Java https://helpx.adobe.com/dreamweaver/kb/dreamweaver-java-se-6-runtime.html can help

    Install CS5 on Mac 10.11 https://forums.adobe.com/thread/2003455 can help (also for others than CS5)

    -also a TEMPORARY security change https://forums.adobe.com/thread/2039319

    -http://mac-how-to.wonderhowto.com/how-to/open-third-party-apps-from-unidentified-developer s-mac-os-x-0158095 /

    -the guardian https://support.apple.com/en-au/HT202491

  • How can I buy Photo shop so that I can re-branded to Member of the team with their own username and password

    I would buy Photo shop and have it show that I can assign to a member of the team with their own username and password. I bought it once before, and it would allow only the administrator user name and password to access. would it be controlled by the cloud team account so that I can assign to a user and have all my products Adobe controlled by a single account. Photo shop will be for a single user.

    Thank you

    Doug

    Team license links that can help

    - https://creative.adobe.com/plans?plan=team team plans

    -http://www.adobe.com/creativecloud/buy/business.html

    -https://helpx.adobe.com/contact/creative-cloud-teams.html using the team

    -manage your account http://forums.adobe.com/thread/1460939?tstart=0 team

    -Team Installer http://forums.adobe.com/thread/1363686?tstart=0

  • script which gives the hostname with more CPU resources and memory available

    Hello

    Anyone have a script which gives the hostname with more CPU resources and memory available in the cluster?

    Concerning

    Vickie

    Hello, VicMware-

    You can get the host with the free CPU, or with the most free memory resources, using the following:

    ## get the host with the most free CPU cyclesGet-Cluster myCluster0 | Get-VMHost | Select-Object Name,    @{n="CpuMhzFree"; e={$_.CpuTotalMhz - $_.CpuUsageMhz}} | Sort-Object -Property CpuMhzFree -Descending | Select -First 1
    
    ## get the host with the most free memoryGet-Cluster myCluster0 | Get-VMHost | Select-Object Name,    @{n="MemGBFree"; e={$_.MemoryTotalGB - $_.MemoryUsageGB}} | Sort-Object -Property MemGBFree -Descending | Select -First 1
    

    The first would have produced something like:

    Name          CpuMhzFree
    ----          ----------
    myVMHost0          25384
    

    And the latter didn't would be out:

    Name           MemGBFree
    ----           ---------
    myVMHost4        122.323
    

    .. .or each of these host computers are those with the most free memory/CPU cluster, respectively.  What to do the things for which you are looking?

  • to fill the gaps with value of lead and the delay and make average and the gap between earned

    Thanks in advance

    I have table as below
    ID          TYPE     NUM     NAME     BEG_MP     END_MP     VALUE
    10001103N     3     1190001     WST     0.000     0.220     
    10001103N     3     1190002     WST     0.220     0.440     
    10001103N     3     1190003     WST     0.440     0.820     12800
    10001103N     3     1190003     WST     0.820     1.180     12800
    10001103N     3     1190004     WST     1.180     1.220     
    10001103N     3     1190004     WST     1.220     1.300     
    10001103N     3     1190005     WST     1.300     1.420     14800
    10001103N     3     1190005     WST     1.420     1.550     14800
    10001103N     3     1190006     WST     1.550     2.030     
    10001103N     3     1190006     WST     2.030     2.660     
    10001103N     3     1190007     WST     2.660     2.780     
    What I need is to fill the gaps with value of lead and the delay and make average and the gap between the values
    ID          TYPE     NUM     NAME     BEG_MP     END_MP     VALUE
    10001103N     3     1190001     WST     0.000     0.220     12800 ---> Lag value
    10001103N     3     1190002     WST     0.220     0.440     12800 ---> Lag Value
    10001103N     3     1190003     WST     0.440     0.820     12800
    10001103N     3     1190003     WST     0.820     1.180     12800
    10001103N     3     1190004     WST     1.180     1.220     13800 ---> Avg(12800,14800)
    10001103N     3     1190004     WST     1.220     1.300     13800 ---> Avg(12800,14800)
    10001103N     3     1190005     WST     1.300     1.420     14800
    10001103N     3     1190005     WST     1.420     1.550     14800
    10001103N     3     1190006     WST     1.550     2.030     14800 ---> Lead Value
    10001103N     3     1190006     WST     2.030     2.660     14800 ---> Lead Value
    10001103N     3     1190007     WST     2.660     2.780     14800 ---> Lead Value
    create table AVG_TABLE
    (
      ID     VARCHAR2(20),
      TYPE   NUMBER,
      NUM    NUMBER,
      NAME   VARCHAR2(10),
      VALUE  NUMBER,
      BEG_MP NUMBER(6,3),
      END_MP NUMBER(6,3)
    )
    ;
    
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190001, 'WST', null, 0, .22);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190002, 'WST', null, .22, .44);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190003, 'WST', 12800, .44, .82);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190003, 'WST', 12800, .82, 1.18);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190004, 'WST', null, 1.18, 1.22);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190004, 'WST', null, 1.22, 1.3);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190005, 'WST', 14800, 1.3, 1.42);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190005, 'WST', 14800, 1.42, 1.55);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190006, 'WST', null, 1.55, 2.03);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190006, 'WST', null, 2.03, 2.66);
    insert into AVG_TABLE (ID, TYPE, NUM, NAME, VALUE, BEG_MP, END_MP)
    values ('10001103N', 3, 1190007, 'WST', null, 2.66, 2.78);
    commit;

    Hello

    Use LEAD and LAG when you know exactly how far is the target line (for example, if you know the desired value is on the next row).
    If you don't know exactly how far is the target line, then FIRST_VALUE and LAST_VALUE are more likely to be useful.

    WITH     got_neighbors     AS
    (
         SELECT     avg_table.*
         ,     LAST_VALUE (value IGNORE NULLS) OVER (ORDER BY beg_mp)          AS prev_value
         ,     LAST_VALUE (value IGNORE NULLS) OVER (ORDER BY beg_mp DESC)     AS next_value
         FROM     avg_table
    )
    SELECT       id, type, num, name, beg_mp, end_mp
    ,       COALESCE ( value
                 , ( NVL (prev_value, next_value)
                   + NVL (next_value, prev_value)
                   ) / 2
                 )     AS value
    FROM       got_neighbors
    ORDER BY  beg_mp to f
    ;
    

    Riedelme is correct: LAG LEAD (as well as FIRST_VALUE and LAST_VALUE) can return only the values that are there (or that you give as default values). This means that you can not solve this problem with these functions alone; you need something else (as NVL, above) to provide value when the function does not find it.

  • My screen iphone6 is cracked and in my country, they can only change the iphone with a new one and with a very high price. Is there anyway that I could replace just the screen?

    My screen iphone6 is cracked and in my country, they can only change the iphone with a new one and with a very high price. Is there anyway that I could replace just the screen?

    No, if you want to keep all rights to the service or support from Apple. Not to mention the fact that it then will be bork Touch ID and make the phone unusable if ever, you restore or update of iOS.

    Apple doesn't sell parts of the iPhone. There is no legitimate sources for replacement screens.

  • I received a call from a woman said that she was with the ICC with Windows service provider and that they were getting the error messages from my computer

    * Original title: scam or not

    I received a call from a woman saying that she was with the ICC with Windows service provider and they received my computer error messages and I wouldn't be able to help me solve it.  I asked for a number of 800-373-4609 because he came unknown on my phone.

    I wanted to open my computer.  I told her I would call her back.

    Is it a scam?

    (Moved from P & M)

    Yes, it's a scam. When someone calls and says they need to talk to you about 'mistakes' in your computer, simply hang up.  I just had one of these calls myself about 15 minutes ago.

Maybe you are looking for