Search found 151 matches

by plantenkennis
Fri Oct 12, 2018 3:25 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: printing several pages
Replies: 23
Views: 8354

Re: printing several pages

Hello Manuel, I have addepted the code a little bit to make it work correct. First we used nCol and nRow in pixels, but with the new lib it works with lines? Here is the addapted code. I also removed some unused variables. Can you use the same approach for a line or rectangle. The only problem I see...
by plantenkennis
Thu Oct 11, 2018 5:56 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: printing several pages
Replies: 23
Views: 8354

Re: printing several pages

Hello Manuel and Antoni, I have tested the new class TPrinter and method Say. There are a few things that are not working like it should be: When I use oPrn:Say( nRow, nCol, 'This is a very long line to see if it all prints') the text is not printed as far as 'This is a very'. So we should be able t...
by plantenkennis
Tue Oct 09, 2018 6:10 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: printing several pages
Replies: 23
Views: 8354

Re: printing several pages

Hello Antonio and Manuel,

Thank you for all your effort sofar. I will test this in the next few days.
by plantenkennis
Sat Oct 06, 2018 2:34 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: printing several pages
Replies: 23
Views: 8354

Re: printing several pages

Hello Manuel and Antonio,

Thank you very much for all this work. I think with some addaptions this will work great. For now I miss the following:
  • setting fontname -size and -color of the say
    printing images
If this is build in I can work with the new Class TPrinter.
by plantenkennis
Wed Oct 03, 2018 6:20 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: printing several pages
Replies: 23
Views: 8354

Re: printing several pages

Hello Antonio, According to the sample 'testprint' we have to set pageHeight() to the height of the desired pages. As long as we set this to the height of one page there will never be a next page. Is it not possible to build in some functions like StartPage() and EndPage() that starts and ends a pag...
by plantenkennis
Tue Oct 02, 2018 4:49 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: printing several pages
Replies: 23
Views: 8354

Re: printing several pages

Hello Antonio,

Did you have any time to look at my printing sample and how to get everything on the same position every page?
by plantenkennis
Tue Oct 02, 2018 4:47 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Lines and rectangles
Replies: 8
Views: 2842

Re: Lines and rectangles

Hello Mauel,

Thank you, this works perfectly for me. This programming tool is getting better every time. I love it.
by plantenkennis
Fri Sep 28, 2018 4:42 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Lines and rectangles
Replies: 8
Views: 2842

Re: Lines and rectangles

Hello Antonio,

The commands works perfect with GROUP command, but I don't see any changes WITH the LINE?
However, I can use a Group with height 5, that gives a thick line.

The rounded corners are not imporant for me, so if that gives problems at other places, we should not use it.
by plantenkennis
Tue Sep 25, 2018 9:35 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Lines and rectangles
Replies: 8
Views: 2842

Lines and rectangles

Hello
I can draw a line in a window or on paper using the next code:
@ nRow, nCol LINE HORIZONTAL SIZE oPrn:pageWidth() OF oPrn
But can I set the thickness of the line?

And is there also a code to draw a rectangle, in variations., like rounded corners, different lines (dotted, striped, full..)
by plantenkennis
Tue Sep 25, 2018 8:11 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Checkbox enable/disable
Replies: 0
Views: 1424

Checkbox enable/disable

Hello, Can we Enable and Disable a Checkbox. And can we programmaticaly change the checked state of a checkbox. What I want is the following: I have 2 Checkboxes, Check_1 and Check_2. if I uncheck Check_1 I want Check_2 to be unchecked also and set disabled. i tried using ON CHANGE, but could not di...
by plantenkennis
Sun Sep 23, 2018 11:33 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: printing several pages
Replies: 23
Views: 8354

Re: printing several pages

Hello Antonio, The number of elements that I want to print on a page very every page. But some elements always comes back on all the pages. I have made a little sample that shows the problem. If you click 'print' and browse through the pages in the preview you can see that all the lines shifts a bit...
by plantenkennis
Sat Sep 22, 2018 10:13 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: printing several pages
Replies: 23
Views: 8354

Re: printing several pages

Hello Antonio, With several printers I get the same output: 841 . According to my calculation that should be right, because I think 10 mm = 28,33 px. So an A4 paper of 210*297 mm gives (21*28,33) 595 px width and (29,7*28,33) 841 height. But if I use these numbers to set a new page, it doesn't fit...
by plantenkennis
Fri Sep 21, 2018 1:50 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: printing several pages
Replies: 23
Views: 8354

Re: printing several pages

Hello Antonio,

I am sorry, but I don't understand this code.
(I speak English, but not French :wink: )

I hope you can make me an exaple on how to use this.
by plantenkennis
Fri Sep 21, 2018 9:09 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: printing several pages
Replies: 23
Views: 8354

printing several pages

Hello Antonio, I have a printroutine that prints several pages with plantinformation. On every page I want to have the information on the same place. The number of pages is depending on the length of an array. I had a working function, but now I have a new printer and everything shifts to other posi...
by plantenkennis
Fri Sep 21, 2018 6:02 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: reading available fonts on system
Replies: 13
Views: 3225

Re: reading available fonts on system

Hello Antonio,

Sorry for the late response, I had a small vacation (needed it)

Thank you very much, this is just what I was looking for.