325 |
# busy clock |
# busy clock |
326 |
self._object.dispatchEvent(GFEvent('beginWAIT')) |
self._object.dispatchEvent(GFEvent('beginWAIT')) |
327 |
file = tempfile.mktemp('.provider.html') |
file = tempfile.mktemp('.provider.html') |
|
psFile = tempfile.mktemp('.providerTmp.html') |
|
|
tmpFile = tempfile.mktemp('.providerISO.ps') |
|
328 |
os.system("grcvs -D file -d %s --filter html ../report/provider.grd" % file) |
os.system("grcvs -D file -d %s --filter html ../report/provider.grd" % file) |
329 |
os.system("iconv -f UTF-8 -t ISO-8859-1 %s > %s " % (file,tmpFile)) |
os.system(gConfig('PrintCommand') % (file)) |
|
os.system("html2ps %s > %s " % (tmpFile, psFile)) |
|
|
os.system(gConfig('PrintCommand')+" "+(psFile)) |
|
330 |
os.unlink(file) |
os.unlink(file) |
|
os.unlink(psFile) |
|
|
os.unlink(tmpFile) |
|
331 |
|
|
332 |
self._object.dispatchEvent(GFEvent('endWAIT')) |
self._object.dispatchEvent(GFEvent('endWAIT')) |
333 |
|
|