Hi
I don't know if I am in the right section but :
I would like to know...
1. How do I print a textbox text on printer
2. How do I get text in a file by reading it and then print that text
3. How do I for example draw a square by code and print that square
Thank you :)
Edited by: Pierre Zarzour on Dec 29, 2014 7:36 AM
Edited by: Pierre Zarzour on Dec 29, 2014 7:36 AM
Edited by: Pierre Zarzour on Dec 29, 2014 7:36 AM
Also,
wrote in message news:707277@forums.embarcadero.com...
> Hi
>
> Just before I break my head to learn that... lol
>
> Will this code works on c++ builder or there is some differences...
>
> Because I want to buy c++ builder and I would like to know how to do this
> with the codes working :)
Don't know what you plan on doing, but if it has to do with mobile device
applications. then that example may be totally useless, as the mobile
applications use a different framework.
I have not worked with the mobile application framework at all, so cannot
comment on whether there's any reasonable applicability of the referenced
example or not, but have my suspicions it is probably quite different.
wrote in message news:707277@forums.embarcadero.com...
> Hi
>
> Just before I break my head to learn that... lol
>
> Will this code works on c++ builder or there is some differences...
No, it won't work directly.
c++ builder uses c++ as its language.
Delphi is object-pascal based.
The CONCEPTS of printing in VCL, available to both C++ and Delphi users,
should be the same in both.
The actual language syntax is significantly different.
Hi
Just before I break my head to learn that... lol
Will this code works on c++ builder or there is some differences...
Because I want to buy c++ builder and I would like to know how to do this with the codes working :)
> {quote:title=david hoke wrote:}{quote}
> wrote in message news:707213@forums.embarcadero.com...
> > Hi
> >
> > I don't know if I am in the right section but :
> >
> > I would like to know...
> >
> > 1. How do I print a textbox text on printer
> > 2. How do I get text in a file by reading it and then print that text
> > 3. How do I for example draw a square by code and print that square
> >
>
> The general idea, is that you force the various controls to draw to a
> printer canvas, instead of a screen canvas.
>
> Perhaps this link will provide help, sorry its not builder directly but
> delphi:
> http://www.efg2.com/Lab/OtherProjects/PrinterDemo2.htm
>
> Search the page for PrinterDemo2.ZIP link to archive containing the delphi
> project and source to review locally.
Thanks... I am looking at it !
wrote in message news:707213@forums.embarcadero.com...
> Hi
>
> I don't know if I am in the right section but :
>
> I would like to know...
>
> 1. How do I print a textbox text on printer
> 2. How do I get text in a file by reading it and then print that text
> 3. How do I for example draw a square by code and print that square
>
The general idea, is that you force the various controls to draw to a
printer canvas, instead of a screen canvas.
Perhaps this link will provide help, sorry its not builder directly but
delphi:
http://www.efg2.com/Lab/OtherProjects/PrinterDemo2.htm
Search the page for PrinterDemo2.ZIP link to archive containing the delphi
project and source to review locally.