Posted by Grant Foraker on May 23, 2011 at 10:39:40:
Posted this last week but nobody commented.
Program compiled under Comet16 and run under Comet32 both Local and CometAnywhere. Comet32 returns and extra trailing character from pdfFactory. Presumably a Hex 00.
CLOSE (1)                              ! RELEASE PRINTER   
INPUT (#) PDFDOC$                      ! GET pdfFactory name
LET PDFDOC$ = STRIP(PDFDOC$)
LET PDFL = LEN(PDFDOC$)
IF SUB(PDFDOC$,PDFL,1) NE 'f' LET PDFDOC$ = SUB(PDFDOC$,1,PDFL-1)    !!!!! COMET32 BUG WORKAROUND
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.