I have tried that, the problem is that the Reportlistener does not seem to work with barcode fonts.
Other fonts get printed, but barcode fonts (I am using 128 Code C) just disappear when using a Reportlistener.
For this reason I usually just use the REPORT FORM MyReport PREVIEW NOCONSOLE command for reports that have barcodes on them.
Perhaps I am doing something wrong, but as soon as I change the font to Arial, the text gets printed, with or without rotating.
Changing the font to a barcode font, the text gets blank, using Reportlistener object:
lo = NEWOBJECT("Reportlistener")
lo.ListenerType=1
REPORT FORM BarcodeTest OBJECT lo
REPORT FORM BarcodeTest PREVIEW NOCONSOLE
Any suggestions?
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfoxgen9/html/VFP9Reports2.asp>
>There's a portion of this article that talks about rotating with a reportlistener.
>
>
>
>
>>Hello,
>>
>>I have a report with a barcode on it, and the client wishes to have the barcode printed vertically on the report.
>>
>>Is there a way to do that?
Christian Isberner
Software Consultant