on 11-24-2017 9:50 AM
ll_printed = dw_1.print(FALSE)IF ll_printed =1AND FileLength64(gs_TmpFile)>100000THEN
ls_run =gs_GhostScript_Path +"gswin32c -q -sDEVICE=pdfwrite -sOutputFile=" + gs_TmpFile + ".pdf " + " -dBATCH -dNOPAGEPROMPT -dNOPROMPT-dQUIET -dNOPAUSE" +' ' + gs_TmpFileENDIF
I got this script where I check the file length, I always generate a PS with 11kb. If i continue to create a pdf. it will create a blank PDF. Sometimes It actually print the correct information sometimes its blank.
If your goal is to create a pdf, why not call SaveAs with PDF! option? Also check if your columns have been formatted correctly and that they do not spillover to the next page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.