Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Sydney, Australia, New South Wales, Australia
    Posts
    251
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Print a file (Access 2000)

    I need to create some Access code that can print a file on disk. The file may be in Word (.doc or .rtf) or Adobe Acrobat (.pdf) or other type.
    I can print the Word document with automation. But how can I tell a different application's file: "go print yourself"? Obviously, Acrobat Reader is on the machine. On the desktop I could just drag the file to a printer shortcut. But how do I do that via code?
    Thanks all for your help.

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Print a file (Access 2000)

    For PDF, try this thread. You probably have to Shell whatever command line you come up with.

  3. #3
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Sydney, Australia, New South Wales, Australia
    Posts
    251
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Thanks

    Thanks for that - /t works nicely. I did need to specify the printer name - it didn't pick up the default.
    Thanks again

Posting Permissions

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