Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2008
    Posts
    25

    Unanswered: How do you open a file in print mode from MS Access?

    Hi there,

    I currently have the code so that a button click will open a PDF file:

    Application.FollowHyperlink "C:\documents\file.pdf"

    However, I'm wondering if it's possible to add code so that the PDF opens in Print Mode?

    thanks
    G

  2. #2
    Join Date
    Nov 2007
    Location
    Adelaide, South Australia
    Posts
    4,049
    What the heck is print mode? Or what is "non print mode"? When I open PDFs they all open in the same "mode".

    Sounds like it could be an Adobe problem? Not sure yet.
    Owner and Manager of
    CypherBYTE, Microsoft Access Development Specialists.
    Microsoft Access MCP.
    And all around nice guy!


    "Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
    "...teach a man to code and he'll be frustrated for life! " -- georgev

  3. #3
    Join Date
    Nov 2007
    Location
    Adelaide, South Australia
    Posts
    4,049
    Do you mean you want to print the file rather than view it???
    Owner and Manager of
    CypherBYTE, Microsoft Access Development Specialists.
    Microsoft Access MCP.
    And all around nice guy!


    "Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
    "...teach a man to code and he'll be frustrated for life! " -- georgev

  4. #4
    Join Date
    Aug 2008
    Posts
    25
    sorry for the confusion.

    What I mean is that the PDF opens with the Print Dialogue box also open, so you just need to hit "Print" and away it goes.

    I realize this is a very minor thing, so no biggie, just thought if there was an easy way to do so then great...

    cheers
    G

  5. #5
    Join Date
    Nov 2007
    Location
    Adelaide, South Australia
    Posts
    4,049
    Oh... thanks for clarifying. I know of no way to do that... you could mess around with SendKeys, but I'm not confident that it will work.
    Owner and Manager of
    CypherBYTE, Microsoft Access Development Specialists.
    Microsoft Access MCP.
    And all around nice guy!


    "Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
    "...teach a man to code and he'll be frustrated for life! " -- georgev

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •