Skip to content
Discussion options

You must be logged in to vote

hi friend. you can test the code. i'm ok.

 string barcode = OpsContext.Check.CheckNumber.ToString("000000");
            byte[] barcodeBytes = Encoding.ASCII.GetBytes(barcode);
            byte[] command = new byte[] { 10, 10, 10, 29, 102, 1, 29, 104, 75, 27, 97, 1, 29, 72, 2, 29, 107, 69, 6 };
            byte[] trails = new byte[] { 27, 97, 48 };
            byte[] data = new byte[command.Length + barcodeBytes.Length + trails.Length];
            command.CopyTo(data, 0);
            barcodeBytes.CopyTo(data, command.Length);
            trails.CopyTo(data, command.Length + barcodeBytes.Length);

            //custom receipt content
            //example:
            //custom header

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
8 replies
@simphonydeveloper
Comment options

@vonza
Comment options

@simphonydeveloper
Comment options

@simphonydeveloper
Comment options

Answer selected by vonza
@vonza
Comment options

@simphonydeveloper
Comment options

@vonza
Comment options

Comment options

You must be logged in to vote
4 replies
@simphonydeveloper
Comment options

@vonza
Comment options

@simphonydeveloper
Comment options

@vonza
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants