Koozali.org: home of the SME Server

PDF-over-LAN

Offline sognenovski

  • **
  • 64
  • +0/-0
PDF-over-LAN
« on: July 22, 2006, 05:26:14 PM »
Hi Community

New to Linux/SME (good-bye M$DOS) so be gentle!
Updated this Contrib from a previous Contrib.

In summary
All required RPM’s are in one RPM. (Perhaps there is better way? yum)
pdfdrop ibay is created.
PDF are saved in the pdfdrop ibay and also emailed to the login user.
windozze driver located pdfdrop ibay
No need to edit scripts or reboot.

Download from here for the next few days until I upload it to contribs.org. (20M)

Readme
http://www.goulburnmobilesolutions.com/contrib/smeserver-pdf-over-lan-1.0-01.txt

RPM
wget http://www.goulburnmobilesolutions.com/contrib/smeserver-pdf-over-lan-1.0-01.noarch.rpm



Comments, suggestions and feedback are most welcome. (bugs to Bug Tracker)

Steve
PS: Hats off to the dev team!!!
 :pint:

Offline Snoopyski

  • *
  • 141
  • +0/-0
    • http://www.serviceinfosg.com
PDF-over-LAN
« Reply #1 on: July 23, 2006, 05:27:14 PM »
Hello,

Thanks for the contribs... But how it work ??? !!!

I install the contribs, the Window$ driver...

And I try a Printer Test page... Not file in \\Servername\pdfdrop and nothing in my email...

So where I made a mistake ?

Thanks,

Snoopyski

Offline dsemuk

  • ****
  • 269
  • +0/-0
PDF-over-LAN
« Reply #2 on: July 23, 2006, 05:42:32 PM »
Do you now have an iBay call "pdfdrop" are your PDFs in that?

In an earlier version of PDFdrop it was necessary to manually create the iBay, and set the permissions for users to access it.

Dave
--
Esmith/Mitel/SME server  :-D...

Offline Snoopyski

  • *
  • 141
  • +0/-0
    • http://www.serviceinfosg.com
PDF-over-LAN
« Reply #3 on: July 23, 2006, 06:12:32 PM »
Hello,

We have the ibays created by the contirbs... But nothing found in when I try to print on Generic PostScript Printer...

Any idea ?

Thanks,

Snoopyski

Onizuka

PDF-over-LAN
« Reply #4 on: August 10, 2006, 02:59:00 PM »
Quote from: "Snoopyski"
Hello,

We have the ibays created by the contirbs... But nothing found in when I try to print on Generic PostScript Printer...

Any idea ?

Thanks,

Snoopyski


hi

pdf are created in \\yourserver\pdfdrop\html

check your net path printer \\yourserver\sme7pdf

Offline cool34000

  • *
  • 339
  • +0/-0
PDF-over-LAN
« Reply #5 on: August 20, 2006, 03:17:50 PM »
Sounds to work fine for me... Thanks for this priceless rpm !

Offline Snoopyski

  • *
  • 141
  • +0/-0
    • http://www.serviceinfosg.com
PDF-over-LAN
« Reply #6 on: August 21, 2006, 12:27:16 AM »
Hello,

Now I found where is the trouble...

Quote

Préparation...              ########################################### [100%]
        paquetage ttmkfdir-3.0.9-14.1.EL déjà installé
Préparation...              ########################################### [100%]
        paquetage xorg-x11-font-utils-6.8.2-1.EL.13.25 déjà installé
erreur: Dépendances requises:
        xorg-x11-libs = 6.8.2-1.EL.13.25 est nécessaire pour xorg-x11-xfs-6.8.2-1.EL.13.25.i386
    Résolutions suggérées:
        /home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/xorg-x11-libs-6.8.2-1.EL.13.25.i386.rpm
erreur: Dépendances requises:
        xfs est nécessaire pour chkfontpath-1.10.0-2.i386
    Résolutions suggérées:
        /home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/xorg-x11-xfs-6.8.2-1.EL.13.25.i386.rpm
erreur: Dépendances requises:
        chkfontpath est nécessaire pour urw-fonts-2.2-6.1.noarch
    Résolutions suggérées:
        /home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/chkfontpath-1.10.0-2.i386.rpm
Préparation...              ########################################### [100%]
        paquetage VFlib2-2.25.6-25 déjà installé
Préparation...              ########################################### [100%]
        paquetage sharutils-4.2.1-22.2 déjà installé
erreur: Dépendances requises:
        urw-fonts >= 1.1 est nécessaire pour ghostscript-7.07-33.i386
    Résolutions suggérées:
        /home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/urw-fonts-2.2-6.1.noarch.rpm
An account with the name 'pdfdrop' already exists on this server.


I will try to install all needed rpm's !!!

Thanks,

Snoopyski

Offline cool34000

  • *
  • 339
  • +0/-0
PDF-over-LAN
« Reply #7 on: August 23, 2006, 08:54:20 PM »
How can I authorize my users to print on the pdf printer ? Only the admin can... The ibay is well configured, do I have to check on samba side ?

Thanks.

Offline brick

  • ***
  • 78
  • +0/-0
