if ( IS_IPC(conn) )
server_devicetype = "IPC";
else if ( IS_PRINT(conn) )
- server_devicetype = "LPT:";
+ server_devicetype = "LPT1:";
else
server_devicetype = "A:";
if (dev[0] == '?' || !dev[0]) {
if (lp_print_ok(snum)) {
- fstrcpy(dev,"LPT:");
+ fstrcpy(dev,"LPT1:");
} else if (strequal(lp_fstype(snum), "IPC")) {
fstrcpy(dev, "IPC");
} else {
strupper(dev);
if (lp_print_ok(snum)) {
- if (!strequal(dev, "LPT:")) {
+ if (!strequal(dev, "LPT1:")) {
return NT_STATUS_BAD_DEVICE_TYPE;
}
} else if (strequal(lp_fstype(snum), "IPC")) {
/* Behave as a printer if we are supposed to */
if (lp_print_ok(snum) && (strcmp(dev, "A:") == 0)) {
- fstrcpy(dev, "LPT:");
+ fstrcpy(dev, "LPT1:");
}
return NT_STATUS_OK;