help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "GL2PS warning: unknown token in buffer" error when using "print" co


From: Pantxo
Subject: Re: "GL2PS warning: unknown token in buffer" error when using "print" command in octave 4.2.1 w64 in command window
Date: Wed, 20 Sep 2017 01:04:21 -0700 (MST)

Yan Zhang wrote
> Hi Folks,
> 
> After I  downloaded and extracted octave-4.2.1-w64.zip, I tried running
> plot and print commands in a command windo, but got an error message as
> shown in attached screenshot:
> 
> [cid:image001.png@01D3313A.E5D0D8D0]
> 
> The program then hang up with mouse cursor remained flashing. The plot and
> print commands do work in the GUI mode, though.
> 
> Since I really need to run octave in command window, could anyone give me
> a hint about how to fix this?
> 
> Thanks a lot!
> 
> 
> 
> 
> Best Regards,
> 
> Yan
> 
> _______________________________________________
> Help-octave mailing list

> Help-octave@

> https://lists.gnu.org/mailman/listinfo/help-octave
> 
> 
> image001.png (57K)
> <http://octave.1599824.n4.nabble.com/attachment/4684960/0/image001.png>

Hi,

This is a known, graphics diver dependent, bug on Windows with the fltk
toolkit: 

https://savannah.gnu.org/bugs/index.php?47337

The octave-cli.exe program only has fltk and gnuplot toolkits so if you
really need to use the command line you have two options:
* use gnuplot: 
    close all; graphics_toolkit ("gnuplot");
* try to figure out if the main Octave executable can be launched with the
"--no-gui" option. I don't know how to do this on Windows but on linux it
would be "octave --no-gui". This wil launch another octave flavor, in
command line but with Qt toolkit enabled.

Pantxo
 



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]