on 11-13-2017 5:45 PM
ll_printed = dw_1.print(FALSE)
IF ll_printed = 1 AND FileLength64(gs_TmpFile) > 100000 THEN
ls_run =gs_GhostScript_Path + "gswin32c -q -sDEVICE=pdfwrite -sOutputFile=" + gs_TmpFile + ".pdf " + " -dBATCH -dNOPAGEPROMPT -dNOPROMPT-dQUIET -dNOPAUSE" +' ' + gs_TmpFile
END IF
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.
Hi Lean;
Have you tried using the SaveAs (PDF!) method instead?
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.