Home > database >  Webform crosstab report does not print problem solving!
Webform crosstab report does not print problem solving!

Time:09-25

Webform crosstab report cannot print, print code is as follows:
//dw_2 "Data Export" under "format to configure" change to PDF
//Saving as PDF select the distill method
Dw_2. Object. The DataWindow. Export. PDF. Method=Distill!

//select printer
Dw_2. Object. The DataWindow. Printer="Sybase DataWindow PS"
Dw_2. Object. The DataWindow. Export. PDF. Distill. CustomPostScript="Yes"

//printing PDF files
Dw_2. SaveAs (ls_filename, PDF! , false)

# if defined PBWEBFORM then
DownloadFile (ls_filename, true)//true=open, false=download
# end if
Point when printing to "unable to open this document, because it does not contain the page" prompt, as if the data didn't save to file, solve!
  • Related