473,505 Members | 14,686 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Print labels in c#????

Hi;
I would like to know if exists a C# class or any methods
to print labels in different sizes like the labels in
Microsoft Word???

Thanks...

Nov 16 '05 #1
5 8351
Thomaz,

There isn't anything in the framework itself that will handle this for
you. Basically, you will have to create a PrintDocument instance, and
handle all of the layout yourself.

There might be a third party component to do this as well.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"thomaz" <su***@nce.ufrj.br> wrote in message
news:07****************************@phx.gbl...
Hi;
I would like to know if exists a C# class or any methods
to print labels in different sizes like the labels in
Microsoft Word???

Thanks...

Nov 16 '05 #2
You could use the Crystal .NET reporting functionality. Crystal has
pre-defined report templates for most label types.

Nov 16 '05 #3
Implement your labels in MS Word and then call via Office Automation.
Or perhaps design the label as a windows form and print an image of the form
to the printer.

"thomaz" <su***@nce.ufrj.br> wrote in message
news:07****************************@phx.gbl...
Hi;
I would like to know if exists a C# class or any methods
to print labels in different sizes like the labels in
Microsoft Word???

Thanks...

Nov 16 '05 #4
Nicholas... Or you can use Visual Studio as a code generator.

http://www.geocities.com/jeff_louie/OOP/oop24.htm

Regards,
Jeff
There isn't anything in the framework itself that will handle this for

you. Basically, you will have to create a PrintDocument instance, and
handle all of the layout yourself.<
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #5
If he's going to create a PrintDocument and handle the printing through
..NET code, he's probably better off creating a Crystal ReportDocument
and feeding it a DataSet object, then using the freebie Crystal.NET
designer to lay out the labels, since even the freebie designer has (or
you can get from the Crystal site) pre-defined label formats.

That's what our report designer guy does here. He's using nothing more
than the Crystal designer that comes with .NET and he tells me that
he's using Crystal's pre-defined label templates, and that they work
fine.

thomaz... if you decide to go this route, I can help you with the .NET
code, and maybe even find out where our report designer got the label
templates from.

Nov 16 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2303
by: Luis Serrano | last post by:
Hi all, I'm trying to generate labels to print in several different formats, all of them with their own height,width and page margins. We've got this done in MS Access 2000, using a designed...
2
4356
by: Fred | last post by:
Hi. Sorry, but I don't know where else to ask. I wrote a access shipping database and we currently use the web interface for DHL to print shipping labels. That means we have to manualy transpose...
2
2220
by: John Smith | last post by:
Perhaps the wrong place to ask but...Friend has names and addresses in Microsoft Works Database...how can she print off address labels from this database? Thanks, John
0
1797
by: Matthew Belk | last post by:
I am trying to print some 2x6 labels on a SATO CL408e thermal label printer. The 2x6 labels are arranged in "landscape" mode with 2 labels per "sheet." When I attempt to print "x" copies of a 1...
2
14169
by: ooooscar | last post by:
I'd like to make an application to print labels. I have to print an image and text, the label size is 10cm x 5 cm. I'm wandering how to do it in c#. My first thought is to make an acrobat "form"...
3
2149
by: solar | last post by:
Is there a way that a user can set the position for a single label to print within an Access Label report? I guess I would like something like what is available in Word where the user can select...
56
13967
by: peng | last post by:
Hi, I am development a project using C#.Net. Inside application, it needs to print labels on different Zebra label printers on the network. I used a shell script, but it only worked on the...
1
2473
by: mikeyatsony | last post by:
Hi all... Is there a web for my ASP Web application tied to a SQL Server Express DB to print labels? I need a way to have reports printed from the user's browser. They wish to print labels...
24
2811
by: Tony Girgenti | last post by:
Hello. Developing a Windows Form program in VS.NET VB, .NET Framework 1.1.4322 on a windows XP Pro, SP2. Before printing a document, i want to set the font to a font that is only available...
1
1519
by: scotter86 | last post by:
Hi everyone, I have kind of an odd question. What I'm trying to do is have a program run when I want to print something. A little background on my situation is, I'm sharing a little thermal...
0
7216
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7303
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4699
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
407
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.