Home > Archive > Programming with dBASE > December 2005 > Re: Weird printing problem - more info









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Weird printing problem - more info
John Fried

2005-12-23, 11:23 am

More information... I tried encapsulating the offending lines in a
try...catch as shown below.

function form_onOpen
private r
try
cRepName = this.viewer.ref.className
r = new &cRepName.()
r.outPut := 1 // printer
r.printer.printerName := "pdfFactory"
r.printer.printerSource := 2
r.render()
r.release()
form.close()
catch (exception e)
msgbox('Hi')
endtry

On the 5 computers that crash, they still crash but they don't display the
msgbox! It still works fine on the other 9 computers. This doesn't sound
like a coding problem to me. Any ideas?????

John
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com