<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi John<br>
<br>
Is the image coming from a BLOB field in the database? If not, where
is it being generated?<br>
<br>
Report Builder spawns a worker thread for printing. I have seen this
hanging behaviour, when an exception is raised in your own code
(maybe in the driver). Possibly in the main thread. Have you tried
stepping through with the debugger?<br>
<br>
Todd.<br>
<br>
<blockquote cite="mid:5E493A71605949E79BCB0317DB4A1E9E@JohnSony2"
type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
..MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
<div dir="ltr">
<div style="font-family: 'Verdana'; color: rgb(0, 0, 128);
font-size: 12pt;">
<div>Came across an odd one – any ideas anyone?</div>
<div> </div>
<div>Delphi 5 Report using Builder 6 printing courier ticket
labels to a label printer (Zebra Z4M Plus).</div>
<div> </div>
<div>Added a 2d barcode, all worked fine except could not get
the left margin OK. Investigated if it could be a driver
bug, so got a later driver which came with a calibrate
function that solved the page margin layout problems.</div>
<div> </div>
<div>-* BUT *-</div>
<div> </div>
<div>one oddity remains:</div>
<div> </div>
<div>To print the label one has to go into the printer options
and click OK. If one does not (and just clicks the Print
button), the Report Builder print dialog comes up with
either one of</div>
<div> </div>
<div>“Accessing data” and hangs</div>
<div> </div>
<div>“Printing page xx” where the the number keeps
increasing forever (and doesn’t print)</div>
<div> </div>
<div>Anyone have an idea what in Report Builder could be the
issue?</div>
<div> </div>
<div>Have tried everything could think of, such as setting
1-pass or 2-pass printing (options in Report Builder).
Data is coming from standard TClientDataSet via Report
Builder data pipeline as normal. The only thing added was
an image which has the 2d barcode encoded into it.</div>
<div> </div>
<div style="font-family: 'Verdana'; color: rgb(0, 0, 128);
font-size: 12pt;">John Bird<br>
</div>
</div>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</a>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<i>Fortune</i> favours the <b>brave</b></div>
</body>
</html>