473,385 Members | 1,615 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Barcode printing in a production environment

Just wondering if anyone has any ideas on how to solve a particular
problem. A client wants to print barcode labels from their (web/php
based application). The barcode labels are very small, so I'm guessing
that doing a screendump via a standard inkjet isn't going to work
(i.e. might need somehow to print to a barcode printer!)

Any ideas where to start?

Thanks in advance.
Jul 23 '05 #1
6 3911
On Sun, 13 Feb 2005 15:40:32 GMT, Murray Elliot
<to***********@blueyonder.co.uk> wrote:
Just wondering if anyone has any ideas on how to solve a particular
problem. A client wants to print barcode labels from their (web/php
based application). The barcode labels are very small, so I'm guessing
that doing a screendump via a standard inkjet isn't going to work
(i.e. might need somehow to print to a barcode printer!)


I know of (but can't remember details right now) an SVG solution that
does this, creating barcodes in SVG is really easy, and they just
print. Generating them client-side with javascript is also easy - so
all you need is an SVG viewer installed, for the described situation,
that should be no worries.

Cheers,

Jim.
Jul 23 '05 #2

If the printer has a standard Windows driver, that aspect of your project is
not a problem. I recently did a contract project that use a special printer
to print mailing addresses onto sticky labels that come one after another on
a roll. To do this I used CSS to create a web page that was correctly sized
for the labels. The little printer jacked into a USB port and handled page
feeds (i.e. rolling to the next label) automatically. It was easy.

I have never used barcodes, but I am aware of two potential solution paths
for you. One is to use a barcode font (they exist for Windows). The other
is to use an application that creates barcodes for you as images (gif, jpg,
whatever) and then you print the images. There are Perl modules that do
that sort of thing.

MK


"Murray Elliot" <to***********@blueyonder.co.uk> wrote in message
news:fb********************************@4ax.com...
Just wondering if anyone has any ideas on how to solve a particular
problem. A client wants to print barcode labels from their (web/php
based application). The barcode labels are very small, so I'm guessing
that doing a screendump via a standard inkjet isn't going to work
(i.e. might need somehow to print to a barcode printer!)

Any ideas where to start?

Thanks in advance.

Jul 23 '05 #3
Murray Elliot spilled the following:
Just wondering if anyone has any ideas on how to solve a particular
problem. A client wants to print barcode labels from their (web/php
based application). The barcode labels are very small, so I'm guessing
that doing a screendump via a standard inkjet isn't going to work
(i.e. might need somehow to print to a barcode printer!)

Any ideas where to start?

Thanks in advance.


Generate a PDF serverside? AIR there is a Gnu barcode thingy that speaks
[e]ps and PDF....and there are a couple of good PHP tools for working with
PDFs

HTH

C.
Jul 23 '05 #4
Thanks guys.
I'm pretty confident in terms of generating barcodes either as PDF or
images or using Fonts (I prefer the second option), but main worry was
based around the practical issue of how to ensure the page output
aligns with the labels such that when printing (say) 200 labels, I
don't end up with problems whereby the output doesn't align properly.

A specific printer which could handle page feeds sounds like an
interesting (and perhaps) necessary way to go in this respect... would
you be able to post more details, or email me?

Many thanks.
-------
name: murrayelliot
domain: blueyonder co uk

If the printer has a standard Windows driver, that aspect of your project is
not a problem. I recently did a contract project that use a special printer
to print mailing addresses onto sticky labels that come one after another on
a roll. To do this I used CSS to create a web page that was correctly sized
for the labels. The little printer jacked into a USB port and handled page
feeds (i.e. rolling to the next label) automatically. It was easy.

I have never used barcodes, but I am aware of two potential solution paths
for you. One is to use a barcode font (they exist for Windows). The other
is to use an application that creates barcodes for you as images (gif, jpg,
whatever) and then you print the images. There are Perl modules that do
that sort of thing.


Jul 23 '05 #5

My client used a printer called a "Dymo - LabelWriter 330". I have never
seen or used it. I used the Print Preview feature of IE to ensure that my
HTML and CSS were valid. The client confirmed it using his printer.

MK

"Murray Elliot" <to***********@blueyonder.co.uk> wrote in message
news:05********************************@4ax.com...
Thanks guys.
I'm pretty confident in terms of generating barcodes either as PDF or
images or using Fonts (I prefer the second option), but main worry was
based around the practical issue of how to ensure the page output
aligns with the labels such that when printing (say) 200 labels, I
don't end up with problems whereby the output doesn't align properly.

A specific printer which could handle page feeds sounds like an
interesting (and perhaps) necessary way to go in this respect... would
you be able to post more details, or email me?

Many thanks.
-------
name: murrayelliot
domain: blueyonder co uk

If the printer has a standard Windows driver, that aspect of your project isnot a problem. I recently did a contract project that use a special printerto print mailing addresses onto sticky labels that come one after another ona roll. To do this I used CSS to create a web page that was correctly sizedfor the labels. The little printer jacked into a USB port and handled pagefeeds (i.e. rolling to the next label) automatically. It was easy.

I have never used barcodes, but I am aware of two potential solution pathsfor you. One is to use a barcode font (they exist for Windows). The otheris to use an application that creates barcodes for you as images (gif, jpg,whatever) and then you print the images. There are Perl modules that do
that sort of thing.

Jul 23 '05 #6
"Murray Elliot" <to***********@blueyonder.co.uk> skrev i meddelandet
news:fb********************************@4ax.com...
Just wondering if anyone has any ideas on how to solve a particular
problem. A client wants to print barcode labels from their (web/php
based application). The barcode labels are very small, so I'm guessing
that doing a screendump via a standard inkjet isn't going to work
(i.e. might need somehow to print to a barcode printer!)

Any ideas where to start?

Thanks in advance.


From the rest of this thread I see that there are alignment and other
issues. But you can dynamically generate (non-vector) pictures, using line
calls, at arbitrary resolutions with the php image functions. Section XLI of
the PHP manual may be a useful read.

--
Joakim Braun
Jul 23 '05 #7

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

Similar topics

0
by: Chris | last post by:
Hi, I found this code to send print direct to printer. It works perfect. Imports System Imports System.Text Imports System.Runtime.InteropServices <StructLayout(LayoutKind.Sequential)> _...
5
by: Nathan Bloomfield | last post by:
Does anyone know of any freeware addins that enable printing barcodes in Access 2k3? Regards, Nathan
11
by: Lutz | last post by:
Hello, I'm setting up a barcode system for a storage-database. Now I'm looking for a free (cheap) solution to print barcodes using reports. I'll have to show the barcode to the screen before...
1
by: Aaron Bronow | last post by:
I have an asp.net application which loads a Crystal Reports ReportDocument, passes in parameters for selecting data from the report's database connection, renders the report for previewing on the...
3
by: Mika M | last post by:
Hi all! I have made an application for printing simple barcode labels using PrintDocument object, and it's working fine. Barcode printer that I use is attached to the computer, and this...
15
by: =?Utf-8?B?cGF0cmlja2RyZA==?= | last post by:
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...
2
by: nmrpa91290 | last post by:
Hi, I am in the design phase of building a database that will track the productivity of my warehouse. I am thinking of using a barcode scanner to assist me with this. Employees will hopefully...
0
by: Chee Choon Hong | last post by:
Most of the customer are printing from export raw file or direct link to AS/400 for data retrieval if the backend database is DB2. Hence in order to print to barcode printer, the output file has to...
2
by: sam | last post by:
can someone show how to change print font width & heigh scaling? I am writing a code for barcode printing on smaller label. I do not want change font size, because this may cause the bar code...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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
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
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
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...

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.