Re: Locking upon printer.BeginDoc
- From: "pr" <pr@xxxxxxxxx>
- Date: Fri, 15 Jul 2005 05:17:29 +0200
"Jud McCranie" <youknowwhat.mccranie@xxxxxxxxxxxx> wrote in message
news:qs5ed1hhou809see9cnv1bc5qgragn6eae@xxxxxxxxxx
> On Thu, 14 Jul 2005 20:33:38 -0400, Jud McCranie
> <youknowwhat.mccranie@xxxxxxxxxxxx> wrote:
>
>>Why would the following work in a little test program but lock up on
>>BeginDoc in an actual program?
>
> And doing a PrintDialog first doesn't help.
>
> At the moment, I'm stuck! I'm converting a DOS program to Windows and
> I'm near the end. I just finished with about 36 reports, and I was
> checking them on the screen. When I put in the code to print them, it
> locks up. I'm using Delphi 6 pro, update 2, Windows XP home.
>
> The project has 20 forms and 31 units. I'm at a loss as to even how
> to track down the problem other than trying to strip out units until
> perhaps it works.
>
Why not use a reportwriter instead of doing everything yourself?
It may be necessary to move the StringList into a (memory) table
such as kbmMemtable and then print from there. If this can be
done then even freereport should be able to deal with it.
Both, kbmmemtable and freereport, are free or very low cost
shareware components.
PR
.
- Follow-Ups:
- Re: Locking upon printer.BeginDoc
- From: Jud McCranie
- Re: Locking upon printer.BeginDoc
- References:
- Locking upon printer.BeginDoc
- From: Jud McCranie
- Re: Locking upon printer.BeginDoc
- From: Jud McCranie
- Locking upon printer.BeginDoc
- Prev by Date: Re: Locking upon printer.BeginDoc
- Next by Date: Re: Locking upon printer.BeginDoc
- Previous by thread: Re: Locking upon printer.BeginDoc
- Next by thread: Re: Locking upon printer.BeginDoc
- Index(es):
Relevant Pages
|