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. 6 3941
On Sun, 13 Feb 2005 15:40:32 GMT, Murray Elliot
<to***********@ blueyonder.co.u k> 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.
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.u k> wrote in message
news:fb******** *************** *********@4ax.c om... 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.
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.
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.
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.u k> wrote in message
news:05******** *************** *********@4ax.c om... 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.
"Murray Elliot" <to***********@ blueyonder.co.u k> skrev i meddelandet
news:fb******** *************** *********@4ax.c om... 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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)> _
Public Structure DOCINFO<MarshalAs(UnmanagedType.LPWStr)>
Public pDocName As String<MarshalAs(UnmanagedType.LPWStr)>
|
by: Nathan Bloomfield |
last post by:
Does anyone know of any freeware addins that enable printing barcodes in Access 2k3?
Regards,
Nathan
|
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 printing (wasn't my
decision). I found two possibilities
- using tt-fonts
- using an active-x-control
|
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
client then allows the user to print the report on a networked printer.
To avoid having to launch an external application on the client I use a
server-side print method. When I call ReportDocument.PrintToPrinter the
report comes out fine but the...
|
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
computer has drivers installed for this printer, and this printer is
shared for the network.
Question 1:
| |
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 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?
|
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 be scanning
a barcode which will communicate to the computer that the employee did
some type of task. Employees will be identified by ID badges which
will contain string data to identify them and hopefully log them in.
Is this a good way to keep...
|
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 embedded with printer protocol command and send for printing.
Is there any way to direct print from AS/400 IPDS to Barcode printer through Driver ? Or is there any AS/400 emulation middleware that had barcode printer driver intact?
|
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 reader could work well is bar
code is too small, I want to keep same font heigh but smaller font width? is
it possible to do that?
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |