05-29-2020 03:52 AM
HELP....
I am trying to get an Epsom POS printer to work.
I have managed the basics, like printing text to it, no problem. i have even managed to get line feed n lines and cut to work.
But, i can not seem to get anything else. i want to print a barcode and also print in red (Colour 2). the manual has examples, but i am not sure how to convert them and send them to the printer.
The barcode code looks like this -
PRINT #1, CHR$(&H1D);"h";CHR$(80); ← Set height
PRINT #1, CHR$(&H1D);"f";CHR$(0); ← Select font
PRINT #1, CHR$(&H1D);"H";CHR$(2); ← Select print position
PRINT #1, CHR$(&H1D);"k";CHR$(2); ← Print bar code
PRINT #1, "496595707379";CHR$(0);
PRINT #1, CHR$(&HA);
then there is the colour change example -
PRINT #1, CHR$(&H1D);"(N";CHR$(2);CHR$(0); Color 1 Color 2
PRINT #1, CHR$(48); CHR$(49);← Set character color 1
PRINT #1, "Color 1";
PRINT #1, CHR$(&H1D);"(N";CHR$(2);CHR$(0);
PRINT #1, CHR$(48); CHR$(50);← Set character color 2
PRINT #1, "Color 2";
Programming guide is called "Programming manual APG_1005_receipt.pdf"
Has anyone had any success with this? please share....
Attached code will print, then feed 10 lines, then cut. not tidy, its a work in progress.
Any and all help gratefully received.
06-05-2020 05:39 AM
Hi Dom_Peall,
There are two potential ways to interact with a printer:
Regards,
Vilius
06-08-2020 01:41 AM
thanks.... but I was kinda hoping for some actual help on converting the VB code. this just about sums up my experience with my support.... that I am paying for. google was more help, and its free.
I wont be renewing