Page 1 of 1

EXpress Print Preview Error

Posted: Mon Aug 08, 2011 3:33 am
by unixkd
Hi everybody

My clients reported error after previewing a report and then press the "Print" command of the express printpreview.

The error is hereby attached.

Joseph
payroll err.jpg
payroll err.jpg (164.61 KiB) Viewed 8163 times

Re: EXpress Print Preview Error

Posted: Mon Aug 08, 2011 1:36 pm
by rdonnay
Is this more than 1 client who is having this problem?

It appears that the problem is because the computer running the program may not have any printers installed.

Re: EXpress Print Preview Error

Posted: Tue Aug 09, 2011 7:35 am
by unixkd
HI Roger

It equally gives the same problem on my laptop where I have about six printers installed.

I tried checking the _dcprn.prg program and discover that the oPrinter:status() returns 2 for all installed printers and oPrinter:Printerstatus() returns (-5). in the :DC_PrinterOff() method.

For preview to work well must oprinter:status() return 1 ?

I equally check printers status from windows control panel, they all indicated "ready"

J.O. Owoyemi

Re: EXpress Print Preview Error

Posted: Tue Aug 16, 2011 11:55 am
by rdonnay
Can you reproduce this problem in a sample program?