Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print image from a blob field
Message
From
05/12/2012 16:19:34
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00962468
Message ID:
01558853
Views:
80
>>>>Do you have anything to say on the topic of the printing blob fields?
>>>>
>>>>We're storing data in SQL Server and I retrieve them as blob fields. Now I want to print a report with these fields. I did create a workaround (since I only needed to print 1 row), but I am wondering if SET REPORTBEHAVIOR 90 is the requirement for the above code to work correctly?
>>>>
>>>>The code works fine in Preview, but doesn't print when I use CutePDF as a printer. I am using ReportBehavior 80.
>>>Naomi,
>>>It is just that I have had very very bad experience with BLOB fields and I was just wondering why you use them.
>>>
>>>The above code by Lisa only works with reportlistener.vcx and therefore with Reportbehavior 90.
>>>Set RB to 90, if it works fine in preview print it with a normal printer first. If that's ok and it does not print with CutePDF, you know whom to blame.
>>>Good luck
>>>Regards,
>>>Koen
>>
>>I was hoping someone else tried that code and can tell me if it works with RB80 or with RB90 it works for any printer. I already implemented a workaround, but I'll try a quick test myself now with RB90 and CutePDF.
>>
>>UPDATE. I tested with RB 90 and it worked with CutePDF.
>
>Hmm, curious what workaround did I implement?

It's funny what happens when you write down a question of technical nature. Either writing the question makes you realize what the solution is, or the problem solves itself.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform