/*
-* "$Id: pap.c 6911 2007-09-04 20:35:08Z mike $"
+* "$Id: pap.c 7010 2007-10-10 21:08:51Z mike $"
*
* © Copyright 2004 Apple Computer, Inc. All rights reserved.
*
if (argc == 1 || (argc == 2 && strcmp(argv[1], "-discover") == 0))
{
- /* If listDevices() didn't find any devices or returns an error output a
- * legacy style announcement.
- *
- */
- if (listDevices() <= 0)
- puts("network pap \"Unknown\" \"AppleTalk Printer Access Protocol (pap)\"");
+ listDevices();
return 0;
}
/* Make sure it's okay to use appletalk */
if (!okayToUseAppleTalk())
{
- fprintf(stderr, "ERROR: AppleTalk disabled in System Preferences\n");
+ fprintf(stderr, "INFO: AppleTalk disabled in System Preferences\n");
return -1; /* Network is down */
}