Many, many thanks. I all makes sense now.
Best regards,
Roel
Op 03-02-16 om 16:59 schreef Rolf-Werner Eilert:
> What I meant is the Return command. Sorry, somewhat unfocused...
>
> Somewhere you start, e. g. in a Sub Start (). There you collect your
> data and stuff and build the printer object
Am Mittwoch, den 03.02.2016, 12:03 +0100 schrieb Roel Touwen:
> Hi all,
>
> I'm converting software from Gambas 2 to 3. Printing seems to be very
> very different in Gambas 3.
>
> Has anyone a sample of printing more pages? So also clearing the page etc.
>
> Thanks for now.
>
> Best regards,
>
What I meant is the Return command. Sorry, somewhat unfocused...
Somewhere you start, e. g. in a Sub Start (). There you collect your
data and stuff and build the printer object, e. g. myPrinter.
Then you say myPrinter.Print which will jump to Sub myPrinter_Begin().
Now you have everything runn
Basically, I think that is easy here: Just send a Return when the "last"
row has been reached, and it will leave the printing and start a new page.
Still, you have to define the number of page to be printed in order to
be able to start printing.
That makes it somewhat... errr ;)
Rolf
Am 0
Hi Rolf,
Sounds easy, but (maybe a stupid question) but where do I send the return?
Grtz
Roel
op 03-02-16 16:19, Rolf-Werner Eilert schreef:
> Basically, I think that is easy here: Just send a Return when the "last"
> row has been reached, and it will leave the printing and start a new page.
Hi Rolf,
In my software I print invoice, lists, whatever. When I print
invoices I print the lines with a function which calculates where it has
to print on the page:
Public Sub PrintAt(Row As Float, Col As Integer, Txt As String)
txtWidth = Draw.Font.TextWidth(txt)
txtHeight = Draw.
Hi Roel,
The way printing is managed in Gambas3 is completely different in one
way: You have to tell the number of pages beforehand, then printing runs
automatically page for page. There is one help page that gives a rough
overview.
Why do you want to clear a page? Your code will have to chec
Hi all,
I'm converting software from Gambas 2 to 3. Printing seems to be very
very different in Gambas 3.
Has anyone a sample of printing more pages? So also clearing the page etc.
Thanks for now.
Best regards,
Roel
---