Results 1 to 3 of 3

Thread: printing web pages

  1. #1

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539

    printing web pages

    Hey all if someone can reply its kinda urgent...

    I have been using the microsoft web control to load pages in to my mini browser the control allows me to print the page by doing
    AxWebBrowser1.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINT, SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_PROMPTUSER)
    However i would really like to print without promting the user and i would also like to be able to select a default directory and a default file name

    is there another way to load webpages and to send the page to the print document control so i can gain the requirements of what i need.
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  2. #2
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    You can execute the print in your browser with Javascript (Print), but it sounds like you want to save the file into a directory, etc. Is that correct or will the Javascript work for you?

  3. #3

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    yeah save as file its ok i think ive worked out an answer just gotta try it
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

Posting Permissions

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



Click Here to Expand Forum to Full Width