Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

barcode printing?

5 views
Skip to first unread message

patrickdrd

unread,
Apr 23, 2007, 2:06:01 AM4/23/07
to
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!

Alexey Smirnov

unread,
Apr 23, 2007, 2:55:19 AM4/23/07
to
On Apr 23, 8:06 am, patrickdrd <patrick...@discussions.microsoft.com>
wrote:

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()" />

patrickdrd

unread,
Apr 23, 2007, 3:22:01 AM4/23/07
to
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

Alexey Smirnov

unread,
Apr 23, 2007, 3:32:05 AM4/23/07
to
On Apr 23, 9:22 am, patrickdrd <patrick...@discussions.microsoft.com>
wrote:

You cannot control a clients printer using ASP.NET.

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

patrickdrd

unread,
Apr 23, 2007, 3:52:00 AM4/23/07
to
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?

Mark Rae

unread,
Apr 23, 2007, 3:51:22 AM4/23/07
to
"patrickdrd" <patri...@discussions.microsoft.com> wrote in message
news:7ABA502F-1942-4E6E...@microsoft.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.


patrickdrd

unread,
Apr 23, 2007, 4:06:02 AM4/23/07
to
Is it possible to send me that code and templates?
Or am I asking for too much?

If so, email me at patri...@yahoo.gr

patrickdrd

unread,
Apr 23, 2007, 7:02:01 AM4/23/07
to
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?

Alexey Smirnov

unread,
Apr 23, 2007, 8:03:09 AM4/23/07
to
On Apr 23, 1:02 pm, patrickdrd <patrick...@discussions.microsoft.com>
wrote:

> on printing from word to the thermal
> printer?

Using ASP.NET?

patrickdrd

unread,
Apr 23, 2007, 8:14:01 AM4/23/07
to
no, I'll be following mark's solution,
word using automation from a vb6 app

Alexey Smirnov

unread,
Apr 23, 2007, 8:29:39 AM4/23/07
to
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+%22thermal+printer%22&hl=en

or ask it in the right group...

Mark Rae

unread,
Apr 23, 2007, 12:27:39 PM4/23/07
to
"patrickdrd" <patri...@discussions.microsoft.com> wrote in message
news:40403180-14E0-4DCE...@microsoft.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.


Mark Rae

unread,
Apr 23, 2007, 12:28:48 PM4/23/07
to
"patrickdrd" <patri...@discussions.microsoft.com> wrote in message
news:7B42F6EB-7382-41B5...@microsoft.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...?


patrickdrd

unread,
Apr 23, 2007, 1:34:03 PM4/23/07
to
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 patri...@yahoo.gr,
please send me the font at least,
I'm in a desperate need for it at the moment!

Mark Rae

unread,
Apr 23, 2007, 2:01:37 PM4/23/07
to
"patrickdrd" <patri...@discussions.microsoft.com> wrote in message
news:D6A959D0-5393-4852...@microsoft.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/lifecycle/search/?sort=PN&alpha=Visual+Basic+6&Filter=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


0 new messages