Page 1 of 1

Saving barcodes

PostPosted: Tue Jun 29, 2010 6:31 am
by wigotek@vol.at
Hi
I'm evaluating the Barcode ActiveX DEMO-Version within Delphi 7.

Works fine so far, I can save an image to '.bmp' or '.jpg'.
BUT I can neither view nor print the generated files!

Is this mandatory to the demo-version or could it be another problem?

thanks a lot
Willie

Re: Saving barcodes

PostPosted: Tue Jun 29, 2010 9:02 am
by glitch
Raster images formats are provided for image exchange purpose. If you want to print barcodes from your application, extract the Picture property (which is an OLEPicture object that contains an EMF handle). Retrieve this EMF handle and plays on the printer DC.

http://mdn.morovia.com/manuals/bax3/Pro ... icture.php

You can find the printing code in VB6 and C++ samples.