On Aug 27, 2006, at 8:04 PM, CV wrote:
Are you having good luck in printing the vector graphics graphs
directly from your Rb application, or are you relying on printing
from Canvas?
Actually, I don't often print from RB. I prefer printing from Canvas.
But the following works (I've edited the code; hope it still makes
sense):
----
p is a picture that contains vectors only
-----
dim page as graphics
dim print as boolean
print = true
if settings=nil then
print=dopageSetup
end if
if not print then return
page=OpenPrinterDialog(settings)
if page<>nil then
page.drawpicture p,100,100
'page.nextPage
end if
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>