1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Printing Multiple files from a folder

Discussion in 'Business Applications' started by eathen, Jul 24, 2006.

Thread Status:
Not open for further replies.
Advertisement
  1. Rollin_Again

    Rollin_Again

    Joined:
    Sep 4, 2003
    Messages:
    4,911
    Are you trying to print the actual web page itself or the html source code?

    If you want the code to run as a stand-alone project it likely can be done through a VBS Script.

    Regards,
    Rollin
     
  2. peglar

    peglar

    Joined:
    Apr 18, 2007
    Messages:
    6
    i am trying to print the web pages.

    you see we have a system here that generates reports and they are .htm but we have around 200 at a time that get generated. They all get sent to one folder so it would be great if we could have a program that we could run that prints off the web pages without having to go through the choose a printer dialogue box and without word formatting the web page badly.
     
  3. peglar

    peglar

    Joined:
    Apr 18, 2007
    Messages:
    6
    I have managed to solve it using ie instead of word. below is the code extract for the project, just incase it is of some use to someone else.

    the registry stuff was so that it would remove headers and footers from the print and then replace them once the printing had been done.
     
  4. peglar

    peglar

    Joined:
    Apr 18, 2007
    Messages:
    6
    i have been updating this program to add a browse for folder function and it now prints word documents too. next i will be working on adding pdf functionality as well.

    pm me if you need help with word doc printing or adding a browse function to your program.
     
  5. Rollin_Again

    Rollin_Again

    Joined:
    Sep 4, 2003
    Messages:
    4,911
    I've already posted code with a browse to folder function.

    Regards,
    Rollin
     
  6. peglar

    peglar

    Joined:
    Apr 18, 2007
    Messages:
    6
    so you have!

    i wish i had noticed that before spending ages trying to do it myself! oops
     
  7. Rollin_Again

    Rollin_Again

    Joined:
    Sep 4, 2003
    Messages:
    4,911
    Peglar,

    Did you get this sorted yet?

    Regards,
    Rollin
     
  8. peglar

    peglar

    Joined:
    Apr 18, 2007
    Messages:
    6
    yeah, you can sign it off as solved! :D
     
  9. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/485943