Laurent Montel wrote:
> Le Wednesday 16 October 2002 05:48, Barry Rountree a �crit :
>
>>This is also on Mandrake Expert as incident #35156, but since it's much
>>closer to a bug report than a question, I thought I'd cc it here.
>>
>>1) Description: Printer settings in KPresenter are carried over to
>>[Open|Star] Office.
>>
>>2) How to reproduce:
>>
>>Open a multi-page text file with [Star|Open]Office Writer. Print it out.
>>Works perfectly.
>>
>>Using KPresenter, open an arbitrary *.ppt file.
>>File->Print->
>>a) Correct printer selected,
>>b) Print Filtering NOT toggled
>>c) System and Advanced options are all set to default
>>d) Verify we're using CUPS e) Click "Properties", select "US Letter" for
>>page size and "4" pages per sheet.
>>d) Click save. Click ok.
>
>
> Ok you can save in ppt format from kpresenter ? !!!!
>
> It's not possible !
>
>
>
>>e) Click cancel to get back to the original *ppt.
>>
>>***extra bonus buglet: Going back to print properties shows that "4" pages
>>per sheet is still there, but page size has reverted to "A4".***
>>
>>Switch back to [Open|Star] Office Writer, print the document again.
>>
>>OOOPS! It applies the settings from KPresenter.
>
>
> It's not possible kpresenter doesn't change openoffice parameter !
> And openoffice doesn't use kde printer dialogbox.
>
> so your bug report is invalid.
>
It IS possible: The printing dialog of KDE saves the printer option
settings in the ~/.lpoptions file, which is the general file to save
personal printing options for CUPS. It is also used by "xpp" and by the
command line frontends "lp" and "lpr" from CUPS. As OpenOffice.org calls
the "lpr" command to print, option settings done with "kprinter" (the
KDE dialog), "xpp", or "lpoptions" (command line tool of CUPS) are also
used here, as long as OpenOffice.org does not give contradicting options
into the PostScript it sends. And this only happens if you choose the
name of your printer queue in the printing dialog of OpenOffice.org (the
name WITHOUT "<...>") and set options with the "Properties" button. But
not that this only works for printer-specific options as the
"Properties" dialog lists. To change your personal default for n-up
printing (4 pages per sheet) you need to use "kprinter", "xpp", or
"lpoptions".
Till