PDF-over-LAN
« Reply #8 on: August 24, 2006, 03:16:05 AM »
:(
Code: [Select]
wget http://www.goulburnmobilesolutions.com/contrib/smeserver-pdf-over-lan-1.0-01.noarch.rpm
--22:14:41--  http://www.goulburnmobilesolutions.com/contrib/smeserver-pdf-over-lan-1.0-01.noarch.rpm
           => smeserver-pdf-over-lan-1.0-01.noarch.rpm'
Resolving www.goulburnmobilesolutions.com... 58.105.225.109
Connecting to www.goulburnmobilesolutions.com|58.105.225.109|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
22:14:42 ERROR 403: Forbidden.

Offline cool34000

  • *
  • 339
  • +0/-0
PDF-over-LAN
« Reply #9 on: August 24, 2006, 01:36:10 PM »
Tryed the site yesterday, it was down too...

Offline sognenovski

  • **
  • 64
  • +0/-0
PDF-over-LAN
« Reply #10 on: August 24, 2006, 04:46:07 PM »
Apologies, Needed the bandwidth. back up for a little longer

Quote
How can I authorize my users to print on the pdf printer ? Only the admin can... The ibay is well configured, do I have to check on samba side ?

Create user account/s (control panel) on the windoooze box. Use the SME user name and password for the account/s. Login and print to the SME pdf printer. User checks the email inbox....Wammo a pdf attachment !

For those who like to preserve the colour. Use the M$ driver MS Publisher imagesetter under Generic. Though Windoooze does take a long time to select and displays 'Access Denied'.

Neverless I have it working.
http://www.goulburnmobilesolutions.com/contrib/M$_Driver.pdf
Quote
I will try to install all needed rpm's !!!
Dont know why, I'll check my notes....has anyone else had much success?
Quote
Sounds to work fine for me... Thanks for this priceless rpm !
Apprecaited!

Thanks
Steve

Offline cool34000

  • *
  • 339
  • +0/-0
PDF-over-LAN
« Reply #11 on: August 24, 2006, 10:55:09 PM »
Thanks for the tip of color... I'll try it tomorrow.

I already created the same user with same pass on my w2k3 server and on SME...
I can see it's working : when i browse my SME, there is no login message (as it's the same) and each users can see his own home directory.
This is working fine.

I install the driver, no problem, on sme7pdf or something like that. But in the printer panel of my winbox, i see access denied for the printer status.
If i login with the admin, the printer becomes ready and both functionnality are working fine (dropping to ibay and mailing)...
My users are admin of their own machine, so adding/using a printer driver is not a problem.

I tryed to make "everyone" owner of the pdf ibay with read+write... But it didn't work much better...

Then I cryed for help :-D

Offline sonoracomm

  • *
  • 208
  • +0/-0
    • http://www.sonoracomm.com
PDF-over-LAN
« Reply #12 on: August 29, 2006, 05:28:32 AM »
Hi,

First off, thanks very much for packaging up this rpm.  I appreciate it very much.

I have been using the pdfdrop function for years and I have installed it many times for my customers as well.  It is quite simple and useful.

I just installed your rpm on my own new server.  Please don't take this wrong as I only mean to help.  I found several problems and several things I would like to change.  Perhaps it may help you if I elaborate.  

One thing I have always changed in the past has to do with basic behavior.  I prefer that the system just deposit pdf files in the SMB-accessible file share as opposed to having to retrieve them via HTTP.  This is done simply by editing the printpdf script and changing 'html' to 'files'.

After installing the rpm, I found the printpdf script in the 'templates-custom' directory.  I suspect this is a bug?  I moved it to /usr/local/sbin.  There may be a better place, but this seems apropriate.

I changed the smb.conf template fragment to name the samba printer 'smb'.  This is probably just because I'm a creature of habit and I support many of these installations similarly configured.

I think there were too many smb.conf 'templates-custom' template directories created by the rpm.  I think all that's needed is /etc/e-smith/templates-custom/etc/smb.conf/91pdf.  /etc/smb.conf is just a symlink to /etc/samba/smb.conf, but that fragment seems to properly expand into the /etc/samba/smb.conf file.

I changed the pdfdrop I-bay to owned by group everyone, read group, write group, no web/ftp access, no dynamic content.

I moved winsteng.exe to files/driver in the pdfdrop I-bay so that it's accessible by browsing to the pdfdrop file share.

As a side note, I have had various problems with the Adobe PS driver...particularly with Windows Server 2003 (Terminal Servers).  I recommend that anyone wanting a simpler, more reliable (Windows printer driver) install just choose the Apple LaserWriter 12/660 driver.

If we do distribute the Adobe driver installer (there _may_ be a good reason, after all), I think it important to distribute the Acrobat Distiller (adist5.ppd) file with it with explicit instructions to choose it instead of the Generic Postscript .ppd during the install.  If you fail to do it correctly the first time, you may/will not get another chance.   Choosing the Generic PS driver does not seem to support color output (pdf) files.

Again, thank you for your contribution.  I appreciate it very much.

G

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
PDF-over-LAN
« Reply #13 on: November 03, 2006, 12:57:06 AM »
Does any one have a copy of smeserver-pdf-over-lan-1.0-01.noarch.rpm available. The website appears to be down again.
TIA

Bob
If you think you know whats going on, you obviously have no idea whats going on!

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
PDF-over-LAN
« Reply #14 on: November 03, 2006, 01:18:51 AM »
Quote from: "crazybob"
Does any one have a copy of smeserver-pdf-over-lan-1.0-01.noarch.rpm available. The website appears to be down again.
TIA

Bob


Not really 'down' but same net result.

Code: [Select]
[root@tiger ~]# wget http://www.goulburnmobilesolutions.com/contrib/smeserver-pdf-over-lan-1.0-01.noarch.rpm
--11:16:13--  http://www.goulburnmobilesolutions.com/contrib/smeserver-pdf-over-lan-1.0-01.noarch.rpm
           => `smeserver-pdf-over-lan-1.0-01.noarch.rpm'
Resolving www.goulburnmobilesolutions.com... 58.105.225.109
Connecting to www.goulburnmobilesolutions.com|58.105.225.109|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
11:16:14 ERROR 403: Forbidden.


Previous time was due to bandwidth. Maybe he needs a ibiblio folder.
Regards,
William

IF I give advise.. It's only if it was me....