Is anyone printing barcodes on a Brother Laser using their in-built Coding? - IBM AS400

This is a discussion on Is anyone printing barcodes on a Brother Laser using their in-built Coding? - IBM AS400 ; Hi all I hope you don't mind me posting a variation of an earlier post. I have been through the Brother manual http://pub.brother.com/pub/com/print...oc/control.pdf from page 259 and have set up the following code to print an EAN13 barcode. I can ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Is anyone printing barcodes on a Brother Laser using their in-built Coding?

  1. Is anyone printing barcodes on a Brother Laser using their in-built Coding?

    Hi all

    I hope you don't mind me posting a variation of an earlier post.

    I have been through the Brother manual http://pub.brother.com/pub/com/print...oc/control.pdf
    from page 259 and have set up the following code to print an EAN13
    barcode. I can print everything else apart from the barcode.

    C* 1B = ESC
    C* 69 = i create barcode.
    C*
    C MOVEAX'1B69' HX,1 i
    C*
    C* 54 = T T5 = EAN13
    C* 35 = 5
    C*
    C MOVEAX'5435' HX,3 T5
    C*
    C* 62 = b start of barcode data.
    C*
    C MOVEAX'62' HX,5 b
    C*
    C MOVEAX'353033' HX,6 503
    C MOVEAX'343630' HX,9 460
    C MOVEAX'333937' HX,12 397
    C MOVEAX'343035' HX,15 405
    C MOVEAX'30' HX,18 0
    C MOVEAX'5C' HX,19 \
    C MOVE *BLANKS HXLINE 78
    C MOVEAHX,1 HXLINE


    If anyone has any suggestions I would appreciate them very much.


    Device description . . . . . . . > BROTHER
    Port number . . . . . . . . . . 9100
    Online at IPL . . . . . . . . . *YES
    Font:
    Identifier . . . . . . . . . . 11
    Point size . . . . . . . . . . *NONE
    Form feed . . . . . . . . . . . *CONT
    Separator drawer . . . . . . . . *FILE
    Separator program . . . . . . . *NONE
    Library . . . . . . . . . . .
    Printer error message . . . . . *INQ
    Message queue . . . . . . . . . QSYSOPR
    Library . . . . . . . . . . . *LIBL
    Activation timer . . . . . . . . 170
    Inactivity timer . . . . . . . . *SEC15
    Line speed . . . . . . . . . . . 19200
    Word length . . . . . . . . . . 8
    Type of parity . . . . . . . . . *NONE
    Stop bits . . . . . . . . . . . 1
    Host print transform . . . . . . *YES
    Manufacturer type and model . . *HP5SI
    Paper source 1 . . . . . . . . . *A4
    Paper source 2 . . . . . . . . . *A4
    Envelope source . . . . . . . . *NONE
    ASCII code page 899 support . . *NO
    Image configuration . . . . . . *NONE
    Character identifier:
    Graphic character set . . . . *SYSVAL
    Code page . . . . . . . . . .
    Remote location:
    Name or address . . . . . . .
    User-defined options . . . . . . *SAME C
    + for more values
    User-defined object:
    Object . . . . . . . . . . . . *NONE N
    Library . . . . . . . . . . N
    Object type . . . . . . . . . *
    Data transform program . . . . . *NONE N
    Library . . . . . . . . . . . N
    System driver program . . . . . *HPPJLDRV
    Secure connection . . . . . . . *SAME *
    Validation list . . . . . . . . *SAME
    Library . . . . . . . . . . .
    Publishing information:
    Support duplex . . . . . . . . *SIMPLEX
    Support color . . . . . . . . *NOCOLOR
    Pages per minute black . . . . 20
    Pages per minute color . . . . *UNKNOWN
    Location . . . . . . . . . . . *BLANK
    Data streams supported . . . . *PCL
    + for more values
    Text 'description' . . . . . . . 'Brother
    Workstation customizing object HP5SIL
    Library . . . . . . . . . . . WSCSTLIB

    Thanks
    Neil


  2. Re: Is anyone printing barcodes on a Brother Laser using their in-builtCoding?

    There is a 'start transparent' code that i dont see in
    your example.

    Regards
    Martin

  3. Re: Is anyone printing barcodes on a Brother Laser using their in-built Coding?

    Dear Martin

    Thank you for your post, it has solved my problem.

    So, printing barcodes on a Brother laser is really very simple. I have
    chosen EAN13, but it handles all of the major barcodes.

    Best regards
    Neil


+ Reply to Thread