Home > database >  PB how to realize the two printers print at the same time?
PB how to realize the two printers print at the same time?

Time:10-22

Existing customers demand, two different printer to print different materials at the same time, please how to do? If you have specific procedures, will be so thankful.

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 try

CodePudding 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 tag

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 ()

This method is feasible

CodePudding user response:

Practical skills tag

CodePudding user response:

Really opened the horizon

CodePudding user response:

Set two identical datawindow, dw_1, dw_2 respectively in a different printer
PC 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:

a

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,
  • Related