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 Commenti

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

Accedi per commentare.

Risposte (3)

Christoph Wehrli
Christoph Wehrli il 12 Dic 2012

5 voti

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 Commenti

Joerg
Joerg il 17 Lug 2013
This solution worked for me, too.
Worked too here...
Thanks, it works for me.
Eric T
Eric T il 9 Gen 2015
Bam! Fixed it. Thanks.
Ali Kandil
Ali Kandil il 13 Nov 2019
It works
Thanks alot

Accedi per commentare.

Hessam
Hessam il 6 Apr 2012

0 voti

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 il 7 Mag 2012

0 voti

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

Categorie

Scopri di più su Printing and Saving in Centro assistenza e File Exchange

Prodotti

Richiesto:

il 28 Mar 2012

Commentato:

il 13 Nov 2019

Community Treasure Hunt

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

Start Hunting!

Translated by