Cannot print matlab graph file

2 views (last 30 days)
Taufan Abadi
Taufan Abadi on 28 Mar 2012
Commented: Ali Kandil on 13 Nov 2019
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 Comments
Walter Roberson
Walter Roberson on 7 Apr 2012
Does the problem happen even when you are not using log plots?
Taufan Abadi
Taufan Abadi on 8 Apr 2012
The problem happens when I print in any plots

Sign in to comment.

Answers (3)

Christoph Wehrli
Christoph Wehrli on 12 Dec 2012
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 Comments
Eric T
Eric T on 9 Jan 2015
Bam! Fixed it. Thanks.
Ali Kandil
Ali Kandil on 13 Nov 2019
It works
Thanks alot

Sign in to comment.


Hessam
Hessam on 6 Apr 2012
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 on 7 May 2012
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

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!