Printing in VB.Net/C# Forms - Designer Layout?

I support the vb.net forms application, which prints various labels for printing labels. (Label printers are just like any printer, only a smaller print area / lower resolution)

The system uses an outdated printing method, which is supported in the printer hardware, but has not been used for more than ten years. I am adding logic to print from the PrintDocument class. I like the flexibility of the class, but the layout is a bit tedious. (Determining the sizes / locations of each DrawString command, etc.)

Are there open source software products or UI developers to create a mock-up of a printed document? The constructor output should be something that I can integrate into my code (the dll is fine, just not a separate executable) and cannot have a license for each user. (Lots of users on my system)

+3
source share
3 answers

Since I need it quite simply, I went ahead and rolled my own simple desinger. Found in a great little class that makes controls movable / resizable that save a ton of time. Thanks to everyone for the ideas.

+1
source

Visual Print Design .NET.

, PDF, , PDF, , .

+2

When I was looking for a similar need, I came across some solutions that were sold as business cards , which looked as if it would fit the bill.

+1
source

Source: https://habr.com/ru/post/1698580/


All Articles