By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,854 Members | 869 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,854 IT Pros & Developers. It's quick & easy.

barcode printing?

P: n/a
Hi everyone!

Does anyone know how can I do barcode printing?

First of all, I know I have to write a client executable,
but how do I communicate with the thermal printer?

Using software the company I work for needs to buy like Seagull Bartender,
or some other label printing software or can I get access to the printer
directly?

I just need to print a label, a ticket.

Thanks in advance!
Apr 23 '07 #1
Share this Question
Share on Google+
15 Replies


P: n/a
On Apr 23, 8:06 am, patrickdrd <patrick...@discussions.microsoft.com>
wrote:
Hi everyone!

Does anyone know how can I do barcode printing?

First of all, I know I have to write a client executable,
but how do I communicate with the thermal printer?

Using software the company I work for needs to buy like Seagull Bartender,
or some other label printing software or can I get access to the printer
directly?

I just need to print a label, a ticket.

Thanks in advance!
Barcode components:

http://www.google.com/search?hl=en&q=barcode+asp.net

Print on a client:

<input type="button" value="Print" onClick="window.print()" />

Apr 23 '07 #2

P: n/a
I don't want to use that method,
I've already done that,
I want to print a label - ticket using more professional method,

not that simple
Apr 23 '07 #3

P: n/a
On Apr 23, 9:22 am, patrickdrd <patrick...@discussions.microsoft.com>
wrote:
I don't want to use that method,
I've already done that,
I want to print a label - ticket using more professional method,

not that simple
You cannot control a clients printer using ASP.NET.

What must be different between a "simple" and not "simple" printing?

Apr 23 '07 #4

P: n/a
I know that!

That's why I'm talking about a client executable (vb.net or vb6)
that will do the job,
using for example an activex by seagull bartender

So, has anyone done sth similar and can provide me with some feedback?
Apr 23 '07 #5

P: n/a
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:7A**********************************@microsof t.com...
>I don't want to use that method,
I've already done that,
I want to print a label - ticket using more professional method,
I did something similar a few years ago for the mailroom department of a
large organisation. They had fairly complex printing requirements for labels
to go on outgoing documents and packages - barcode, postage paid mark,
reference number, address (obviously!) etc...

They had a small thermal printer for printing the actual labels, but wanted
the data to be entered and maintained on an intranet system. As Alexey
pointed out, ASP.NET cannot control a client printer, so we did the
following:

1) ASP.NET app for data input etc

2) SQL Server to manage the data

3) Dedicated PC with thermal printer attached

4) WinForms app installed on the dedicated PC which constantly "sniffed" SQL
Server for print jobs

5) Collection of Word templates with text tags e.g. <<barcode>>,
<<address>>, <<postmark>etc. When the users submitted a print job, they
specifiied the template to use and the WinForms app used Word automation to
create a new document based on the template chosen, substitute the text tags
with real data, and print the label.
Apr 23 '07 #6

P: n/a
Is it possible to send me that code and templates?
Or am I asking for too much?

If so, email me at pa********@yahoo.gr
Apr 23 '07 #7

P: n/a
I guess, that your're not willing to send me the code,
but could you please give me a hint on printing from word to the thermal
printer?

By calling the printout method?
Apr 23 '07 #8

P: n/a
On Apr 23, 1:02 pm, patrickdrd <patrick...@discussions.microsoft.com>
wrote:
on printing from word to the thermal
printer?
Using ASP.NET?

Apr 23 '07 #9

P: n/a
no, I'll be following mark's solution,
word using automation from a vb6 app
Apr 23 '07 #10

P: n/a
On Apr 23, 2:14 pm, patrickdrd <patrick...@discussions.microsoft.com>
wrote:
no, I'll be following mark's solution,
word using automation from a vb6 app
Well, the problem is that this group is for ASP.NET questions.

Try to google your question
http://www.google.com/search?q=vb6+%...inter%22&hl=en

or ask it in the right group...

Apr 23 '07 #11

P: n/a
is there a group in here for vb6?
Apr 23 '07 #12

P: n/a
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:40**********************************@microsof t.com...
I guess, that your're not willing to send me the code,
Client confidentiality forbids it...
but could you please give me a hint on printing from word to the thermal
printer?
By calling the printout method?
Yep - simple Word automation.
Apr 23 '07 #13

P: n/a
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:7B**********************************@microsof t.com...
no, I'll be following mark's solution,
word using automation from a vb6 app
Er, for the record I *NEVER* suggested using VB6!!! What an utterly
ridiculous idea, especially as mainstream support ended for VB6 over two
years ago...

You're not seriously going to use VB6, are you...?
Apr 23 '07 #14

P: n/a
I don't need the client's data,
could you send me the font you used for barcode printing please?

I'm having trouble with that being read by the barcode scanner!

I haven't worked with windows forms before,
so I'm feeling more comfortable with vb6,
and I have the code ready to do the job too!

Besides, there should be no need to install .net framework on the client's
computer that way!

If you like, send me the word template too,
erase the labels, I don't want to know the client's data...

Once more, my email is pa********@yahoo.gr,
please send me the font at least,
I'm in a desperate need for it at the moment!

"Mark Rae" wrote:
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:40**********************************@microsof t.com...
I guess, that your're not willing to send me the code,

Client confidentiality forbids it...
but could you please give me a hint on printing from word to the thermal
printer?
By calling the printout method?

Yep - simple Word automation.
Apr 23 '07 #15

P: n/a
"patrickdrd" <pa********@discussions.microsoft.comwrote in message
news:D6**********************************@microsof t.com...
>I don't need the client's data,
could you send me the font you used for barcode printing please?
Has nothing to do with data... The code I wrote belongs to the client - it's
not mine to give to anybody, even you...
I haven't worked with windows forms before,
so I'm feeling more comfortable with vb6,
and I have the code ready to do the job too!
Does your client know that you are proposing to use obsolete development
technology...? If I were your boss, I'd fire you on the spot...
http://support.microsoft.com/lifecyc...ilter=FilterNO
Besides, there should be no need to install .net framework on the client's
computer that way!
You're not *seriously* suggesting that that's a valid reason to use VB6, are
you...? If you are, I'd suggest you find an alternative career....
If you like, send me the word template too,
erase the labels, I don't want to know the client's data...
Designing a Word template is not exactly taxing... Create your document, the
do Save As, Template...
please send me the font at least,
I'm in a desperate need for it at the moment!
1) Load up your Internet browser

2) Navigate to http://www.google.com

3) In the box, enter the text below:

barcode font free

4) Hit the button
Apr 23 '07 #16

This discussion thread is closed

Replies have been disabled for this discussion.