Results 1 to 5 of 5

Thread: Help!! Printing Problem

  1. #1

    Thread Starter
    Lively Member nokia8210's Avatar
    Join Date
    Dec 2002
    Location
    Coventry
    Posts
    92

    Help!! Printing Problem

    Hi,

    Me again! right my program open's a word document based upon which form is selected. it then fill the bookmarks with the data from a dataset then prints.

    this all works up to the printing point.

    it sends the job to the printer and then it just waits the printer doesn't print.

    when i click around the screen it suddenly starts printing this only seems to be a problem with word 2000 as when i used the program on word xp it print straight away.

    can anyone confirm this or is there some code i can use?


    i attach my code
    Attached Files Attached Files

  2. #2
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536
    Word2000 has a setting in the Print tab of the Options dialog (Tools\Options) that enables/disables Background Printing. What is this set to on your installation of Word? Does changing it help at all?
    This world is not my home. I'm just passing through.

  3. #3

    Thread Starter
    Lively Member nokia8210's Avatar
    Join Date
    Dec 2002
    Location
    Coventry
    Posts
    92
    it works for one but as this loops throught a dataset it fails after the second print.

    does anyone have another idea.

    i'm in a bit of a fix as the manager won't buy office xp or above now

  4. #4
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536
    Can't you set the option from code on each iteration of the loop?
    This world is not my home. I'm just passing through.

  5. #5

    Thread Starter
    Lively Member nokia8210's Avatar
    Join Date
    Dec 2002
    Location
    Coventry
    Posts
    92
    i've tried that what is wrong is the code is working to fast for word so it try's to open it again while it is still open. with background printing on a can keep check on when it has finished printing so that when it has it sends the next one to print untill it's finished. but i cant do that if the background printing is off.

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