Technical Solutions
What steps should I follow to debug problems with printing in MATLAB?
Date Last Modified: Friday, June 26, 2009
| Solution ID: |
|
1-19EFM |
| Product: |
|
MATLAB |
| Reported in Release: |
|
No Release |
| Platform: |
|
All Platforms |
| Operating System: |
|
All OS |
Subject:
What steps should I follow to debug problems with printing in MATLAB?
Problem Description:
I would like to know what steps I should follow to debug printing issues.
Solution:
Consult Technical Note 1206: Printing Guide for information on how to debug printing problems in MATLAB.
http://www.mathworks.com/support/tech-notes/1200/1206.html
If after consulting the tech note, you are still unable to resolve the problem, send the following information to www.mathworks.com/contact_TS.html
1. The output generated by PRINTINFO.M. This file can be downloaded from our Web site and placed on your MATLAB path:
http://www.mathworks.com/support/solutions/files/s31372/printinfo.m
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). For previous versions of MATLAB, you will need to manually zip the files before sending them to The MathWorks Technical Support staff.
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. The MathWorks System Profiler (which you can download from the Related Solution listed below)
c. A printer information gathering tool, which you can download here:
http://www.mathworks.com/support/solutions/files/s31372/printerinfo.exe
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
|
Related Documents/Files:
Related Solutions: