Skip to content

Unnecessary space from top of the barcode slip #16

Description

@amanItdose

While printing the lines over barcode slips
we are getting unnecessary margin or space from the top.

"! 0 200 200 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 100 " + firstLine.toStrin
cpcl_issue
g() + "\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"
+ "COUNT -10" + "\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 100 " + secondLine.toString() + "\r\n"
+ "COUNT -10"+ "\r\n"//get the image we stored before in the printer
+ "TEXT 7 0 0 100 " + thirdLine.toString() + "\r\n"
+ "COUNT -10"+ "\r\n"//get the image we stored before in the printer
+ "TEXT 7 0 100 " + fourthLine.toString() + "\r\n"//get the image we stored before in the printer

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions