LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

WordRpt_Print issue

hi :
   I have a problem with wordreport automatic print.
   My test system need to print a report for unit when unit finish testing. I have a print install in windows NT  operating system, and every test system will use this network printer with config it to default printer.It works well.
   But when we change printer to another windows XP operating system PC, I can not automatic print ,but I can open a word report and print it by manual.
   I need to do some cofig for printer?
   a little code about print from my code as below:
 
   strcat (Tempfilename, "\\Log File\\");
    strcat (Tempfilename , Serial_NO);
    strcat (Tempfilename,".doc");
    RptChk(WordRpt_DocumentSaveAs (docHandle,Tempfilename));
    Delay(5);
 RptChk (WordRpt_Print (docHandle, "", WRConst_PrintAllDocument,
                    0, 0, 1));
 
thanks for your helps.
 
sonic
 
Sonic

Diffrent Strokes for Different Folks
0 Kudos
Message 1 of 1
(3,252 Views)