Page 1 of 1

How make an graphical interface

Posted: 30 Jul 2021, 03:06
by songdg
I want to make an graphical interface with some fixed texts , and can be print on an A4 size pater, is there some similar projects available.Image

Re: How make an graphical interface

Posted: 30 Jul 2021, 07:36
by mikeyww
To find similar projects, you can use the search feature in the top right-hand corner of the forum. Search for some keywords relating to your project. You could also similarly check the "Scripts and Functions" forum, and perhaps tutorials for creating a GUI. The AHK documentation also has many examples that you may be able to adapt.

Re: How make an graphical interface

Posted: 03 Aug 2021, 04:19
by songdg
mikeyww wrote:
30 Jul 2021, 07:36
To find similar projects, you can use the search feature in the top right-hand corner of the forum. Search for some keywords relating to your project. You could also similarly check the "Scripts and Functions" forum, and perhaps tutorials for creating a GUI. The AHK documentation also has many examples that you may be able to adapt.
Thanks, I have done some search, but so far no luck. :eh:

Re: How make an graphical interface

Posted: 03 Aug 2021, 06:49
by mikeyww
This is a challenging project. You would need to learn both GUI and PDF. Below are some pages to get you started.

https://www.autohotkey.com/docs/commands/Gui.htm#ExInputBox

https://www.autohotkey.com/boards/viewtopic.php?f=76&t=89081

Re: How make an graphical interface

Posted: 05 Aug 2021, 20:54
by songdg
mikeyww wrote:
03 Aug 2021, 06:49
This is a challenging project. You would need to learn both GUI and PDF. Below are some pages to get you started.

https://www.autohotkey.com/docs/commands/Gui.htm#ExInputBox

https://www.autohotkey.com/boards/viewtopic.php?f=76&t=89081
That would be a huge undertaking for me, I don't think I could ever finish it, but thanks anyway. :thumbup:

Re: How make an graphical interface  Topic is solved

Posted: 05 Aug 2021, 21:21
by Hellbent
I don't know anything about printers anymore ( been at least a decade since the last time I used one )

That said, if your printer can print a .png ( *** while ignoring fully transparent pixels *** ) you could:

1. Use GDI+ to Create a bitmap (The size you want)
2. Use GDI+ to draw your Text onto the bitmap
3. Use GDI+ to save your bitmap as a .png
4. Send the .png to your printer

Re: How make an graphical interface

Posted: 12 Aug 2021, 01:24
by songdg
Hellbent wrote:
05 Aug 2021, 21:21
I don't know anything about printers anymore ( been at least a decade since the last time I used one )

That said, if your printer can print a .png ( *** while ignoring fully transparent pixels *** ) you could:

1. Use GDI+ to Create a bitmap (The size you want)
2. Use GDI+ to draw your Text onto the bitmap
3. Use GDI+ to save your bitmap as a .png
4. Send the .png to your printer
Much appreciated for your help! :bravo: