3 @@ -82,7 +82,7 @@ int get_device_id(const int port, const
4 if (port == USB || port == CUSTOM_USB) {
7 - sprintf(device_file1, "/dev/usb/lp%d", portnumber);
8 + sprintf(device_file1, "/dev/lp%d", portnumber);
9 sprintf(device_file2, "/dev/usblp%d", portnumber);
10 fd = open(device_file1, O_RDONLY);
12 @@ -142,7 +142,7 @@ int open_printer_device(const int port,
16 - sprintf(device_file1, "/dev/usb/lp%d", portnumber);
17 + sprintf(device_file1, "/dev/lp%d", portnumber);
18 sprintf(device_file2, "/dev/usblp%d", portnumber);
20 } else if (port == PARPORT) {