Friday, April 27, 2012

Displaying the current printer in a DataWindow

I was suprised by the simplicity when I came across this gem in the newsgroups. To display the printer that the user will be printing to, just add this script:

st_currentprinter.Text = dw_1.Describe(“Datawindow.Printer”)
or
st_currentprinter.Text = dw_1.Object.DataWindow.Printer

No comments:

Post a Comment