Lines Matching defs:printerinfo
245 PRINTER *printerinfo;
254 printerinfo = (PRINTER *) g_rdpdr_device[i].pdevice_data;
255 printerinfo->bloblen =
256 printercache_load_blob(printerinfo->printer, &(printerinfo->blob));
259 size += 2 * strlen(printerinfo->driver) + 2;
260 size += 2 * strlen(printerinfo->printer) + 2;
261 size += printerinfo->bloblen;
275 PRINTER *printerinfo;
294 printerinfo = (PRINTER *) g_rdpdr_device[i].pdevice_data;
296 driverlen = 2 * strlen(printerinfo->driver) + 2;
297 printerlen = 2 * strlen(printerinfo->printer) + 2;
298 bloblen = printerinfo->bloblen;
301 out_uint32_le(s, printerinfo->default_printer ? 2 : 0);
306 rdp_out_unistr(s, printerinfo->driver, driverlen - 2);
307 rdp_out_unistr(s, printerinfo->printer, printerlen - 2);
308 out_uint8a(s, printerinfo->blob, bloblen);
310 if (printerinfo->blob)
311 xfree(printerinfo->blob); /* Blob is sent twice if reconnecting */