Board index » delphi » Print dialog causes gpf's

Print dialog causes gpf's

I have an application installed at over 1000 sites.  A few sites are having
printing problems.  These same sites have no problems printing from
applications like Word or notepad.

When they hit the button that launches the printdialog, this occurs:

LDW32 caused a segment not present fault
in module KRNL386.EXE at 0001:00001a2a.
Registers:
EAX=00000001 CS=0117 EIP=00001a2a EFLGS=00000246
EBX=00000535 SS=25af ESP=00007840 EBP=00007844
ECX=00000000 DS=2b7f ESI=00000010 FS=0000
EDX=80402a8f ES=2b0f EDI=0000ffff GS=0000
Bytes at CS:EIP:
8e 46 06 8b 4e 04 81 e1 ff 7f e3 2e 49 26 8b 36
Stack dump:
0010ffff 0eea7868 05350001 000a012f 00f30000 00000000 00002b7e 00bf0000
2a8f39fd 05352a8e 13187896 000102d3 2b0f007c 00000001 2b0f2b7f 2b0f000a

After that point, they cannot print from any application.  Re-installing the
printer has been of no help (besides the fact that other apps print fine).

My program is compiled with Delphi 4, sp3.

Anyone seen this?  Any help or suggestions?

Thank you.

 

Re:Print dialog causes gpf's


Chris - no help but I have a current similar problem (delphi 1 and win95/98
- yes yes I know <g> )(see my posting on Aug 12 in objectpascal no replies
yet) where if someone goes to printdialog then into printersetup, clicks ok,
back in printdialog click cancel then it is subsequently impossible to get
printdialog to show. And if you have code setting printer properties then
lots of {*word*193} gpfs. Something weird is happening to TPrinter instance I
think but don't know what.

John Olliver
Surrey UK

Re:Print dialog causes gpf's


Hi Chris,

I don't remember the details but accessing TPrinter when no default
printer has been selected did cause GPF's at some of our customer sites.
Other than new OS installs, I don't know how you'd end up without a
default printer but I have seen it a couple of times.

Mitch Wolberg,
RockWare, inc.

Quote
Chris Edmonson wrote:

> I have an application installed at over 1000 sites.  A few sites are having
> printing problems.  These same sites have no problems printing from
> applications like Word or notepad.

> When they hit the button that launches the printdialog, this occurs:

> LDW32 caused a segment not present fault
> in module KRNL386.EXE at 0001:00001a2a.
> Registers:
> EAX=00000001 CS=0117 EIP=00001a2a EFLGS=00000246
> EBX=00000535 SS=25af ESP=00007840 EBP=00007844
> ECX=00000000 DS=2b7f ESI=00000010 FS=0000
> EDX=80402a8f ES=2b0f EDI=0000ffff GS=0000
> Bytes at CS:EIP:
> 8e 46 06 8b 4e 04 81 e1 ff 7f e3 2e 49 26 8b 36
> Stack dump:
> 0010ffff 0eea7868 05350001 000a012f 00f30000 00000000 00002b7e 00bf0000
> 2a8f39fd 05352a8e 13187896 000102d3 2b0f007c 00000001 2b0f2b7f 2b0f000a

> After that point, they cannot print from any application.  Re-installing the
> printer has been of no help (besides the fact that other apps print fine).

> My program is compiled with Delphi 4, sp3.

> Anyone seen this?  Any help or suggestions?

> Thank you.

Other Threads