Article View: borland.public.cppbuilder.nativeapi
Article #10729Re: Printing problem
From: Joe C. Hecht
Date: Mon, 22 Mar 2004 14:18
Date: Mon, 22 Mar 2004 14:18
67 lines
3242 bytes
3242 bytes
Are you printing any bitmap images? If so, take a look on our TExcellentImagePrinter webpage, where you may find some info about pages that fail to print correctly. http://www.code4sale.com/joehecht/index.htm Joe -- Delphi, graphics, and printing specialist available - $35/hr http://www.code4sale.com/codeit/index.htm "Karsten Becker" <Kars@home.nl> wrote in message news:405852c3$1@newsgroups.borland.com... > Hi all > > I have written a MDI program in BCB5 which presents weathermaps (mdi > childs). I wrote another program, a scedular which does the following: > > - starts the first program > - opens the 1. weathermap > - print them > - closes the 1. weathermap > - opens the 2. weathermap > - print them > - closes the 2. weathermap > ... > ... > ... > - opens the x. weathermap > - print them > - closes the x. weathermap > - close the first program > > For the weathermaps i created my own (weather)font (it's an true type font) > which isn't placed in the windows/fonts directly but in the root directory > of the first program. These fonts will be loaded at startup and released > when closing the first application. > > Now, when printing all seems to be ok in the first place. The first 3 or 4 > weathermaps are printed ok, but suddenly the weather(font) can't be printed > any more. Somehow i get a different font (systemfont?). The fontsize is the > same as the weather(font). > > Can someone tell me what could cause this? > > There are a couple of things i have checked so far: > - Size of the printing (approx 3,5MB). The printer has 64MB... so this > shouldn't be a problem... > - Checked the printout on different printers HP, Konica..... all the same > problem. > - I have no memeory leak (at least i've checked it with Codeguard....) > - i put a wait statement between the different weathermaps of 30 seconds but > that doesn't help either.... > > When i'm opening the weathermaps by hand and print them i've got no > problems.... > > BTW, im using TPrinter *Prntr = Printer(); Prntr->BeginDoc .... > Prntr->EndDoc to do the printjob and i've got that problem on WinXP. > > Any ideas/ suggestions? > > Karsten > > >
Technical Details
Message-ID:
<405ef598@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!transit.news.xs4all.nl!newsgate.cistron.nl!news.cambrium.nl!news.cambrium.nl!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<405852c3$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,7e821de4d959485e X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-22 06:40:38 PST Reply-To: "Joe C. Hecht" <joehecht@code4sale.com> From: "Joe C. Hecht" <joehecht@code4sale.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <405852c3$1@newsgroups.borland.com> Subject: Re: Printing problem Date: Mon, 22 Mar 2004 08:18:05 -0600 Lines: 69 Organization: Joe Hecht Associates X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 68.1.76.85 Message-ID: <405ef598@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1079965080 68.1.76.85 (22 Mar 2004 06:18:00 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!transit.news.xs4all.nl!newsgate.cistron.nl!news.cambrium.nl!news.cambrium.nl!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail