Re: [Libreoffice] how to print into .ps

2011-11-23 Thread Caolán McNamara
On Tue, 2011-11-22 at 14:30 +0100, Németh László wrote:
 Hi,
 
 Maybe you can change the printer language to Postscript on the Device
 page of the Printer settings in the Printing dialog (it works for me
 on Linux).
 
 By the way, there is an important difference within PDF printing and
 PDF exporting. PDF printing supports EPS embedding (fortunately, like
 the old default PostScript printing),
 but PDF exports have contained only the bitmap preview of the original
 EPS images, yet. Is there any reason to limit EPS embedding to PDF
 printing, eg. PDF compatibility or different PDF creation mechanisms?

It might just be an oversight with the pdf from the printing path going
down the classic printing logic, while the pdf from export to pdf goes
down a render-to-canvas style route where the eps preview is taken. If
we can get embedded eps in the export to pdf route that'd probably be
far more desirable if you want to have a go at that ?

C.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] how to print into .ps

2011-11-22 Thread Petr Mladek
Hi,

if you select Print to File check box in the Print dialog, it
generates .pdf file.

IMHO, if you debug printing bugs, it would be great to see the .ps file
that is send to the printer. Is there any easy way how to get it?


Best Regards,
Petr

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] how to print into .ps

2011-11-22 Thread Christian Lohmaier
Hi Petr, *,

On Tue, Nov 22, 2011 at 1:02 PM, Petr Mladek pmla...@suse.cz wrote:
 if you select Print to File check box in the Print dialog, it
 generates .pdf file.

 IMHO, if you debug printing bugs, it would be great to see the .ps file
 that is send to the printer. Is there any easy way how to get it?

Run spadmin, check disable cups support (cups default print-job
format nowadays is PDF, isn't it?)

You might then want to setup the corresponding PPD manually though...

ciao
Christian
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] how to print into .ps

2011-11-22 Thread Christophe Strobbe


At 13:02 22-11-2011, Petr Mladek wrote:

if you select Print to File check box in the Print dialog, it
generates .pdf file.

IMHO, if you debug printing bugs, it would be great to see the .ps file
that is send to the printer. Is there any easy way how to get it?


My Ubuntu installation under VirtualBox has no printers installed.
When I select File  Print in LibreOffice, the Options tab in the 
Print dialog contains a checkbox for Print to file. Checking this 
checkbox changes the Print button into a Print to File ... button. 
The Print to File ... button opens a Save dialog; this dialog 
contains a File type option where I can choose PostScript, and 
options to choose a file name and a folder. After that, I get a file 
that looks like PostScript to me. (It starts with %!PS-Adobe-3.0 
when I open it in gedit.)
But maybe what you really want to know is how to select the printer 
driver through which the PostScript is generated?


Best regards,

Christophe


--
Christophe Strobbe
K.U.Leuven - Dept. of Electrical Engineering - SCD
Research Group on Document Architectures
Kasteelpark Arenberg 10 bus 2442
B-3001 Leuven-Heverlee
BELGIUM
tel: +32 16 32 85 51
http://www.docarch.be/
Twitter: @RabelaisA11y
---
Open source for accessibility: results from the AEGIS project 
www.aegis-project.eu

---
Please don't invite me to Facebook, Quechup or other social 
networks. You may have agreed to their privacy policy, but I haven't.


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] how to print into .ps

2011-11-22 Thread Michael Stahl
On 22/11/11 13:02, Petr Mladek wrote:
 Hi,
 
 if you select Print to File check box in the Print dialog, it
 generates .pdf file.
 
 IMHO, if you debug printing bugs, it would be great to see the .ps file
 that is send to the printer. Is there any easy way how to get it?

AFAIK on UNIX we don't send PostScript to the printer any more, but PDF.

ah, it is mentioned on the OOo 3.4 beta release notes
http://development.openoffice.org/releases/3.4beta.html

https://issues.apache.org/ooo/show_bug.cgi?id=94173

but i could imagine it would still make sense to be able to produce a PS
file, perhaps disabling that was an unintended side effect?

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] how to print into .ps

2011-11-22 Thread Németh László
Hi,

Maybe you can change the printer language to Postscript on the Device
page of the Printer settings in the Printing dialog (it works for me
on Linux).

By the way, there is an important difference within PDF printing and
PDF exporting. PDF printing supports EPS embedding (fortunately, like
the old default PostScript printing),
but PDF exports have contained only the bitmap preview of the original
EPS images, yet. Is there any reason to limit EPS embedding to PDF
printing, eg. PDF compatibility or different PDF creation mechanisms?

Best regards,
László


2011/11/22 Petr Mladek pmla...@suse.cz:
 Hi,

 if you select Print to File check box in the Print dialog, it
 generates .pdf file.

 IMHO, if you debug printing bugs, it would be great to see the .ps file
 that is send to the printer. Is there any easy way how to get it?


 Best Regards,
 Petr

 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] how to print into .ps

2011-11-22 Thread Petr Mladek
Michael Stahl píše v Út 22. 11. 2011 v 13:35 +0100:
 On 22/11/11 13:02, Petr Mladek wrote:
  Hi,
  
  if you select Print to File check box in the Print dialog, it
  generates .pdf file.
  
  IMHO, if you debug printing bugs, it would be great to see the .ps file
  that is send to the printer. Is there any easy way how to get it?
 
 AFAIK on UNIX we don't send PostScript to the printer any more, but PDF.
 
 ah, it is mentioned on the OOo 3.4 beta release notes
 http://development.openoffice.org/releases/3.4beta.html
 
 https://issues.apache.org/ooo/show_bug.cgi?id=94173
 
 but i could imagine it would still make sense to be able to produce a PS
 file, perhaps disabling that was an unintended side effect?

Ah, I was not aware that PDF was sent to the printer. In this case,
print to file works as expected. It should save exactly the same thing
that it would send to the selected printer.

Thanks you all for explanation.

Best Regards,
Petr

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] how to print into .ps

2011-11-22 Thread Lionel Elie Mamane
On Tue, Nov 22, 2011 at 01:26:13PM +0100, Christian Lohmaier wrote:
 On Tue, Nov 22, 2011 at 1:02 PM, Petr Mladek pmla...@suse.cz wrote:

 if you select Print to File check box in the Print dialog, it
 generates .pdf file.

 IMHO, if you debug printing bugs, it would be great to see the .ps file
 that is send to the printer. Is there any easy way how to get it?

 Run spadmin, check disable cups support (cups default print-job
 format nowadays is PDF, isn't it?)

Other CUPS-using applications have choice between PS, PDF or SVG when
printing to file. See for example evince, gimp or gedit. So unless
there is a good reason not to, we should offer the same
choice. Hmm... that should be a EasyHack.

-- 
Lionel
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice