Ook,
Probeer de onderstaande code zonder het controleren lb_test_bills, werkte het voor me.
n_ds lds_report_data_store
lds_report_data_store = CRE�ëR n_ds
lds_report_data_store.DataObject = ls_datawindow_name
lds_report_data_store.SetTransObject (SQLCA)
ll_retrieve_return = lds_report_data_store. Win terug (ldt_report_date)
lds_report_data_store. Object.DataWindow.Print.Orientation = li_printer_paper_orientation
lds_report_data_store. Object.DataWindow.Print.Duplex = li_printer_simplex_duplex
lds_report_data_store. Object.DataWindow.Print.Paper.Size = li_printer_paper_size
lds_report_data_store. Object.DataWindow.Print.Filename = „c:\test _lib \ test_report.pcl“
lds_report_data_store. Druk ()
Juicht toe,
Rosh