You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

  • "MystikShadows" started this thread

Posts: 3

Date of registration: Jan 3rd 2010

  • Send private message

1

Monday, February 14th 2011, 11:22pm

jabaco and printers.

I am just wondering how to do about, for example, taking the contents of a text box, and sending it to a printer for a printed output? That or perhaps the contents of a file as well.

I'm not sure how to go about doing this. I can't see the equivalent VB Printer object so far. I haven't searched the whole runtime yet however. But if someone made this once already, or know how to do it rather simply, please point me in the right direction. :)

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Tuesday, February 15th 2011, 8:36am

Due to platform dependencies, printing is not really easy in Jabaco (, and in Java in general).
Please use the search facility of this forum and look for "printing".

Success!

A1880

Perry

Beginner

  • "Perry" is male

Posts: 40

Date of registration: Jan 15th 2011

Location: Sarasota, FL

Occupation: Cabinet Design

Hobbies: Programming

  • Send private message

3

Tuesday, July 9th 2013, 5:53pm

Printing

The Simplest way I found to print out in Jabaco.
Format all your output into a rich text control
ie.:
Richtext1.Text = "This is an Example"

or:
Richtext1.Text = A$ & vbcrlf

Then use:

Richtext1.Parent.Print ()

That is all. You will even be given a printer dialog.

Rate this thread
WoltLab Burning Board