You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Loop over printers
for (DWORD i = 0; i < pcbReturned; i++)
{
printerInfo = &pPrinterEnum[i];
printf("[*] Using printer: %s\n", printerInfo->pPrinterName);
// Open printer
res = OpenPrinterA(printerInfo->pPrinterName, &hPrinter, NULL);
if (!res)
{
puts("[-] Failed to open printer");
continue;
}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: