Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unnecessary space from top #17

Open
amanItdose opened this issue Aug 19, 2022 · 0 comments
Open

unnecessary space from top #17

amanItdose opened this issue Aug 19, 2022 · 0 comments

Comments

@amanItdose
Copy link

While we are working with the below code, we are getting unnecessary space on barcode slip
and last line is not printing completely here on slip..

                            "! 0 300 300 210 1" + "\r\n"//set the height of the bitmap and the quantity to print
                                    + "TONE 50" + "\r\n"//print intensity tone 0-200
                                    + "CENTER"                                         + "\r\n"//print speed (less = more accurate) 1 2.5cm/s | 2 - 5cm/s | 3 - 7.6cm/s*/
                                    + "TEXT 7 0 0 50 " + firstLine.toString() + "\r\n"
                                    + "COUNT 1"+ "\r\n"//print speed (less = more accurate) 1 2.5cm/s | 2 - 5cm/s | 3 - 7.6cm/s
                                    + "TEXT 7 0 0 100 " + barcode + "\r\n"
                                    + "B 128 1 1 50 20 66 " + barcode + "\r\n"
                                    + "COUNT -10" + "\r\n"//get the image we stored before in the printer
                                    + "TEXT 7 0 0 140 " + secondLine.toString() + "\r\n"
                                    + "COUNT 1"+ "\r\n"//get the image we stored before in the printer
                                    + "TEXT 7 0 0 160 " + thirdLine.toString() + "\r\n"
                                    + "COUNT 1"+ "\r\n"//get the image we stored before in the printer
                                    + "TEXT 7 0 0 180 " + fourthLine.toString() + "\r\n"//get the image we stored before in the printer

                                    + "FORM" + "\r\n"
                                    + "PRINT" + "\r\n";//print

cpcl_issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant