[DUG] Report Builder/Printer driver oddity

Todd Martin todd.martin.nz at gmail.com
Thu Mar 28 15:29:30 NZDT 2013


Hi John

Is the image coming from a BLOB field in the database? If not, where is
it being generated?

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?

Todd.

> Came across an odd one – any ideas anyone?
>  
> Delphi 5 Report using Builder 6 printing courier ticket labels to a
> label printer (Zebra Z4M Plus).
>  
> 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.
>  
> -* BUT *-
>  
> one oddity remains:
>  
> 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
>  
> “Accessing data” and hangs
>  
> “Printing page xx”   where the the number keeps increasing forever
> (and doesn’t print)
>  
> Anyone have an idea what in Report Builder could be the issue?
>  
> 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.
>  
> John Bird
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at listserver.123.net.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with Subject: unsubscribe


-- 
/Fortune/ favours the *brave*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20130328/ff661ee4/attachment.html 


More information about the Delphi mailing list