Issue 473 - printing
Summary: printing
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: 605
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oisinboydell
QA Contact: issues@www
URL:
Keywords:
: 474 475 (view as issue list)
Depends on:
Blocks:
 
Reported: 2001-02-25 04:30 UTC by issues@www
Modified: 2003-12-06 14:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description issues@www 2001-02-25 04:30:30 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.??
Comment 1 Olaf Felka 2001-02-26 09:09:37 UTC
*** Issue 475 has been marked as a duplicate of this issue. ***
Comment 2 Olaf Felka 2001-02-26 09:27:10 UTC
*** Issue 474 has been marked as a duplicate of this issue. ***
Comment 3 Olaf Felka 2001-02-26 09:45:46 UTC
As I've seen in printing.dev. This seems to be your issue
Comment 4 oisinboydell 2001-02-26 10:52:30 UTC
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.
Comment 5 oisinboydell 2001-02-26 16:11:47 UTC
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.