Luis
Thanks for information and from precious attached picture. My problem is solved, and labels perfect now.
I must use loFbc.BarcodeImage(B_ENCOMENDAS.CEP) direcly on the label without needing of general or blob fields the way I was doing.
Congratulations for the project.
Moises
>>Hi
>>
>>I am just trying to append the picture to a cursor field, to send information to a label report.
>>
>>Tried as blob field (OK), but label seems does not accept it.
>>
>>Now I am trying a general field as below, but not successful.
>>
>>What kind of information is inside lcImage ?
>>
>>I tried the variable directly and also transformed to files as below:
>>
>>
>> lcImage = loFbc.BarcodeImage(B_ENCOMENDAS.CEP)
>>
>> STRTOFILE (lcImage,"lcImage.bmp")
>>
>>
>> APPEND GENERAL B_ENCOMENDAS.FOTO FROM lcImage.bmp
>>*********** only 1k data is appended.
>>
>>
>>Any help will be welcome.
>>
>>p.s I found no prog samples there where Luis said, only the ready label
>
>Moises, the Codeplex project name is
FoxBarcode ;-)
>
> No need to store the image in a Blob field for print in a VFP report.
>
> 1. Run the program Main.prg
> 2. In Demo form, select the page "Samples" or click the button below "Samples Reports, Labels and Forms"
> 3. Double click on the items in the list "Reports and Labels"
> - Barcode List
> - Employer Identification Card
> - Product Inventory
> - Product Label
>
> All these reports you can see in the
\Reports folder
>
>See the attachment image
http://www.levelextreme.com/Thread%20photos/2011/01499682.jpg>
>The following article explains how to invoke the method that generates images from a report:
>
>
http://weblogs.foxite.com/luismaria/archive/2010/11/06/13426.aspx>
>
http://weblogs.foxite.com/vfpimaging/archive/2010/11/11/13471.aspx