W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2009

Re: Printing on Mac OS X.

From: Lucinda DeWitt <ladewitt@lucindadewitt.com>
Date: Thu, 03 Dec 2009 22:12:20 -0600
Message-ID: <4B188C24.6010404@lucindadewitt.com>
To: Pascal <abo.pignard@wanadoo.fr>
CC: Amaya Mailing List <www-amaya@w3.org>
Pascal,
I tried printing (to Postscript) the Amaya splash page which comes up
when the program opens and my own home page which is pretty basic xhtml 
(both the online version at lucindadewitt.com and the file from my hard 
drive).  None of the .ps files even approximated what the pages should 
look like.

I was able to print the source code (this IS an improvement), but there 
doesn't seem to be any way to have the file contain the Amaya line 
numbers (which would be helpful) so it remains easier to just print code 
from TextEdit.

And there's still the problem of not being able to specify a different 
location . . . were you able to do that?

Of course, I don't have a postscript printer, so I have to view these 
files in other software (I used Preview and AcrobatPro, which convert 
the .ps to .pdf, (Acrobat Reader wouldn't open the .ps files), 
MacGhostView which supposedly displays the .ps file directly), and an 
online psviewer.  I also opened them in Photoshop.  None of these views 
was even close to the screen view of the pages . . .
Perhaps other people are using other ways of displaying the .ps files 
that seem more successful?

Given the above, I'm not seeing any big step forward here. Especially 
compared to how printing works in every other program I use (free or 
otherwise).

Lucinda



Pascal wrote:
> Hi Irène.
> Great. A big step has been made ;-) Thanks.
> 
> I tried with Amaya 11.3 and Mac OS X 10.4 PPC.
> With a simple HTML file, it's ok.
> 
> But I got an error with MathML file :
> 
> $ pstopdf n1a.ps
> %%[ Error: undefined; OffendingCommand: llr; ErrorInfo: CharOffsets 
> fonts/Times-Italic%%[ Flushing: rest of job (to end-of-file) will be 
> ignored ]%%
> %%[ Warning: PostScript error. No PDF file produced. ] %%
> pstopdf failed on file n1a.ps with error code -31000
> 
> HTH, Pascal.
> http://blady.pagesperso-orange.fr
> 
> 
> 
> 
> Le 2 déc. 09 à 12:39, Irene Vatton a écrit :
> 
>>
>> Le vendredi 27 novembre 2009 à 12:52 +0100, Pascal a écrit :
>>> Hi Peter.
>>>
>>> Is there a way to generate a PostScript file with present Amaya
>>> source without using standard Mac OS printing services?
>>> It would be a middle way as PS file can be opened and printed or
>>> translated to PDF.
>>
>> Normally it will be possible with the next 11.3 release.
>>
>>>
>>> Regards, Pascal.
>>> http://blady.pagesperso-orange.fr
>>>
>>>
>>>
>>>
>>> Le 19 nov. 09 à 20:49, Peter Kerr a écrit :
>>>
>>>>
>>>> On 19/11/2009, at 10:07 PM, Irene Vatton wrote:
>>>>
>>>>> ...
>>>>
>>>>> Yes, today printing text require postscript.
>>>>> I don't have time to work seriously on the printing.
>>>>>
>>>>>
>>>> ...
>>>>> Amaya is not able to send the generated file to a printer. If you
>>>>> have a
>>>>> batch command able to do it (like lpr on Linux platforms), you can
>>>>> insert that command in the print dialog.
>>>>
>>>> MacOS-X uses an unnatural combination of cups for printing
>>>> and its native Quartz graphics engine with pseudo display pdf.
>>>>
>>>> Applications which use Apple's Text Services for Unicode
>>>> and the Quartz rendering engine can use Apple's Print dialog,
>>>> which offers options of print to paper, or to file, .ps or .pdf
>>>>
>>>> I'm sorry I don't have the programming skills to compile
>>>> a version of Amaya that takes advantage of this
>>>>
>>>> Peter Kerr
>>>>
>>>>
>>>
>>>
>>>
>> -- 
>> Irene Vatton <Irene.Vatton@inria.fr>
>> INRIA
>>
>>
> 
> 
> 
> 
> 

-- 
Lucinda DeWitt
DeWitt DeConstruction
2021 East 34th Street
Minneapolis, MN  55407
(612) 721-6290
http://lucindadewitt.com
ladewitt@lucindadewitt.com
Received on Friday, 4 December 2009 04:12:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:42 UTC