473,386 Members | 1,720 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,386 software developers and data experts.

Barcode


I am printing 4 X 8 labels from a report in Access. Each label needs
to have it's own barcode.

The booklet that comes with the SATO printer says I should send a
command to the printer. It starts like this <STX><ESC>A...

Can I do this in access? Where would I put this command line?
--
NewsGuy.Com 30Gb $9.95 Carry Forward and On Demand Bandwidth
Apr 4 '06 #1
6 4020
I think STX is chr(1) and ESC is chr(27)
so if you have a text box on your report with a control source of
CHR(1) & CHR(27) & "A", that should do the trick

Apr 5 '06 #2
Tom Becker wrote:
I am printing 4 X 8 labels from a report in Access. Each label needs
to have it's own barcode.

The booklet that comes with the SATO printer says I should send a
command to the printer. It starts like this <STX><ESC>A...

Can I do this in access? Where would I put this command line?


The control characters for controlling a transmission are
generally decimal 2 thru 37 and 127 for a DEL.
If your printer requires control characters, then you may need
to use some of the following.
Some devices that require a start of text (STX), may also require
an end of text (ETX) to tell it this is the end of the control
stream.

You can do this with concantentation
CHR(2) & CHR(27) & Your Data & Chr(3)

Check the printer manual to see if any control characters are
required after, such as ETX, LF, CR, or HT.

01 SOH - Start of Header
02 STX - Start of Text
03 ETX - End of Text
04 EOT - End of Transmission
05 ENQ - Enquire
06 ACK - Acknowledge
07 BEL - Bell
08 BS - Backspace
09 HT - Horizontal Tab
10 LF - Line Feed
11 VT - Vertical Tab
12 FF - Form Feed
13 CR - Carriage Return

16 DLE - Data Link Escape
21 NAK - Negative Acknowledge
23 ETB - End of Transmission Block
27 ESC - Escape
127 DEL - Delete
HTH,
Ron

Apr 5 '06 #3

hi tom,

i am facing the same problem with sato printer but i am using vb/
vb.net to print.

so, if u have found ant solution can u pls. tell me.
thnks,

prashant.
--
prashantgh
------------------------------------------------------------------------
prashantgh's Profile: http://www.dbtalk.net/m241
View this thread: http://www.dbtalk.net/t297373

Apr 27 '06 #4
Tom Becker wrote:
I am printing 4 X 8 labels from a report in Access. Each label needs
to have it's own barcode.

The booklet that comes with the SATO printer says I should send a
command to the printer. It starts like this <STX><ESC>A...

Can I do this in access? Where would I put this command line?


Tom, I'm not familiar with the SATO printer, but I print barcodes with
various reports and job assignments all the time.

All you need is a bar code font. Format the report for the label size
and for the data you need barcoded, use the barcode font for that text
box. You will also likely need a delimiter for the bar code reader to
be able to read the barcode.

For example, when I print work orders for our trades to do work, the
work order text box that is barcoded has a controlsource like:

="*" & WO_NUMBER & "*"

Where WO_NUMBER is the work order number field. An asterisk is a very
common delimiter for bar code readers that scan code 39 type barcodes.

If you don't have a bar code font, you can find them out there. I don't
have any URLs handy but can try and dig one up for you if necessary.

Hopefully this is of some help to you.

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Apr 27 '06 #5
On Thu, 27 Apr 2006 02:53:01 -0400, prashantgh
<pr***************@no-mx.forums.yourdomain.com.au> wrote:

hi tom,

i am facing the same problem with sato printer but i am using vb/
vb.net to print.

so, if u have found ant solution can u pls. tell me.
thnks,

prashant.


To get the bar code to be part of an access report I think we need
to buy a font. I found good stuff by searching google.

If you are not using an access report there might be a way to issue a
command using Shell. I don't really know though. Someone suggested
changing the <ESC> and the others like that from the Sato booklet, to
ASCII numbers.
--
NewsGuy.Com 30Gb $9.95 Carry Forward and On Demand Bandwidth
Apr 27 '06 #6
On Thu, 27 Apr 2006 09:37:41 -0230, Tim Marshall
<TI****@PurplePandaChasers.Moertherium> wrote:
Tom Becker wrote:
I am printing 4 X 8 labels from a report in Access. Each label needs
to have it's own barcode.

The booklet that comes with the SATO printer says I should send a
command to the printer. It starts like this <STX><ESC>A...

Can I do this in access? Where would I put this command line?


Tom, I'm not familiar with the SATO printer, but I print barcodes with
various reports and job assignments all the time.

All you need is a bar code font. Format the report for the label size
and for the data you need barcoded, use the barcode font for that text
box. You will also likely need a delimiter for the bar code reader to
be able to read the barcode.

For example, when I print work orders for our trades to do work, the
work order text box that is barcoded has a controlsource like:

="*" & WO_NUMBER & "*"

Where WO_NUMBER is the work order number field. An asterisk is a very
common delimiter for bar code readers that scan code 39 type barcodes.

If you don't have a bar code font, you can find them out there. I don't
have any URLs handy but can try and dig one up for you if necessary.

Hopefully this is of some help to you.


Thanks! I found a good web site for it.
--
NewsGuy.Com 30Gb $9.95 Carry Forward and On Demand Bandwidth
Apr 27 '06 #7

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

Similar topics

21
by: CHANGE username to westes | last post by:
What are the most popular, and well supported, libraries of drivers for bar code scanners that include a Visual Basic and C/C++ API? My requirements are: - Must allow an application to be...
3
by: Tom Turner | last post by:
Here's the background on my situation. The question follows --- We have 600 units of mail going from our business to various Post Offices every morning. Every unit is accompanied by a paper...
4
by: | last post by:
Hi all, we have a need to barcode encode and display a record identifier (number) both in html in the browser and through fdf in adobe acrobat in realtime. Is this possible? Can anyone make any...
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...
6
by: Samuel Shulman | last post by:
I would like to add barcode functionality to my POS program How does one attach barcode reader is it usually USB port How can the program get the data read by the device Thank you, Samuel
7
by: Alper Ozgur | last post by:
Hi; How can i capture and decode the barcode that reading by an usb Barcode reader?
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...
7
by: jim | last post by:
I need to have 2 simple barcode reader applications finished by midnight tonight. I have never written any barcode reader software and need any help that you may be able to offer. I do not know...
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...
7
by: divyac | last post by:
I am doing an inventory control project and i want to create barcodes for the products in addition to the product details in a form.The form values should be submitted to the database to retrieve for...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.