The name of the printer for printing the DataWindow as specified in the system’s printer selection dialog box.
DataWindows
Describe and Modify argument:
"DataWindow.Printer" { = printername }"
Parameter |
Description |
---|---|
printername |
Name of the printer you want to use for your DataWindow |
The printer you select for a DataWindow does not affect the system default printer. To specify a network-connected printer, you must use a fully specified network printer name:
dw1.SetProperty("DataWindow.Printer", "\\svr\pr-6'")
If you specify a DataWindow printer, but the printer is not found, the DataWindow engine does not attempt to print to a default device.
The following example changes the DataWindow printer (but does not affect the system default printer device):
[Visual Basic] dw1.Modify ('DataWindow.Printer="My LaserJet 3" ')
You can display the DataWindow printer with the following calls:
ls_dwprinter = dw1.Describe("DataWindow.Printer")