CodePudding user response:
//the default printer to print
Dw_1. Print ()
//change to another printer to print another data window
Dw_2. Modify (' DataWindow. Printer="My LaserJet 3" ')//"" for the Printer name
Dw_2. Print ()
CodePudding user response:
Anyway, thank you, first replies there is hope,CodePudding user response:
The second floor can realize you give it a tryCodePudding user response:
There has been no time to test, test is successful, now is feasible, thank you,CodePudding user response:

CodePudding user response:
Printsetprinter (' 1 'printer)Dw_1. Print ()
Printsetprinter (' 2 'printer)
Dw_2. Print ()
CodePudding user response:
Learning,
CodePudding user response:
Practical skills tagCodePudding user response:
//the default printer to print
Dw_1. Print ()
//change to another printer to print another data window
Dw_2. Modify (' DataWindow. Printer="My LaserJet 3" ')//"" for the Printer name
Dw_2. Print ()
This method is feasible
CodePudding user response:
Practical skills tagCodePudding user response:
Really opened the horizonCodePudding user response:
Set two identical datawindow, dw_1, dw_2 respectively in a different printerPC default printer: dw_1. Print ()
Another Printer: dw_2. Modify (' DataWindow. Printer="* *" ')//in the "" for the Printer name
Dw_2. Print ()
CodePudding user response:
If the name of the print is not fixed, the above method to improve,CodePudding user response:

CodePudding user response:
14 # buildings of the method is feasible, and so did my homework basic, 15 #, can make a configuration module to manage which printer to output is very good,