help-octave
[Top][All Lists]
Advanced

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

Re: .eps file displays with gv but will not print


From: Stefan Pofahl
Subject: Re: .eps file displays with gv but will not print
Date: Wed, 14 May 2008 13:04:55 +0200

Hi Bob

you wrote:
> I think I found the problem, and it must be in either octave or gnuplot.
> There is a line in the CUPS error log for a non-printing file:
> E [13/May/2008:15:03:13 -0700] [Job 818] No %%Pages: comment in header!
As I understand it, it is not bug, but a feature.
That is the difference between *.eps and *.ps,
*.ps documents have pages, but *.eps should not have
pages, as I understand it, *.eps are for usage in documents,
they are not supposed to be stand alone printable documents.

Regards,

Stefan

***


2008/5/14 Bob Odom <address@hidden>:
Thomas,

I think I found the problem, and it must be in either octave or gnuplot.

There is a line in the CUPS error log for a non-printing file:

E [13/May/2008:15:03:13 -0700] [Job 818] No %%Pages: comment in header!

I looked at a file with no problems, and saw that directly below
%%EndProlog  is the line
%%Page: 1 1

I manually edited the non-printing file and added the line "%%Page: 1 1"
directly below the "%%EndProlog" statement. That file now prints.

So the problem is in the generation of the PostScript. This seems to be
a genuine bug, but is it an octave problem or a gnuplot problem?

Bob





On Tue, 13 May 2008, Bob Odom wrote:

> Thomas,
>
> Yes, I am using CUPS. Here are a few lines from the log file:
>
> I [13/May/2008:11:45:45 -0700] Adding start banner page "none" to job
> 814.
> I [13/May/2008:11:45:45 -0700] Adding end banner page "none" to job 814. I [13/May/2008:11:45:45 -0700] Job 814 queued on "super" by "odom".
> I [13/May/2008:11:45:45 -0700] Started filter
> /usr/lib64/cups/filter/pstops (PID 21414) for job 814.
> I [13/May/2008:11:45:45 -0700] Started backend
> /usr/lib64/cups/backend/lpd (PID 21415) for job 814.
> E [13/May/2008:11:45:45 -0700] [Job 814] No %%Pages: comment in header!
>
> The job seems to be sent to the printer, as the printer screen echoes
> "odom file_eps" and then after a while "Done: odom file_eps"
>
> I have exactly the same problem on a different computer also running
> SuSE 10.2 and same installations of octave and gnuplot. I am also using
> CUPS on that machine.
>
> Bob
> On Tue, 13 May 2008, Thomas Weber wrote:
>
>> On 13/05/08 13:08 -0700, Bob Odom wrote:
>>> generates "plot1.eps" just fine. I can display it with 'gv'. However it
>>> will not print from gv. It will not print directly from octave using
>>>
>>> print ('-Pprinter', '-depsc2');
>>>
>>> Nor will it print from the command line with 'lpr -Pprinter plot1.eps'.
>>
>> What print system are you using (probably CUPS). What's in its log
>> files (try setting the loglevel to DEBUG or how it's called there)? Is
>> anything sent to the printer?
>>
>>      Thomas
>>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave



--
Tel.: 0731-3805149
Ochsensteige 48
89075 Ulm
reply via email to

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