Send report to printer in Realbasic???
Richard Albrecht
Rich at RAlbrecht.net
Mon Mar 11 18:35:15 CDT 2013
Wow I really got a thread going. I have mbs but have no clue how to use it to print a pdf. Could someone come up with an example.
I don't totally understand this:
>>>> I see in the doc that we can do
>>>> myPagePicture = myVReport.PreviewPage(inPageIndex)
>>>>
>>>> Since REALbasic provide a graphic instance to print, it's seems that the way
>>>> to go is :
>>>> Dim g As Graphics
>>>> g = OpenPrinter()
>>>> g.DrawPicture myPagePicture, 0, 0
>>>
Ruslan can you play with this and get back to us?
Thanks everyone! I can see I have a lot to learn. Hope I can pick up some good info at the RB Conference!
Rich
On Mar 11, 2013, at 2:55 PM, Ruslan Zasukhin <ruslan_zasukhin at valentina-db.com> wrote:
> On 3/11/13 3:45 PM, "François Van Lerberghe" <frvanlerberghe at gmail.com>
> wrote:
>
>> le 11/03/13 13:19, Ruslan Zasukhin <ruslan_zasukhin at valentina-db.com> a
>> écrit :
>>
>>> On 3/11/13 11:30 AM, "François Van Lerberghe" <frvanlerberghe at gmail.com>
>>> wrote:
>>>
>>>> Ok. I understand your point of view.
>>>>
>>>> I see in the doc that we can do
>>>> myPagePicture = myVReport.PreviewPage(inPageIndex)
>>>>
>>>> Since REALbasic provide a graphic instance to print, it's seems that the way
>>>> to go is :
>>>> Dim g As Graphics
>>>> g = OpenPrinter()
>>>> g.DrawPicture myPagePicture, 0, 0
>>>
>>> Well, preview is 72 dpi I think.
>>
>> Playing with Vreport.previewZoom should solve the issue. No ?
>
> Yes it should
>
>
> --
> Best regards,
>
> Ruslan Zasukhin
> VP Engineering and New Technology
> Paradigma Software, Inc
>
> Valentina - Joining Worlds of Information
> http://www.paradigmasoft.com
>
> [I feel the need: the need for speed]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
More information about the Valentina
mailing list