469,602 Members | 1,727 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,602 developers. It's quick & easy.

C# Visual Studio visualForm .PNG printer


I have made a little visual program that i filled up exactly how i wanted visually in Visual Studio.

Here is what i want from my program:

I'm looking for the program to be used to create .png files that i will print for my IT shop which I will stick on monitors and show their specifications. I have made a template on which i want the program to print out text which i have put into ComboBoxes. So, basically, once you open a program, you have all the specifications on the left side and on the right the options for all of them, example:

Monitor size: *ComboBox offers 21", 22", 23", 24"

Resolution: *ComboBox offers 1920x1080, 2560x1440, 3840x2160

Display type: *ComboBox offers TFT, IPS, VA

HDMI ports: *ComboBox offers 1, 2, 3, 4, 5

DP ports: *ComboBox offers 1, 2, 3, 4, 5

Technology supported:

*CheckBox offers AMD Free-sync

*CheckBox offers NVIDIA G-Sync

7. Color: *ComboBox offers: White, Black, Red, Blue

8. Warranty: *ComboBox offers: 1y ,2y ,3y ,4y , 5y


Now, i am kinda stuck now on how i can code this as so the program will open the .png i offer to him( empty template i made) and print out all the options you select from the top on that .png file with the font and size i pre-define( one font, i won't change it later) and then create that .png file on the desktop for me to just CTRL+P and print it out and stick it onto monitors.

Also, if this is possible, i would like to add another option to print out and that is logos of monitors that i also add as a selection menu that will be printed at the bottom of the .png just like other ones.

Sorry for this kind of a request, but it would really help me in my business as if it will automate a lot of work and also my colleagues can use it without any questions. Pretty straight-forward once you look at it.

Thank you so much for reading, please help! 😀
Oct 24 '21 #1
1 8029
224 Expert 128KB

What is your expectation from this answer? Do you want high level guidance or someone to write the program for you?

Have you written any code so far?

If not already, you may want to look at System.Drawing.Graphics and System.Drawing.Bitmap.

What label printer are you using and are you familiar with its API?

4 Weeks Ago #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Chen Yaohan | last post: by
reply views Thread by marathoner | last post: by
2 posts views Thread by =?Utf-8?B?SlA=?= | last post: by
reply views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.