C# Visual Studio visualForm .PNG printer

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dDule
    New Member
    • Oct 2021
    • 1

    C# Visual Studio visualForm .PNG printer

    Hi!

    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



    START - EXIT



    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! 😀
  • GazMathias
    Recognized Expert New Member
    • Oct 2008
    • 228

    #2
    Hi.

    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?

    Gaz

    Comment

    Working...