How can I add Enter at the end of my barcode?

fmhiguefmhigue Member Posts: 290
Hi everybody:

I am using BC C39 3 to 1 HD Medium font on the barcodes. Barcode includes this info:

'*'+ "Sales Header"."No."+'*'

Is the a way to include to carriage return at the end?

Thank you in advance

Comments

  • Yaroslav_GaponovYaroslav_Gaponov Member Posts: 158
    fmhigue wrote:
    Hi everybody:

    I am using BC C39 3 to 1 HD Medium font on the barcodes. Barcode includes this info:

    '*'+ "Sales Header"."No."+'*'

    Is the a way to include to carriage return at the end?

    Thank you in advance

    Hi,

    Just try so
    strBarcode := '*'+ "Sales Header"."No."+'*'+'#';
    strBarcode[STRLEN(strBarcode)] := 13;

    or may be
    strBarcode := '*'+ "Sales Header"."No."+'*'+'##';
    strBarcode[STRLEN(strBarcode)-1] := 13;
    strBarcode[STRLEN(strBarcode)] := 10;
  • ara3nara3n Member Posts: 9,256
    Usually this is part of the barcode reader. Lookup the documentation on the reader, I'm sure it can be programmed to send a enter after every scan.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.