Hi all
1)I print the 1st HTML page giving :
MODIFY WB1 VALUE="C:\\PAGE1.HTML"
MODIFY wB1 PRINT=1
where the user selects the desired printer by PRINT=1 property dialog box.
2) For the 2nd page I give:
MODIFY WB1 VALUE="C:\\page2.html"
MODIFY WB1 PRINT-NO-PROMPT=1
but the print job goes to the default printer.
Is there any way to keep the parameters from the PRINT=1 dialog box?
Thank you
Christps Outsios, as per my previous note, I can see the second print keeps the selected printer, by using ACUCOBOL-GT runtime 10.4.0.
The solution is in using a certified runtime.
Christps Outsios, as per my previous note, I can see the second print keeps the selected printer, by using ACUCOBOL-GT runtime 10.4.0.
The solution is in using a certified runtime.
Thank you very much for your answer.
I think that you mean that the Acucobol 7.2.0 runtime acts differently.
The truth is that when I run it by debugger it runs ok .
But when I run it out of the debugger the PRINT-NO-PROMT command is performed before the PRINT=1 is finished and so it takes the default printer.
I think this is because the control runs asynchronously.
The event routine does not accept events during PRINT, to check the end of PRINT = 1 from there.
I have been working with Acucobol for 23 years but for the first time I am trying to print a graphical report , so I'm new to this.
Thank you again for your kind answer , it gave me joy.
I was beginning to think that it's a silent talking forum.