Apache OpenOffice (AOO) Bugzilla – Issue 473
printing
Last modified: 2003-12-06 14:52:34 UTC
So when will the code be unlocked for printing? I can print till the cows come home in 5.2, but obviously it's "DISABLED" for some reason in these builds.??
*** Issue 475 has been marked as a duplicate of this issue. ***
*** Issue 474 has been marked as a duplicate of this issue. ***
As I've seen in printing.dev. This seems to be your issue
The printing solution for Linux/Unix in StarOffice uses proprietry code so this was removed for OpenOffice.org. A replacement printing solution using Xprint is available (there is an alternative also being developed). To use Xprint in OpenOffice.org, an environment variable USE_XPRINT must be set to TRUE when building the vcl module. However, the Xprint code didn't make it into the source code of OpenOffice.org build 619 but I am fixing this now. Check dev@printing .openoffice.org for an announcement when the Xprint code has been put into 619 (cvs tag OO619B). Also look at http://printing.openoffice.org for instructions on using Xprint with OpenOffice.org.
I have checked in the Xprint code into CVS branch OO619B. There are 13 modified files all in the vcl module: vcl/unx/inc/i18n_im.hxx vcl/unx/inc/prex.h vcl/unx/inc/salbmp.hxx vcl/unx/source/app/saldisp.cxx vcl/unx/source/app/salinst.cxx vcl/unx/source/gdi/salbmp.cxx vcl/unx/source/gdi/salconfig.cxx vcl/unx/source/gdi/salgdi.cxx vcl/unx/source/gdi/salgdi2.cxx vcl/unx/source/gdi/salgdi3.cxx vcl/unx/source/gdi/makefile.mk vcl/util/makefile.mk vcl/util/target.pmk Just rebuild the updated vcl module with environment variable USE_XPRINT set to TRUE, copy the newly built vcl library (libvclXXX.so) into the program directory of your OpenOffice.org installation (over-write or move the old one) and next time you start OpenOffice.org you will have Xprint support. See www.printing.openoffice.org for more info on using Xprint. If anyone wants a pre-built vcl library with Xprint support for Linux or Solaris so they do not have to build it themselves I can email them a copy (mail me about this, not the list). Known Issues: - If you specify the printer name and xprint server with XPRINTER instead of XPDISPLAY (see www.printing.openoffice.org) then OpenOffice.org may Abort. - If you have more than one printer defined in your printer list (with printtool) then OpenOffice.org may not print to the correct printer or worse, Abort.