<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><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;}
@font-face
        {font-family:Verdana;
        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;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-NZ link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi John<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I have seen this behaviour before in Report Builder. As best as I recall the problem has been mine with an error I made affecting RB. I do not recall the details …!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Try looking in your RB report [Calc] tab. Any errors signalled there?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If you ask for a report [Preview] does the page count run on? Might there be some error in the SQL for data?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Russell<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> delphi-bounces@listserver.123.net.nz [mailto:delphi-bounces@listserver.123.net.nz] <b>On Behalf Of </b>John Bird<br><b>Sent:</b> Thursday, 28 March 2013 10:15 a.m.<br><b>To:</b> NZ Borland Developers Group - Delphi List<br><b>Subject:</b> [DUG] Report Builder/Printer driver oddity<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'>Came across an odd one – any ideas anyone?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'>Delphi 5 Report using Builder 6 printing courier ticket labels to a label printer (Zebra Z4M Plus).<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'>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.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'>-* BUT *-<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'>one oddity remains:<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'>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<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'>“Accessing data” and hangs<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'>“Printing page xx” where the the number keeps increasing forever (and doesn’t print)<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'>Anyone have an idea what in Report Builder could be the issue?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'>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.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:navy'>John Bird<o:p></o:p></span></p></div></div></div></div></body></html>