Posted by Greg on March 03, 2005 at 07:46:55:
We are running the latest release of C2k4 and at certain sites we continue to have problems with cosp.exe and the the 'Last Printer Used' key in the registry. They simply cant print to the printer unless we clear the value from that key. Oddly enough it is only in certain IBS programs. The printer selection we use is the same for all, yet certain object programs can print to it and others cant until we clear the value.
ENTER 'BJPTRDLG'
INPUT(#,ZLP)
IF ZLP$ LT ' 1' RETURN
CLOSE (1) & OPEN (1) ZLP$,EXCP=3030 ! THE EXCP OCCURS OF COURSE.