MATLAB: What steps should I follow to debug problems with printing in MATLAB

casedebugdiagnosedriverissueMATLABnote;printprintingproblemsteps;techtroubleshoot

I would like to know what steps I should follow to debug printing issues.

Best Answer

Here are some general guidelines to print from the file menu:
If following these guidelines does not help you resolve the issue, send the following information to MathWorks Technical Support:
1. The output generated by PRINTINFO.m. This file can be downloaded and placed on your MATLAB path.
To run PRINTINFO, open the figure or model that you are trying to print, then pass your print command into PRINTINFO. For example:
surf(peaks)
%The problematic PRINT command might be: print -djpeg mypeaks.jpg
%So, we would use the following PRINTINFO command:
printinfo('print -djpeg mypeaks.jpg')
For more information on PRINTINFO, type the following at the MATLAB command line:
help printinfo
PRINTINFO will automatically zip the generated files if you are using MATLAB 6.5 (R13) or later. For previous versions of MATLAB, you will need to manually zip the files before sending them to MathWorks Technical Support.
2. The file created when you print to a file. To do this, go to File -> Print and select the checkbox labeled "Print to File". When you press OK, you will be prompted for a filename. The file created will be in your current working directory.
3. The output of the following tools, if possible:
a. The WinMSD system information tool if you are using Windows 2000 or Windows NT. You can access this tool by typing winmsd in the Start -> Run menu. Right-click on System Summary and save the results as a text file.
b. MathWorks System Profiler (which you can download from the Related Solution listed below)
c. A printer information gathering tool, which you can download:
This will create a file named "pprofOut.txt" in the same directory that you run "printerinfo.exe".
4. Open the properties for the printer you are trying to use and record:
a. The maximum resolution
b. If this is a color printer
c. The page size the printer uses by default
d. If this is a network printer or a local printer
The following two items may not be required but would be helpful if it is possible to determine them.
e. If color management is activated
f. Which print processor is enabled