OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

OpenOffice 1.1.3 / kprinter

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting
View previous topic :: View next topic  
Author Message
stolzpet
Newbie
Newbie


Joined: 03 Nov 2004
Posts: 1

PostPosted: Wed Nov 03, 2004 4:42 am    Post subject: OpenOffice 1.1.3 / kprinter Reply with quote

Hallo,
I installed OpenOffice 1.1.3 on SuSE Linux 9.2.
Now there's no possibility to print with the kde print system (kprinter).
I tried to install kprinter as a generic printer with spadmin but this does not work!
Can someboy help?

Peter Stolz Sad
Back to top
View user's profile Send private message
r_vinoya
Super User
Super User


Joined: 03 Dec 2003
Posts: 619
Location: Somewhere in the Philippines

PostPosted: Mon Nov 08, 2004 9:32 pm    Post subject: Reply with quote

I'm not familiar with installations... But here we use Linux CUPS (Common UNIX Printing System)
_________________
# : - )
Back to top
View user's profile Send private message
andreas.oelkers
Newbie
Newbie


Joined: 18 Nov 2004
Posts: 1

PostPosted: Thu Nov 18, 2004 3:08 pm    Post subject: Re: OpenOffice 1.1.3 / kprinter Reply with quote

stolzpet wrote:
Hallo,
I installed OpenOffice 1.1.3 on SuSE Linux 9.2.
Now there's no possibility to print with the kde print system (kprinter).
I tried to install kprinter as a generic printer with spadmin but this does not work!
Can someboy help?

Peter Stolz Sad


the solution is a simple shell script. ( i choose /tmp/kprinter as example. choose a different directory. /tmp gets cleaned fairly often)


vi /tmp/kprinter

#!/bin/bash
export HOME=/dev/shm/$$/
export PATH=$PATH:/opt/kde3/bin
export DISPLAY=:0.0
cat | /opt/kde3/bin/kprinter -d printer_name_you_want_to_use --stdin

then define a Local Raw Printer with type command pipe
with Device URI pipe:/tmp/kprinter

before your first print the cups server needs access to your display
on the shell type in
xhost +

now try to print to your Local Raw Printer
the first print needs some time, because the access rights for the cups server will be configured.

the kprinter screen should pop up now.

PS: there are tow problems with this solution.
1. if you select the pipe printer in the kprinter dialog you get an endless loop. you need to cancel this job before you can continue printing
2. xhost + will give everyone acces to your display. if this is not acceptebel you have to implement acces only for the user lp

cu Wink
me


Last edited by andreas.oelkers on Sat Nov 20, 2004 3:46 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
jonb
Newbie
Newbie


Joined: 07 Dec 2004
Posts: 2

PostPosted: Tue Dec 07, 2004 8:48 am    Post subject: Use pdf printer Reply with quote

A better way with no apparent drawbacks is to
add the printer as a pdf converter.
Then select 'A specific driver...'
generic printer (T42 enabled)
and then put in the command you want (e.g. /opt/kde3/bin/kprinter --stdin)
and call it 'Kprinter' or some such.

This works as you'd expect with ownerships, permissions all ok.

But what I don't understand, is why OpenOffice shows all the
instances I have set up in KDEprint (for pamphlet printing etc) very nicely,
but fails to acutally run the filters for these instances!
So somehow it is spotting the instances, yet not using them properly with kdeprint.
I'm pretty sure I used to use these in suse 9.0, but now it doesn't work.
Or am I imagining what I thought I could remember (getting old??!! ).
Back to top
View user's profile Send private message
plaurier
Newbie
Newbie


Joined: 07 Feb 2005
Posts: 1

PostPosted: Mon Feb 07, 2005 4:40 am    Post subject: Post subject: OpenOffice 1.1.3 / kprinter Reply with quote

In order to user kprinter under OpenOffice use the following procedure :

- open the directory where your OOo programs reside (mostly : /usr/lib/openoffice/program
- launch spadmin
- modifiy the default printer setup
- replace : 'lp' by 'kprinter'
- save
- done

Now when you print from OOo you should have the Kprinter panel poping up.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group