SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does somebody know how to configure slacware 8.1
in order to create PDF-documents from OpenOffice.
I have installed the ghostscript-package, and according to
the manual for openoffice (below) I just have to point to
ghostscript.
I have tried but it doesnt work . .
Connecting a PostScript for PDF Converter
If a PostScript for PDF converter such as Ghostscript or Adobe Acrobat Distiller(tm) is installed on your computer, you can quickly create PDF documents in OpenOffice.org. 1. Click New Printer. This opens the Add Printer dialog. 2. Select Connect a PDF converter. Click Next. 3. Choose whether to use the default driver, the Acrobat Distiller driver or another driver. Click Next. If you are not using the default driver or the Acrobat Distiller driver, select the appropriate driver and click Next. 4. In the next dialog, enter a command line with which to communicate with the PostScript->PDF Converter. Moreover, enter the directory where the PDF files created should be saved. If you do not provide this directory, the user's home directory will be used. In the command line of each created PDF document "(TMP)" is replaced by a temporary file and "(OUTFILE)" by the target file, the name of which is created from the document name. If "(TMP)" occurs in the command line, the Postscript code is transmitted in a file, otherwise via standard input (i.e., as a pipe). If Ghostscript or Adobe Acrobat Distiller is in the search path, you can use one of the predefined command lines. Click Next. 5. Assign a name to your new PDF converter. Click Finish. You can now create PDF documents by printing to the converter that has just been created.
It is difficult to say for sure, but text you entered I would think is intended for MS Windows.
I use OpenOffice.Org 1.0.1, and to create a PDF I do the following.
Create or load the document desired.
Select File->Print
Select the "Generic Printer" and configure the properties.
Select the "Print to File" option.
Enter the desired location and name. I do NOT enter the PDF extension.
Leave the File type as Postscript. (I could not get the PDF file output to load with Acrobat reader. But it might not be setup though.)
Print the document.
From a console prompt in the directory you used. Enter the command "ps2pdf in_filename out_filename.pdf"
The output file is now Acrobat PDF.
The program ps2pdf will convert most any postscript level 1 or level 2 file into a PDF wrapper.
This post really has nothing to do with Slackware though. It is more General Linux and OpenOffice application.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
I had a relatively easy getting the PDF converter to work (once I got OOo to install correctly). You really should download OOo 1.0.1, it's get some good fixes. . . But, it shouldn't matter for this:
Once you've got OOo installed correctly, there should be a directory
someplace like /usr/local/OpenOffice.org1.0.1
Under that directory, there is a file called spadmin. This is your printer
administration program. run that (as root -- make sure you have DISPLAY
set correctly).
Choose New Printer. . .
Choose Connect a PDF converter
Next >>
The default driver
Next >>
There is probably a default command line listed. Choose that, but make sure the path to your gs is correct.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.