Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 01 JUL 2003 09:42:10AM MD wrote:

Hi Everyone.

Could someone give me please some directives to activate

code bar printing on a Epson Printer in Arev.

I thank you on advance for helping me.

M.D.


At 01 JUL 2003 10:26AM [url=http://www.sprezzatura.com" onMouseOver=window.status= Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:

Which Epson, which version of AREV? You'll basically need the printer manual and then need to write a program to do the bar coding.

We used a Zebra bar coding printer for a Lab Client using AREV a couple of weeks and were very impressed with how easy it was to use.

The Sprezzatura Group

World Leaders in all things RevSoft


At 01 JUL 2003 11:45AM Mario Delgadillo wrote:

Thank you for a quick response.

Yes I have an Epson FX880 printer and I

have the manual for it, but, i can't

figured out how to write the print statment

to print bar codes.

I have arev 2.1.

If you could give me some example to make

the print statment to print bar codes I

will appreciate.

Thanks


At 01 JUL 2003 12:04PM [url=http://www.sprezzatura.com" onMouseOver=window.status= Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:

We don't use that printer. Essentially you'd say

PRINTER ON

PRINT THE ESCAPE SEQUENCE THE MANUAL TELLS YOU FOR BARCODES

PRINTER OFF

The manual for the FX-880 says that you turn bar coding on using Esc (B

See Appendix C-13.

The Sprezzatura Group

World Leaders in all things RevSoft


At 01 JUL 2003 12:26PM Mario Delgadillo wrote:

Thanks, you're so gentle.

I'd already try it, like you mention,

but the part I can't solve it?s that part

of scape sequences.

I already try some with this test

Program, however the printer doesn?t

Print the bar codes

esc=char(27)

par=char(40)

b =char(66)

code=esc:par:b

printer on

print ""

PRINT code:"860541"

print ""

printer off

stop.

If you culd tell me please where I are my mistake,

any idea will welcome.


At 01 JUL 2003 12:36PM [url=http://www.sprezzatura.com" onMouseOver=window.status= Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:

Without the printer to test it is difficult to see what the problem is but an obvious error is that you aren't actually telling it the barcode type to use. They go from 0 to 7 and your string starts 8. (Esc ( B k as we believe the manual refers to it).

From hereon in it's just about spending time interpreting the manual sorry.

The Sprezzatura Group

World Leaders in all things RevSoft


At 01 JUL 2003 12:53PM Mario Delgadillo wrote:

I Thank your effort.

If anyone to see this and can solve the

sequences of this printer to print bar codes

in arev. Please post it.

Thanks.


At 01 JUL 2003 01:40PM Victor Engel wrote:

Don't forget that the print statement will append a carriage return/line feed pair. If you don't want this, add a colon.

Print STRINGVARIABLE:


At 01 JUL 2003 04:28PM Jonathan Bird wrote:

I have a set of subroutines for doing what you want. Email me at

J


At 01 JUL 2003 05:12PM Richard Hunt wrote:

Mario,

Your "escape" sequence is incomplete. The actual format for the "escape" sequence is as follows…

ESC ( B n1 n2 k m s v1 v2 c data

n=(n1 + (356 * n2))

k=0:EAN-13, 1:EAN-8 2:Interleaved 2 of 5, 3: UPC-A, 4: UPC-E, 5: Code 39, 6:Code 128, 7:POSTNET

m=Module width (120 dpi), 2: 2 dots, 3: 3 dots, 4: 4 dots, 5: 5 dots.

s=Space adjustment value -3 ⇐ s ⇐ 3 (1/240-inch units)

v1 v2=Bar length, (v1 + (v2 * 256)) (1/72-inch units)

c=Control flag. Bit 0, check digit 0: do not add check digit. 1: add check digit. Bit 1, Human readable character 0: add the HRC, 1: do not add the HRC. Bit 2, Position of flag character (for EAN-13 and UPC-A only) 0: Center, 1: Under. Bits 3-7 not used.

data=the actual barcode characters.


At 02 JUL 2003 02:35AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Richard

n=(n1 + (356 * n2))

n=(n1 + (256 * n2))

Though the manual is not the most crystalline piece of prose we've ever encountered. Those initial n1 n2 combinations are not illustrated by example. "How not to write printer manuals - 101".

Cheers

The Sprezzatura Group

World Leaders in all things RevSoft


At 02 JUL 2003 10:47AM Victor Engel wrote:

My favorite example of how not to write a manual is the Arev 2.1 manuals, where most commands were not only illustrated with "Correct use of _" but also "Incorrect use of _".

On the other hand, the three-ring binder format was nice, something which was unfortunately abandoned in the next release. I actually went to Kinkos to have the spine removed and holes drilled in order to turn it into a 3-ring format.

Manuals should lie flat when open. Otherwise, it is impossible to hold the book open and type at the same time, unless you are a contortionist.


At 02 JUL 2003 01:15PM Richard Hunt wrote:

Oops on the 356…

And I agree on the n1 and n2. It sure would have been nice if they would have put an example. Although I do believe the n1 and n2 would be the total byte count of the following information all the way thru the "data" variable.


At 02 JUL 2003 01:41PM Mario Delgadillo wrote:

Hi !

Thaks I wrote this program but it print nothing.

esc=char(27)

par=char(40)

b =char(66)

n1 =100 *I not sure of this value

n2 =100 *I not sure of this value

k =6

m =2

s =1

v1 =100 *I not sure of this value

v2 =100 *I not sure of this value

c =0

code=esc:par:b:n1:n2:k:m:s:v1:v2:c

printer on

print ""

PRINT code:

print "860541"

printer off

stop


At 02 JUL 2003 03:08PM Victor Engel wrote:

I suggest looking at the newsgroups. There are examples there (in various languages). Do a google groups search for FX-880 barcode and you will find such threads as this one:

http://tinyurl.com/fv9l

One thread mentions that the data length value must include the length of the escape sequence.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/7d10dbd665f4670285256d56004b45e2.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1