Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: sognenovski 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:
-
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
-
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
-
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
-
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
-
Sounds to work fine for me... Thanks for this priceless rpm !
-
Hello,
Now I found where is the trouble...
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
-
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.
-
:(
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.
-
Tryed the site yesterday, it was down too...
-
Apologies, Needed the bandwidth. back up for a little longer
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
I will try to install all needed rpm's !!!
Dont know why, I'll check my notes....has anyone else had much success?
Sounds to work fine for me... Thanks for this priceless rpm !
Apprecaited!
Thanks
Steve
-
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
-
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
-
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
-
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.
[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.
-
I will keep trying, but it appears there is some problem. Still looking for some one else that has the rpm.
Bob
-
I will keep trying, but it appears there is some problem. Still looking for some one else that has the rpm.
Bob
I have "smeserver-pdf-over-lan-1.0-01.noarch.rpm"
can someone tell me where it can be uploaded to.
-
Apologies crazybob. back up again. Will try to keep I up as long as possible untill its uploaded to contribs.org. Bandwidth is a problem as we run VOIP over the same connection.
Location http://goulburnmobilesolutions.com/contrib/
All the best.
Steve
-
I amd downloading it now. Thanks.
Bob
-
Apologies crazybob. back up again. Will try to keep I up as long as possible untill its uploaded to contribs.org. Bandwidth is a problem as we run VOIP over the same connection.
Location http://goulburnmobilesolutions.com/contrib/
All the best.
Steve
I've now placed copies here (http://www.magicwilly.webhostingpal.com/SME7%20How%20To%20Files/goulburnmobilesolutions/) till a place is found on contribs.(which has now occured - http://forums.contribs.org/index.php?topic=32968.msg159118#msg159118)
-
Location http://goulburnmobilesolutions.com/contrib/
All the best.
Steve
Great contrib Steve! Glad to see someone update this to fit SME 7.
Thanks much for your work.
Craig
-
New home for the contrib.
Readme
http://mirror.contribs.org/smeserver/contribs/sognenovski/Howto/smeserver-pdf-over-lan-1.0-01.txt
rpm
http://mirror.contribs.org/smeserver/contribs/sognenovski/RPMS/smeserver-pdf-over-lan-1.0-01.noarch.rpm
src
http://mirror.contribs.org/smeserver/contribs/sognenovski/SRPMS/smeserver-pdf-over-lan-1.0-01.src.rpm
Cheers
Steve
-
hi!
installation worked perfectly. thx for this contrib.
two questions:
REMOVED
REMOVED
should have read the whole thread
best regards Karl
-
Installation did not work perfectly - I regret to report.
Been trying this contrib for several years now.
Always ends in 'dependency hell'.
Attempts to appease dependencies leaving SME in an indeterminate state.
Was so in SME6 and just now it's so in SME7 too.
Usual mess, sorry;~/
-
hmmmm
i had all updates applied
the only thing i had to apply manually was:
yum install urw-fonts
form the start:
started the install
failed dependency for urw-fonts
removed the rpm with
rpm -e smeserver-pdf-over-lan-1.0-01
removed the ibay via server-manager
installed urw-fonts with
yum install urw-fonts
installed smeserver-pdf-over-lan-1.0-01.noarch.rpm with
yum localinstall smeserver-pdf-over-lan-1.0-01.noarch.rpm
no problem
what dependency problem do u have?
regards
Karl
-
As I hadn't (yet) attempted this contrib on SME7 I decided to use -ivh
instead of the given -Uvh. In hindsight I'm wondering whether -Uvh
would've proved a better option 'updating' the myriad of stuff required.
Three dependencies reported...
xorg-x11-libs = 6.8.2-1.EL.13.25 is needed by xorg-x11-xfs-6.8.2-1.EL.13.25.i386
xfs is needed by chkfontpath-1.10.0-2.i386
chkfontpath is needed by urw-fonts-2.2-6.1.noarch
This year it's the the libs and xfs ones that revolve around each other.
Couldn't locate the obsolete one, the chosen more update one doesn't
appease the other and because it's hooked into many other apps (like
ImageMagick which is important here) I can't uninstall the more recent
file and so the dependency loop continues;~/
I'll retry with your suggestions, I am keen to make this work;~)
-
Tried fixing the urw-fonts first...
[root@teri pdf-over-lan]# yum install urw-fonts
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
smeaddons 100% |=========================| 951 B 00:00
smeos 100% |=========================| 951 B 00:00
smeupdates 100% |=========================| 951 B 00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 257 kB 00:01
http://mirror.contribs.org/smeserver/releases/7/smeos/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 257 kB 00:01
http://mirror.contribs.org/smeserver/releases/7/smeos/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 257 kB 00:01
http://mirror.contribs.org/smeserver/releases/7/smeos/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 256 kB 00:03
smeos : ################################################## 481/481
Added 80 new packages, deleted 80 old in 1.07 seconds
primary.xml.gz 100% |=========================| 82 kB 00:00
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 82 kB 00:00
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 82 kB 00:00
smeupdates: ################################################## 103/103
Added 27 new packages, deleted 27 old in 0.67 seconds
Parsing package install arguments
No Match for argument: urw-fonts
Nothing to do
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@teri pdf-over-lan]#
...from where did you get the urw-fonts.rpm?
-
Tried the localinstall route...
[root@teri pdf-over-lan]# rpm -Uvh chkfontpath-1.10.0-2.i386.rpm
error: Failed dependencies:
xfs is needed by chkfontpath-1.10.0-2.i386
Suggested resolutions:
/home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/xorg-x11-xfs-6.8.2-1.EL.13.37.i386.rpm
[root@teri pdf-over-lan]# yum localinstall *.rpm
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Local Package Process
Examining chkfontpath-1.10.0-2.i386.rpm: chkfontpath - 1.10.0-2.i386
Examining smeserver-pdf-over-lan-1.0-01.noarch.rpm: smeserver-pdf-over-lan - 1.0-01.noarch
Examining xorg-x11-libs-6.8.2-1.EL.13.37.2.i386.rpm: xorg-x11-libs - 6.8.2-1.EL.13.37.2.i386
Examining xorg-x11-xfs-6.8.2-1.EL.13.37.i386.rpm: xorg-x11-xfs - 6.8.2-1.EL.13.37.i386
Marking chkfontpath-1.10.0-2.i386.rpm to be installed
Marking smeserver-pdf-over-lan-1.0-01.noarch.rpm to be installed
Marking xorg-x11-xfs-6.8.2-1.EL.13.37.i386.rpm to be installed
xorg-x11-libs-6.8.2-1.EL.13.37.2.i386.rpm: does not update installed package.
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-pdf-over-lan.noarch 0:1.0-01 set to be updated
---> Package xorg-x11-xfs.i386 0:6.8.2-1.EL.13.37 set to be updated
---> Package chkfontpath.i386 0:1.10.0-2 set to be updated
--> Running transaction check
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
--> Processing Dependency: xorg-x11-libs = 6.8.2-1.EL.13.37 for package: xorg-x11-xfs
--> Finished Dependency Resolution
Error: Missing Dependency: xorg-x11-libs = 6.8.2-1.EL.13.37 is needed by package xorg-x11-xfs
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@teri pdf-over-lan]#
...but have a conundrum. The file being requested
xorg-x11-libs-6.8.2-1.EL.13.37.i386.rpm
appears to be be obsolete, hence my use of
xorg-x11-libs-6.8.2-1.EL.13.37.2.i386.rpm
which won't uninstall as it is tied at least to ImageMagick.
In any case manually installing an 'obsolete' file just to appease
an apparent dependency seems to be slightly inappropriate.
-
This works for me on two machines..
yum localinstall smeserver-pdf-over-lan-1.0-01.noarch.rpm \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
[root@tiger ~]# yum localinstall smeserver-pdf-over-lan-1.0-01.noarch.rpm \
> --disablerepo=* \
> --enablerepo=base \
> --enablerepo=updates \
> --enablerepo=smeos \
> --enablerepo=smeupdates \
> --enablerepo=smeaddons
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Local Package Process
Examining smeserver-pdf-over-lan-1.0-01.noarch.rpm: smeserver-pdf-over-lan - 1.0-01.noarch
Marking smeserver-pdf-over-lan-1.0-01.noarch.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-pdf-over-lan.noarch 0:1.0-01 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
smeserver-pdf-over-lan noarch 1.0-01 smeserver-pdf-over-lan-1.0-01.noarch.rpm 24 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 24 M
Is this ok [y/N]: n
Exiting on user Command
Complete!
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@tiger ~]#
[root@c3 ~]# rpm -qa Image*
ImageMagick-6.0.7.1-16.0.3
[root@c3 ~]#
-
This didn't work for me on my one and only machine.
[root@teri pdf-over-lan]# yum localinstall smeserver-pdf-over-lan-1.0-01.noarch.rpm \
> --disablerepo=* \
> --enablerepo=base \
> --enablerepo=updates \
> --enablerepo=smeos \
> --enablerepo=smeupdates \
> --enablerepo=smeaddons
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Local Package Process
Examining smeserver-pdf-over-lan-1.0-01.noarch.rpm: smeserver-pdf-over-lan - 1.0-01.noarch
Marking smeserver-pdf-over-lan-1.0-01.noarch.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-pdf-over-lan.noarch 0:1.0-01 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
smeserver-pdf-over-lan noarch 1.0-01 smeserver-pdf-over-lan-1.0-01.noarch.rpm 24 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 24 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
smeserver trap pre-install: smeserver-pdf-over-lan
Installing: smeserver-pdf-over-lan ######################### [1/1]
Preparing... ########################################### [100%]
package fontconfig-2.2.3-7.centos4 (which is newer than fontconfig-2.2.3-7) is already installed
Preparing... ########################################### [100%]
package xorg-x11-libs-6.8.2-1.EL.13.37.2 (which is newer than xorg-x11-libs-6.8.2-1.EL.13.25) is already installed
package xorg-x11-Mesa-libGL-6.8.2-1.EL.13.37 (which is newer than xorg-x11-Mesa-libGL-6.8.2-1.EL.13.25) is already installed
Preparing... ########################################### [100%]
package ttmkfdir-3.0.9-14.1.EL is already installed
Preparing... ########################################### [100%]
package xorg-x11-font-utils-6.8.2-1.EL.13.25 is already installed
error: Failed dependencies:
xorg-x11-libs = 6.8.2-1.EL.13.25 is needed by xorg-x11-xfs-6.8.2-1.EL.13.25.i386
error: Failed dependencies:
xfs is needed by chkfontpath-1.10.0-2.i386
Suggested resolutions:
/home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/xorg-x11-xfs-6.8.2-1.EL.13.37.i386.rpm
error: Failed dependencies:
chkfontpath is needed by urw-fonts-2.2-6.1.noarch
Suggested resolutions:
/home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/chkfontpath-1.10.0-2.i386.rpm
Preparing... ########################################### [100%]
package VFlib2-2.25.6-25 is already installed
Preparing... ########################################### [100%]
package sharutils-4.2.1-22.2 is already installed
error: Failed dependencies:
urw-fonts >= 1.1 is needed by ghostscript-7.07-33.i386
Suggested resolutions:
/home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/urw-fonts-2.2-6.1.noarch.rpm
Creating ibay 'pdfdrop' (Uid:5015).
Shutting down SMB services: [ OK ]
Shutting down NMB services: [ OK ]
Starting SMB services:
Starting NMB services: [ OK ]
PDF client location www.yourdomain.com/pdfdrop/winsteng.exe
Migrating existing database yum_available
Migrating existing database networks
Migrating existing database yum_repositories
Migrating existing database yum_updates
Migrating existing database domains
Migrating existing database yum_installed
Migrating existing database spamassassin
Migrating existing database dar2
Migrating existing database mailpatterns
Migrating existing database backups
Migrating existing database configuration
Migrating existing database hosts
Migrating existing database accounts
smeserver trap post-install: smeserver-pdf-over-lan
Installed: smeserver-pdf-over-lan.noarch 0:1.0-01
Complete!
==============================================================
WARNING: You now need to run BOTH of the following commands
to ensure consistent system state:
signal-event post-upgrade; signal-event reboot
You should run these commands unless you are certain that
yum made no changes to your system.
==============================================================
[root@teri pdf-over-lan]#
...I've never got PDF-over-LAN to install on my site;~/
(it's not for the want of trying either)
-
have you applied all updates?
yum list updates
yum update
-
This may help...
http://forums.contribs.org/index.php?topic=36127.0
http://www.sonoracomm.com/index.php?option=com_content&task=view&id=170
G
-
Updated this Contrib from a previous Contrib.
In summary
All required RPM’s are in one RPM. (Perhaps there is better way? yum)
Hints:
-Don't package all those RPM's inside this RPM. Give your RPM the proper requires and let yum figure out the dependancies. This method will install the correct needed dependancies with up to date centos versions. This will also drop the size of your RPM to a few hundred KB. It will also do the proper thing when it comes time to remove your package.
-Don't put templates included in your RPM in the templates-custom directory, put them in the templates directory.
-Don't use chmod on the templates, use templates.metadata to set pemissions if needed.
-Don't set permissions on templates any higher than needed. I don't think any of the templates included in this RPM need anything more than 644. (template fragments don't generally need to be executable and 755 is most likely too permissive).
-The template under /etc/samba/smb.conf may not be correct, that directory doesn't exist and that template is doubled up under /etc/smb.conf.
-I don't know if the method used to create the ibay is correct. You may want to use the db and events whenever possible (eg. set ibay properties in the db and use "signal-event ibay-create")
-Get rid of the uninstall.sh script. You should write you package so that yum does everything for you.
I'm sure there are more tips. I suggest you read the deveoper's guide found here: http://mirror.contribs.org/smeserver/contribs/gordonr/devguide/html/devguide.html
-
Thanks for the comments and hints. Huge learning curve for me…sigh.
Here is the new release with the suggested fixes. I do believe rpm should upgrade from previous version but as always test server first.
For fresh installs ghostscript dependencies are required.
yum –y install ghostscript
wget http://mirror.contribs.org/smeserver/contribs/sognenovski/RPMS/smeserver-pdf-over-lan-2.0-01.noarch.rpm
rpm –Uvh smeserver-pdf-over-lan-2.0-01.noarch.rpm
and the excellent how to from sonoracomm – Windows Driver
http://mirror.contribs.org/smeserver/contribs/sognenovski/Howto/smeserver-pdf-over-lan-2.0-0.1.txt
Steve
-
Thanks for the comments and hints. Huge learning curve for me…sigh.
Here is the new release with the suggested fixes. I do believe rpm should upgrade from previous version but as always test server first.
For fresh installs ghostscript dependencies are required.
yum –y install ghostscript
wget http://mirror.contribs.org/smeserver/contribs/sognenovski/RPMS/smeserver-pdf-over-lan-2.0-01.noarch.rpm
rpm –Uvh smeserver-pdf-over-lan-2.0-01.noarch.rpm
and the excellent how to from sonoracomm – Windows Driver
http://mirror.contribs.org/smeserver/contribs/sognenovski/Howto/smeserver-pdf-over-lan-2.0-0.1.txt
Steve
Wow your rpm went from 24 Meg to 23 KB...Good work. It also doesn't conflict with my servers that already have ghostscript installed for hylafax.
I would suggest the install command should be:
# yum localinstall smeserver-pdf-over-lan-2.0-01.noarch.rpm
This will pull in all the required packages if needed like on this server that is nearly bone stock:
# yum localinstall smeserver-pdf-over-lan-2.0-01.noarch.rpm
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Local Package Process
Examining smeserver-pdf-over-lan-2.0-01.noarch.rpm: smeserver-pdf-over-lan - 2.0-01.noarch
Marking smeserver-pdf-over-lan-2.0-01.noarch.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-pdf-over-lan.noarch 0:2.0-01 set to be updated
--> Running transaction check
Setting up repositories
smeaddons 100% |=========================| 951 B 00:00
updates 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
smeos 100% |=========================| 951 B 00:00
smeupdates 100% |=========================| 951 B 00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
--> Processing Dependency: ghostscript >= 7.0 for package: smeserver-pdf-over-lan
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for ghostscript to pack into transaction set.
ghostscript-7.07-33.i386. 100% |=========================| 111 kB 00:00
---> Package ghostscript.i386 0:7.07-33 set to be updated
--> Running transaction check
--> Processing Dependency: urw-fonts >= 1.1 for package: ghostscript
--> Processing Dependency: VFlib2 for package: ghostscript
--> Processing Dependency: libICE.so.6 for package: ghostscript
--> Processing Dependency: libVFlib2.so.24 for package: ghostscript
--> Processing Dependency: libXt.so.6 for package: ghostscript
--> Processing Dependency: libX11.so.6 for package: ghostscript
--> Processing Dependency: libXext.so.6 for package: ghostscript
--> Processing Dependency: libSM.so.6 for package: ghostscript
--> Processing Dependency: ghostscript-fonts for package: ghostscript
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for VFlib2 to pack into transaction set.
VFlib2-2.25.6-25.i386.rpm 100% |=========================| 14 kB 00:00
---> Package VFlib2.i386 0:2.25.6-25 set to be updated
---> Downloading header for ghostscript-fonts to pack into transaction set.
ghostscript-fonts-5.50-13 100% |=========================| 10 kB 00:00
---> Package ghostscript-fonts.noarch 0:5.50-13 set to be updated
---> Package xorg-x11-libs.i386 0:6.8.2-1.EL.13.37.5 set to be updated
---> Downloading header for urw-fonts to pack into transaction set.
urw-fonts-2.2-6.1.noarch. 100% |=========================| 16 kB 00:00
---> Package urw-fonts.noarch 0:2.2-6.1 set to be updated
--> Running transaction check
--> Processing Dependency: libfontconfig.so.1 for package: xorg-x11-libs
--> Processing Dependency: chkfontpath for package: urw-fonts
--> Processing Dependency: /usr/bin/fc-cache for package: ghostscript-fonts
--> Processing Dependency: fontconfig for package: urw-fonts
--> Processing Dependency: /usr/X11R6/bin/mkfontscale for package: urw-fonts
--> Processing Dependency: libGL.so.1 for package: xorg-x11-libs
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package xorg-x11-Mesa-libGL.i386 0:6.8.2-1.EL.13.37.5 set to be updated
---> Package fontconfig.i386 0:2.2.3-7.centos4 set to be updated
---> Downloading header for xorg-x11-font-utils to pack into transaction set.
xorg-x11-font-utils-6.8.2 100% |=========================| 257 kB 00:01
---> Package xorg-x11-font-utils.i386 0:6.8.2-1.EL.13.37.5 set to be updated
---> Downloading header for chkfontpath to pack into transaction set.
chkfontpath-1.10.0-2.i386 100% |=========================| 5.8 kB 00:00
---> Package chkfontpath.i386 0:1.10.0-2 set to be updated
--> Running transaction check
--> Processing Dependency: xfs for package: chkfontpath
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for xorg-x11-xfs to pack into transaction set.
xorg-x11-xfs-6.8.2-1.EL.1 100% |=========================| 260 kB 00:01
---> Package xorg-x11-xfs.i386 0:6.8.2-1.EL.13.37.5 set to be updated
--> Running transaction check
--> Processing Dependency: /usr/bin/ttmkfdir for package: xorg-x11-xfs
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for ttmkfdir to pack into transaction set.
ttmkfdir-3.0.9-14.1.EL.i3 100% |=========================| 5.5 kB 00:00
---> Package ttmkfdir.i386 0:3.0.9-14.1.EL set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
smeserver-pdf-over-lan noarch 2.0-01 smeserver-pdf-over-lan-2.0-01.noarch.rpm 23 k
Installing for dependencies:
VFlib2 i386 2.25.6-25 base 271 k
chkfontpath i386 1.10.0-2 base 13 k
fontconfig i386 2.2.3-7.centos4 smeos 117 k
ghostscript i386 7.07-33 base 7.6 M
ghostscript-fonts noarch 5.50-13 base 808 k
ttmkfdir i386 3.0.9-14.1.EL base 43 k
urw-fonts noarch 2.2-6.1 base 4.5 M
xorg-x11-Mesa-libGL i386 6.8.2-1.EL.13.37.5 updates 379 k
xorg-x11-font-utils i386 6.8.2-1.EL.13.37.5 updates 302 k
xorg-x11-libs i386 6.8.2-1.EL.13.37.5 updates 2.7 M
xorg-x11-xfs i386 6.8.2-1.EL.13.37.5 updates 315 k
Transaction Summary
=============================================================================
Install 12 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 17 M
Is this ok [y/N]:
This is the beauty of yum. You put 1 "requires" for ghostscript in your rpm and it makes it pull in all the rest. It also pulls in the most recent and keeps them up to date so you don't have to worry about maintaining them. Gotta love that yum!!!
-
Yup...Thats yum my new friend! :D
A note for those upgrading.
You will have to reinstall the windows client driver as the pdf printer name has change to just 'pdf' :(
enjoy!
-
Hi again Steve,
Thanks much for the update!
I tested the new rpm on my home server and it looks really good. Excellent work!
I updated my howto for your new rpm...mostly by stripping out about two thirds. ;-)
http://www.sonoracomm.com/index.php?option=com_content&task=view&id=170
These are the commands I used to install it:
cd ~
wget http://mirror.contribs.org/smeserver/contribs/\
sognenovski/RPMS/smeserver-pdf-over-lan-2.0-01.noarch.rpm
yum localinstall -y --enablerepo=base \
smeserver-pdf-over-lan-2.0-01.noarch.rpm
I haven't done much testing (time for bed), but it seems to install easily and work just fine.
Thanks again,
G
-
Great thanks to both of you for the update !
The rpm is cleaner now (and very light !)
-
Thanks guys for the RPM and information. Was wondering if there is a way to configure to email the pdf as an attachment to the user? There is another post about pdf print on lan in inbox, but unfortunately, it is for 6.x and the links that are supplied appear invalid.
-
Thanks guys for the RPM and information. Was wondering if there is a way to configure to email the pdf as an attachment to the user? There is another post about pdf print on lan in inbox, but unfortunately, it is for 6.x and the links that are supplied appear invalid.
According to post #1, this contrib does what you want:
pdfdrop ibay is created.
PDF are saved in the pdfdrop ibay and also emailed to the login user.
windozze driver located pdfdrop ibay
-
Just tried this on my SME Server with my other half's XP laptop. Works really well, PDF appeared in my e-mail and also in the pdfdrop share.
Only one snag, when printing a Windows Printer Test Page it printed the black text in a kind of maroon colour. I haven't tried printing anything else and I was also using the Windows XP Apple Colour Laserwriter 12/600 driver rather than the Adobe Postscript driver. Still looks very promising and possibly quicker and less hassle than PDF Creator.
Rob
-
Hi Rob,
That is surely a function of the printer driver and I've seen that before. I think it's a display issue and I suspect it will print normally.
Try the Adobe driver...it may be better anyway.
G
-
Hi all,
Does anyone had success with this RPM under Vista?
Apple Color Laserwriter 12/600 driver is no more available under Vista and the few PS printers I've tested just don't work... :cry:
Adobe PS driver don't work also under Vista (maybe because I use an x64 version of Vista...)
Thanks