This message indicates that the printer name is invalid or otherwise incorrect. Click on Start | Run, and enter the same UNC path to see if the printer can be accessed manually. If attempting to set the printer as default, the printer name and the share name must match exactly (case sensitive also). It is possible that there is a DNS issue as well. If so, attempt to connect to the printer by clicking on Start | Run and entering the same path to the printer that was used in the trace file. This error also may occur if the print server is shut down or offline.
Note: Apparently TCP/IP printers cannot be mapped to XP Embedded systems.
Additional note: If you get an 1801 in addition to the 71 message (shown below), that may be indicative that the printer is being shared on a client machine and the number of connections to that client machine has been exceeded. Go to Start | Run, enter WINVER and see what the OS is. If the OS is a client machine as opposed to a server, share the printer from a server class machine instead.
13:52:17 Error capturing printer: 71 No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.
13:52:17 Adding printer [\\DME-1\CanoniR1] [39a9ca25-431a-438f-be3b-a5e110c21f68 2/2]
13:52:21 Error adding printer: 1801 The printer name is invalid.
13:52:28 Alert: [X] ScriptLogic Alert An error was encountered while attempting to connect a network printer: ~ ~ \\dme-1\CanoniR1 ~ ~ Error: 1801 The printer name is invalid. ~ To:  , Client Mbox