Koozali.org: home of the SME Server

PDF printing

Glenn Tm Pettit

PDF printing
« on: January 02, 2003, 12:38:03 AM »
I have attempted the PDF printing but nothing gets created I followed the doc... any ideas. I am not geting any errors from the server not on the windows... the only thing that is different is the unil. postscript on the windows box is 1.06 not the 1.05...

Craig Jensen

Re: PDF printing
« Reply #1 on: January 02, 2003, 01:45:39 AM »
I assume you used a howto similar to

http://www.acenet-tech.org/cdj/install_PDF_over_LAN/

If so, w/out knowing the ver of SME you are using, I would not know where to start.

BTW, The how-to referenced above is a modification of one authored by Lasse Johansson with newer packages.

What is supposed to happen is that you have on your client boxes (windows) a new printer option when you go to file/print w/in an application ("PDF-printer" if you followed this howto).  When you choose to print to this printer you get a few seconds (depending on your server and client configuration i.e. CPU speed, RAM, etc, of course) of pause on the client, then adobe opens up with the file as a .PDF.  On you server (SME box) two files are ceated in /home/e-smith/files/ibays/pdfdrop/html ...namely your_file.log and your_file.pdf, corresponding to the name given the file from the application you are printing from.

From there, you can do what you want with the file.  Anyway, you may already know all of the above, but w/out more info, I could not tell you what you may be encountering :-)

Craig Jensen

Glenn Tm Pettit

Re: PDF printing
« Reply #2 on: January 02, 2003, 02:46:05 AM »
I am running the 5.1.2 and its not even creating the log file... I will have to look at the updated doc... i was looking at the old one.. it took about 3 hours to locate many of the package that it required tey were out of date.

The new Doc looks like it will hit the spot.. i will have to work on it when i get home... thanks...

Steve Lewis

Re: PDF printing
« Reply #3 on: January 02, 2003, 07:27:10 AM »
Craig,

Has this been installed on 5.5 or 5.6b7?

Steve

Craig Jensen

Re: PDF printing
« Reply #4 on: January 02, 2003, 07:59:07 AM »
The how-to on my site has been successful on SME 5.5.  The packages are all up-to-date with rawhide rpms.  Success on 5.6b7 is not known by me :(

Craig Jensen

Glenn Tm Pettit

Re: PDF printing
« Reply #5 on: January 02, 2003, 09:16:53 AM »
the only thing i am not able to do it this :

We now have all the required (and a few not so required...) packages installed.
To check this you can type:

# ps2 ...followed by a TAB and you should end up with the following line:

ps2ascii ps2epsi ps2pdf ps2pdf12 ps2pdf13 ps2pdfwr ps2ps
 

i get :bash: ps2: command not found

Craig Jensen

Re: PDF printing
« Reply #6 on: January 02, 2003, 09:28:12 AM »
Are you hitting enter, or tab?  just type ps2 then hit TAB twice without hitting enter.

Craig Jensen

Glenn Tm Pettit

Re: PDF printing
« Reply #7 on: January 02, 2003, 09:35:48 AM »
nope it may not work via the termal windows ...the appgate product that i am using.

Glenn Tm Pettit

Re: PDF printing
« Reply #8 on: January 02, 2003, 09:36:54 AM »
I went through the how-to htat you have and i am not sure what it wrong i may be me or who knows...

guestHH

Re: PDF printing
« Reply #9 on: January 02, 2003, 11:27:34 AM »
I know the below set works for me on 5.1.2 and 5.5. It's based on the original how-to but I didn't check the differences with the one you guys are looking at.

http://www.star-support.com/downloads/mitel/contrib/pdf_printer/

Maybe it helps.

Regards,
guestHH

Lasse Johansson

Re: PDF printing
« Reply #10 on: January 02, 2003, 03:16:31 PM »
I see that my original how-to seems to be available at several different URLS at the moment.

I really don't mind, except for the fact that there might be different versions of "the same document" floating around at the same time.

I really should have done it before, but my present version at http://e-smith.saxdalen.com SHOULD now be upgraded. If you find any mistakes in it, please inform me (off list) so that I can take care of it.

Also, it should be nice to include a line pointing to http://e-smith.saxdalen.com in any "mirror copies", as reference...

Best Whishes for the new year!

Charlie Brady

Re: PDF printing
« Reply #11 on: January 02, 2003, 08:54:51 PM »
Lasse Johansson wrote:

> Also, it should be nice to include a line pointing to
> http://e-smith.saxdalen.com in any "mirror copies", as
> reference...

The usual way for authors to ensure that that happens is to include a link in the text:

  The latest version of this document can always be found at ....

Then anyone finding a mirrored copy can always check for a newer version.

Charlie

Matt Thompson

Re: PDF printing
« Reply #12 on: January 08, 2003, 06:39:13 PM »
Lasse,
I noticed a few of the links wheren't working (to rpmfind.net) I haven't located them on rpmfind.net as http://www.acenet-tech.org/cdj/install_PDF_over_LAN/ has them there and it saves me searching :o) ).
Still to install, will keep you informed.
Thanks for the howto,
Matt

Matt Thompson

Re: PDF printing
« Reply #13 on: January 08, 2003, 07:23:38 PM »
Worked a treat, the only thing that was different from the HowTo was I didn't get an error when installing the print drivers on my win98 box (I am guessing cos it already has postscript print drivers installed).
Thanks,
Matt

PS. I am using SME 5.5

Matt Thompson

Re: PDF printing (possible enhancement)
« Reply #14 on: January 10, 2003, 02:31:29 PM »
I found the quality of the PDF on screen to be sub standard. It looked great when printed, but not on screen. Oddly a change away from the Adobe print driver made this better...
I am using the "HP Color LaserJet PS" driver, I understand this comes as standard with Win9x but don't know about other Windows versions.
The info comes from FreePDF (a free windows PDF Printer) which seems popular. I think the url is www.zipguy.net (can get it if anyone wants...)
Anyway, the HP driver produces good quality PDF's :o)
Laters,
Matt

Matt Thompson

Re: PDF printing (possible enhancement)
« Reply #15 on: January 10, 2003, 03:38:46 PM »
I post this with some embarasment... hopefully no one is still reading this thread!
The HP drivers do provide better on screen quality but the page layout gets lost. Cutting the end of pages etc...
Instead I tried the Apple LaserWriter 12/640 and 16/600 PS drivers, both worked well.
That is the quality was good and the page layout was correct.
Regards,
Matt

Lasse Johansson

Re: PDF printing (possible enhancement)
« Reply #16 on: January 13, 2003, 10:23:04 AM »
Thanks for the suggestion!

The reason why I have NOT suggested using the "HP Color LaserJet PS" driver is that I cannot confirm that it is able to create "real" PDF's:

The problem here shows when you create a PDF containing two types of colour graphics:

Bit mapped colour graphics & vector based colour graphics

If you create such a PDF document (using Adobe FrameMaker for instance) you'll most probably end up with a very poor quality PDF if you use the "HP Color LaserJet PS" driver.

...Try it out, and respond...

_____
Lasse

andrez

Re: PDF printing (possible enhancement)
« Reply #17 on: February 07, 2003, 03:42:32 AM »
i have installed this on sms 5.6
NO ERROR
BUT NO MAKE NOTHIG
i thik is a problem of samba 2.2.7-3
this is part of smb.conf


; Set up our PDF-creation print service
[pdf]
   path = /tmp
   printable = yes
   guest ok = yes
   print command = /usr/bin/printpdf %s
   
   ; There is no need to support listing or removing print jobs,
   ; since the server begins to process them as soon as they arrive.
   ; So, we set the lpq (list queued jobs) and lprm (remove jobs in queue)
   ; commands to be empty.
   lpq command =
   lprm command =

and this my /usr/bin/printpdf

#!/bin/sh
DATE=date +%b%d-%H%M%S
OUTDIR=/home/e-smith/files/ibays/pdfdrop/files
ps2pdf $1 $OUTDIR/$DATE.temp
mv $OUTDIR/$DATE.temp $OUTDIR/$DATE.pdf
rm $1

i have install all ps2pdf work fine if i make a pdf from ps