Skip to content

Instantly share code, notes, and snippets.

View lite1979's full-sized avatar

Lite lite1979

  • QZ Industries, LLC
  • Buffalo, NY 14216
View GitHub Profile
private void appendStarSlices(ByteArrayBuilder builder) {
/* Loop through and convert format */
int widthBytes = (int)((getWidth() + 7) / 8);
int heightBytes = (int)((getHeight() + 7) / 8);
int x = 0;
int y = 0;
int bit = 0;
int byteVal = 0;
boolean[] imgData = getImageAsBooleanArray();
[DEBUG] 2016-07-12 11:40:02,418 @ qz.ws.PrintSocketClient:?
Message: {"call":"printers.find","promise":{},"params":{"query":"88"},"timestamp":1468338002412,"uid":"kts46o"}
[WARN] 2016-07-12 11:40:02,424 @ qz.ws.PrintSocketClient:?
Bad signature on request
[INFO] 2016-07-12 11:40:03,015 @ qz.common.TrayManager:?
Allowed localhost to access connected printers
[DEBUG] 2016-07-12 11:40:03,016 @ qz.printer.PrintServiceMatcher:?
Searching for PrintService matching 88
[DEBUG] 2016-07-12 11:40:03,017 @ qz.printer.PrintServiceMatcher:?