Re: Adding a printer to OpenOffice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2007-02-12 at 16:11 -0600, Frank Cox wrote:
> I want to automatically create a .ps file from a html file using a script on
> this FC6 machine.
> 
> It seems to me that OpenOffice should fit this bill as it can load a html file
> and print to a PostScript file.  However, doing this automatically from the
> commandline is becoming a challenge.
> 
> I thought I might be able to set up a printer using spadmin that would simply
> print to a file, then use a command like:
> 
> ooffice -pt textfileprinter document.html
> 
> Unfortunately, I have run into a roadblock here in that, on my installation of
> OpenOffice, when I run /usr/lib/openoffice.org2.0/program/spadmin and select
> "new printer" the options "Add a printer" (and "Import printers from a
> StarOffice intallation", though this one is not relevant) are greyed out and
> the only selections that I can make are "Connect a fax device" or "Connect a
> PDF converter".
> 
> So how can I add a printer to OpenOffice that will print to a Postscript file?

I might have the syntax wrong - but I think it can be done in AbiWord
via

abiword --print=foo.ps foo.html

abiword is in extras
You might need a plugin in AbiWord to open html files, I don't know.

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux