Koozali.org: home of the SME Server

Announce: PDF-pver-LAN RPM

Craig Jensen

Re: Announce: PDF-pver-LAN RPM
« Reply #15 on: March 30, 2003, 10:43:03 AM »
Robert,

  Remove the ghostscript-fonts, then re-install both with the single line command from /opt/printpdf:
#rpm -Uvh --nodeps /opt/printpdf/ghostscript-fonts-6.52-8.i386.rpm ghostscript-5.50-3.noarch.rpm

They need to be installed together.

Craig

Robert Harlow

Re: Announce: PDF-pver-LAN RPM
« Reply #16 on: March 30, 2003, 04:58:56 PM »
Craig

<#rpm -Uvh --nodeps /opt/printpdf/ghostscript-fonts-6.52-8.i386.rpm ghostscript-5.50-3.noarch.rpm>

This is fundamentally the same as the last line in the internal install.sh file. This is the stage I have not been able to get to complete.

The included rpm files, for the install.sh to work on, simply aren't there. Have you switched the file names or something? I asked before if the install.sh's last line was correct. Please would you check it once again, it doesn't make sense to me [not that it should BTW as I am not so experienced to decide]. I keep checking with Midnight Commander and DIR but those files don't exist here, other files with switched names do exist but they are not the ones being called by the install.sh originally or your command line statement. Please clarify.

I assume you can't support those [newer?] rpm files to which Dustin has referred.

best wishes, Robert

Robert Harlow

Re: Announce: PDF-pver-LAN RPM
« Reply #17 on: March 30, 2003, 05:19:28 PM »
Craig

In my foolishness (as opposed to wisdom) I decided that you got the word *fonts* in the wrong place in the wrong filename's rpm. As the previous attempt got nowhere I thought that it would be OK to experiment with the word *fonts* switched around. The following command is almost exactly what is in the install.sh file (that failed to install properly)...

<<#rpm -Uvh --nodeps /opt/printpdf/ghostscript-6.52-8.i386.rpm ghostscript-fonts-5.50-3.noarch.rpm>

...and this ran more fully but is still wrong(?). I get the same issues as I got before and the ones that Dustin reported. I can't show you the displayed text on the server's display as I don't know how to get the characters out of the screen buffers or whatever. Things are back to their faulty normal. It still doesn't work even after the correction to the command line statement. Two warning lines and that chinese error.

rpm -q ghostscript-font ----->installed
rpm -q ghostscript ---->not installed

I'm back to square one. Are you sure that this thing works? And are you sure I don't need to use those two updater rpm's, that Dustin specified, to get PDFoverLAN to install and work properly?

best wishes, Robert

Robert Harlow

Re: Announce: PDF-pver-LAN RPM
« Reply #18 on: March 30, 2003, 11:32:41 PM »
Craig

Thank you for the off-list notes. Yes, of course I will assist in any way I can to get this thing implemented. Preferably to install more reliably and particularly in getting it to produce PDF's of the sort of quality I expected here on a SME5.6u2 platform.  -----> *PDFoverLAN must work, work well, and produce beautiful documents* <-----

I would have to advise lame SME5.6u2 users [like me] to implement the current iteration of PDFoverLAN with -great caution-... I have now removed it. I understand that 5.6 might fare as badly but I cannot confirm. If your server is at 5.6u2 then it is unlikely you will be rewarded with nice PDFs.  Craig is investigating and will, no doubt, crack the problem(s) in due course.

best wishes, Robert

Dustin Blad

Re: Announce: PDF-pver-LAN RPM
« Reply #19 on: March 30, 2003, 11:50:28 PM »
Robert,
     These are the files that I have installed with 5.6 u2 with:
glibc-2.2.5-43.i386.rpm
glibc-common-2.2.5-43.i386.rpm
and it is working superbly. These files can be found at
http://www.rpmfind.net and will also fix mysql ODBC problems that you might have:

As for PDF over LAN these are the files that I have now:

XFree86-libs-4.2.0-8
XFree86-font-utils-4.2.0-8
XFree86-xfs-4.2.0-8
chkfontpath-1.9.5-2
ttfonts-1.0-9
ttfonts-ja-1.2-8
urw-fonts-2.0-17
Omni-0.5.1-3
VFlib2-2.25.6-4
ghostscript-6.52-9.4
ghostscript-fonts-5.50-3

which can be found by:

rpm -q XFree86-libs
rpm -q XFree86-font-utils
rpm -q XFree86-xfs
rpm -q chkfontpath
rpm -q ttfonts
rpm -q ttfonts-ja
rpm -q urw-fonts
rpm -q Omni
rpm -q VFlib2
rpm -q ghostscript
rpm -q ghostscript-fonts

Notice that I am using ghostscript-6.52-9.4 which seems to work great because the previous version gives errors about some Chinese stuff. Anyhow, you can find this RPM as well as MANY RPM's at http://www.rpmfind.net/linux/rpm2html/search.php?query=ghostscript
Make sure you get the redhat 7.3 updates.
I am running this setup perfectly.

As for copying and pasting, USE putty and ssh to connect to your box if you are using a windows client. Then you can copy and paste to your hearts content.
Hope this helps! Good Luck!

Robert Harlow

Re: Announce: PDF-pver-LAN RPM
« Reply #20 on: March 31, 2003, 12:02:46 AM »
Dustin

Putty holding Windows together! Yes, I like that, certainly will, THANKS.

Earlier I did have a very amateur-ish go with both the updated ghostscript file (which installed without errors as you indicated) but I was still producing poor & bloated PDFs. The cups file gave me dependency issues which I tried even more amateurishly to follow and resolve but just got deeper and deeper into further dependencies - apparently. It was then I decided to call it a day and removed everything.

I think Craig will look at your notes above soon enough and sort things out:-)

Once again my sincere thanks. I'm off to dig into some putty now.

best wishes, Robert

Dustin Blad

Re: Announce: PDF-pver-LAN RPM
« Reply #21 on: March 31, 2003, 12:04:04 AM »
I forgot to mention:
If you need a good file lister to use to disply pdf's as well as other files:
http://www.cjgexplorer.com.ar/
CJG Exlorer is the simplest lister that I have seen.  I have deployed this solution in an office of real estate agents and it works great.
1. Users Print the PDF from their desktop
2. Users Go to the website and view the PDF documents in an intuitive split screen interface.
PDF over LAN and CJG will do this.