This problem can occur when printing to a printer with a name that includes characters other than alphanumeric and underscores. In these situations, the “user-visible name” of the printer differs from the “programmatic name” of its queue, and MATLAB is unable to determine the programmatic name.
There are two solutions to this issue, both of which require administrative privileges. You may need the help of your IT department or a user with administrative privileges to take the following steps.
Simpler, Less Flexible Solution: Rename your printer so that its name includes only alphanumeric and underscore characters. This includes avoiding dots (“.”) in the name of networked printers.
More Complex, More Flexible Solution: Configure your Mac to provide the printer queue information MATLAB requires. You will need root access to perform these steps:
1. In Safari, navigate to "http://localhost:631"
2. Click on the “Administration” tab, and then “Edit Configuration File”
3. At the top of the editable block of text, add these lines:
PrintcapFormat BSD # For Snow Leopard only
4. Click “Save Changes”. It may take 30 seconds or longer for these changes to go into effect.
5. Restart MATLAB.
If this solution to provide the printer queue information does not resolve the issue, you may have to rename your printer as outlined in the first solution. This may happen if your printer name contains square brackets "[ ]", among other unsupported characters.