Cannot print matlab graph file

Dear everyone who can help me,
Would you please advise me due to unable to print matlab graph.
The error written as stated below:
Warning: Failed in memory BitBlt (gle00000008)
> In C:\Program Files\MATLAB\R2012a\toolbox\matlab\graphics\hardcopy.p>hardcopy at 28
In graphics\private\render at 142
In print>LocalPrint at 280
In print at 237
In graphics\private\printdlg_deprecated at 66
In printdlg at 62
In printpreview>onPrint at 1000
Warning: Failed in memory BitBlt (gle00000008)
> In C:\Program Files\MATLAB\R2012a\toolbox\matlab\graphics\hardcopy.p>hardcopy at 28
In graphics\private\render at 142
In print>LocalPrint at 280
In print at 237
In graphics\private\printdlg_deprecated at 66
In printdlg at 62
In printpreview>onPrint at 1000
Warning: Negative data ignored
Warning: Negative data ignored
> In legendcolorbarlayout>doParentResize at 335
Warning: Negative data ignored
> In legendcolorbarlayout>doParentResize at 335
In getfigurefordesktopclient>fig2client at 21
In getfigurefordesktopclient at 12
Warning: Negative data ignored
Warning: Negative data ignored
> In legendcolorbarlayout>doParentResize at 335
In getfigurefordesktopclient>fig2client at 21
In getfigurefordesktopclient at 12
Thank you very much in advance
Best regards
Taufan

3 个评论

How exactly do you try printing? (Command? Menu?)
Does this happen only with THIS figure or also plot(1:10) simple figure?
Does the problem happen even when you are not using log plots?
The problem happens when I print in any plots

请先登录,再进行评论。

回答(3 个)

Christoph Wehrli
Christoph Wehrli 2012-12-12

5 个投票

same problem occurred with a new printer for some figures but not with others. I tried set(gcf,'Renderer','OpenGL') for the troublesome figure, and bingo it printed OK.

5 个评论

This solution worked for me, too.
Worked too here...
Thanks, it works for me.
Bam! Fixed it. Thanks.
It works
Thanks alot

请先登录,再进行评论。

Hessam
Hessam 2012-4-6

0 个投票

Got the same warning Especially using neural network toolbox, I need to get the performance plot saved. But the plot, like the graphical output of some other toolbox, does not have the save option.
Francois Doucet
Francois Doucet 2012-5-7

0 个投票

Same here:
Warning: Failed in memory BitBlt (gle00000008) > In C:\Program Files\MATLAB\R2012a\toolbox\matlab\graphics\hardcopy.p>hardcopy at 28 In graphics\private\render at 142 In print>LocalPrint at 280 In print at 237 In graphics\private\printdlg_deprecated at 66 In printdlg at 62 In printpreview>onPrint at 1000

类别

帮助中心File Exchange 中查找有关 Printing and Saving 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by