Main program = True Call protocol = HTTP
Output_file('ファイル名', 'PDF');
Print PrintBlock名
Header Print HeaderBlock End Footer Print FooterBlock End
// &FilePath ⇒ ダウンロードするファイルのパス。ファイル名まで含む // &DownLoadFileName ⇒ ダウンロードダイアログに表示されるファイルの名前 &HttpResponse.AddFile(&FilePath) &HttpResponse.AddHeader('Content-Type','application/download') &HttpResponse.AddHeader('Content-Disposition','attachment;filename=' + &DownLoadFileName)