×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Need help from Command Environment for Epson Impacts

Need help from Command Environment for Epson Impacts

Need help from Command Environment for Epson Impacts

(OP)
Hello all,

I have some Epson LQ Impact Printers (the 570E and 2170/2180 to be exact) that I need to produce some barcodes from the Command Environment - specifically from a PICK (Universe) application.  Language specifics aside, I need some help interpreting the following info from the Epson manual:

The "ESC ( B" command is used to print barcodes.  The format of the command is as folows:

ESC ( B Nl Nh k m s v1 v2 BarCodeData

nl nh Specify the number of data bytes to follow, determined by the following equation:

(number of data bytes) = 6 bytes + BarCodeData bytes = ((Nh x 256) + Nl)
(Where 6 btes are k, m, s, v1, v2 and c)


Nh = INT (number of data bytes/256)
Nl = MOD (number of databytes/256)

Then the remaining parameters of k, m, s, v1, v2, and c are all defined for setting the formating characteristics of the barcode (i.e. check digit, height, width, density, etc).

Anyway, my probelm comes down to the Nl and Nh parameters.  If I don't predfine these values specifically, the barcode just doesn't print out.  I understand the INT and MOD values, I just have no way of determining the value of the BarCodeData bytes.  Is there a table that specifies how many bytes each ASCII character is for each Barcode type?  We are able to use pretty much any Barcode format, and have had the best luck with 128.  These are alpha-numeric codes, so I believe the C character set is what we need (and is set with the "k" parameter).

Any help with this would be greatly appreciated.
Replies continue below

Recommended for you

RE: Need help from Command Environment for Epson Impacts

(OP)
c'mon, someone's got to know

BUMP

RE: Need help from Command Environment for Epson Impacts

(OP)
bumpity BUMP....

RE: Need help from Command Environment for Epson Impacts

(OP)
Thank you for the link, but this is where I got the above information that formulated my question.  I think another thread may have resolved the issue.  Thank you again.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close