Linux Agora Forums  

Go Back   Linux Agora Forums > Linux > Desktop Software

Reply
 
Thread Tools Display Modes
  #1  
Old 06-07-2006, 04:42 AM
benjaminq's Avatar
benjaminq benjaminq is offline
Libranet Alumni
Member
 
Join Date: May 2006
Location: Munich, Germany
Posts: 101
Default Setting up the kprinter-dialog in OpenOffice

You may know the problem, OOorg detects the CUPS printers but you decided that you want to send the letter by FAX (facsimile) directly, or want to deploy a function that is only accessible through the native printing dialog of KDE. Here is how to get it working and keeping the OOorg solution in place:

As root in the command line you have to call the program "spadmin". If it does not come up you may want to do a "updatedb" (and wait for a minute or two) before searching the exact path to spadmin with "locate spadmin" e.g. /usr/lib/openoffice/program/spadmin (leave out all "")

Spadmin comes with a GUI to add new (and configure existing) printers for OOorg. Select "New printer", and "Connect a PDF converter", then select "The default driver". In the following you can define the appropriate commandline and the default printing directory. The command line should read
Code:
kprinter --stdin
Then you can label the printer as e.g. "a_kprinter_dialog" (to ensure it will be on top of the list). OK and finished.

OOorg will have to be restarted before you can select your new "printer" which will do nothing else than piping the job to kprinter where you can access all the functions that KDE provides.

BEnjamin
__________________
How do I know what I think before I hear what I say?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:57 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.