Printing in Dolphin 6

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Printing in Dolphin 6

Griff-2
Hi,

Where is the documentation, what is the API, for printing to a printer,
in Dolphin 6?

I do see a lot of posts about printing, about a number of different
topics; but I really just want to know how to or where to get started
learning about how to print.

Thanks.


acg
Reply | Threaded
Open this post in threaded view
|

Re: Printing in Dolphin 6

acg
Griff wrote:
> Hi,
>
> Where is the documentation, what is the API, for printing to a printer,
> in Dolphin 6?
Hi Griff.
 I'm no expert at printing in Dolphin. But try <evaluating> the lines
that follow
in a workspace.
=================
Transcript show: 'hello'.

cr := String lineDelimiter.
t := 'Hi',cr,cr, Transcript contents.
f := Font choose.
p := PrinterCanvas choose.
p startDoc.
p startPage.
p lineTo: 4800 @ 6400.
p font: f.
p formatText: t in: (50 @ 100  extent: 1200 @ 1200).
p basicFree.
======================
First line write to the system transcript.
other lines print stuff out and adds the text of the transcript,
let user choose the font and printer, then print it out.
Hope that helps.
ACG


Reply | Threaded
Open this post in threaded view
|

Re: Printing in Dolphin 6

Griff-2
Hi,

Thanks. I don't see PrinterCanvas class>>choose in my image, though.
I'm using the community edition.


acg
Reply | Threaded
Open this post in threaded view
|

Re: Printing in Dolphin 6

acg
Griff wrote:
> Hi,
>
> Thanks. I don't see PrinterCanvas class>>choose in my image, though.
> I'm using the community edition.

I have Dolphin 5, and 6. I actually did the code in ver 5, but it
worked the same in ver 6. I recall early releases of ver 6 left out the
printer stuff (search this site) but beyond 6.02, I recall reading that
it was included in later release. Try finding and loading the
'package' which support printing, and then try the code.

ACG