Author |
Message |
SilverOne
|
Posted: Sun Mar 05, 2006 11:58 am |
|
Joined: Sat Sep 17, 2005 3:30 pm
Posts: 16
|
Has anyone setup their box to be a printer server?
I am looking to setup so that a Mac can use a printer connected to the mythbox and have not been successful installing cups or lpd. There doesn't seem to be much info pertaining to knoppmyth on the subject.
If anyone has a walkthrough or suggestion to post I think a lot of people would benefit from it especially a newbie like me.
|
|
Top |
|
 |
cesman
|
Posted: Sun Mar 05, 2006 12:16 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
SilverOne wrote: There doesn't seem to be much info pertaining to knoppmyth on the subject. That is because KnoppMyth is meant to be used as a set-top box. While what you are asking can be done, I can only think of one person who has done it... Perhaps he'll chime in... In adding this functionality, KnoppMyth should be regarded as just another Linux distro. I'd suggest searching for a how-to based around Debian.
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
 |
SilverOne
|
Posted: Sun Mar 05, 2006 12:57 pm |
|
Joined: Sat Sep 17, 2005 3:30 pm
Posts: 16
|
Yeah, cesman I understand what you're saying about. Not being a bloated distro is in some ways what makes knoppmyth so attractive. Since this is the only box I keep running 24/7 I thought it would be great to add this service.
I was looking at the debian install process and tried to follow the procedures but kept running into binaries that were no longer available or other dependencies that couldn't be resolved. I'll keep working on it.
|
|
Top |
|
 |
mapper
|
Posted: Mon Mar 06, 2006 3:05 pm |
|
Joined: Tue Feb 14, 2006 2:12 pm
Posts: 6
Location:
Canada
|
_________________ -Mapper
"You can be the captain, and I will draw the charts" - N.P.
|
|
Top |
|
 |
stinga
|
Posted: Wed Mar 08, 2006 12:45 pm |
|
Joined: Sat Nov 05, 2005 4:37 am
Posts: 191
Location:
Cornwall - uk
|
G'day,
To get you going...
you will need to install an lpd/cups print system.
google should now be able to help you out
Ps: I never got on with cups, so I use lpd
_________________ -- stinga
as of 17-May-2018 R8.2 - sort of working. MB: gigabyte GA-P43-ES3G | RAM: 2GB VGA: PNY Nvidia GT240 1GB 4 x Technisat skystar 2 dvb | 1 x TBS6981 dvb-s2 pata: 1x300Gb | sata: 2x1Tb 2x2Tb Problems: TBS6981 Does not work.
|
|
Top |
|
 |
enyc
|
Posted: Sun Mar 12, 2006 4:06 am |
|
Joined: Sun Mar 12, 2006 2:37 am
Posts: 6
Location:
UK
|
> Subject: knoppmyth box printer server
> There doesn't seem to be much info pertaining to knoppmyth on the subject.
You should be able to do so much the same as a debian computer...
I reccoment using cupsys for this...
I suggost install as many of the following packages as possible:-
cupsys-client cupsys-bsd foomatic-db-gimp-print foomatic-db-hpijs foomatic-filters-ppds cupsomatic-ppd hpijs
(there may be some more you need in order to get all the available printer drivers... not sure  ).
Then change the /etc/cups/cupsd.conf to allow access....
things like:-
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 10.0.0.0/16
</Location>
noting that access to /printers is a different matter thano acces to / ....
Then restart cupsys (cupsd) and create printers thrught webinterface....
(usually port 631 ... and connect to printer using IPP (http))
|
|
Top |
|
 |
SilverOne
|
Posted: Sun Mar 12, 2006 9:38 am |
|
Joined: Sat Sep 17, 2005 3:30 pm
Posts: 16
|
I am still working on this.. thanks for all the info
|
|
Top |
|
 |
mjl
|
Posted: Sun Mar 12, 2006 3:43 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi,
I used something like this, it works with all my local tools, as needs arise will share it out. Basicly is the info from mapper's suggestion.
apt-get update
apt-get install cupsys cupsys-bsd cupsys-client foomatic-bin gs-esp a2ps
/etc/init.d/cupsys restart
/usr/sbin/lpinfo -v
#http://localhost:631 #login as root to do a local printer setup
Mike
|
|
Top |
|
 |
SilverOne
|
Posted: Sun Mar 12, 2006 5:40 pm |
|
Joined: Sat Sep 17, 2005 3:30 pm
Posts: 16
|
I did a apt-get Code: install cupsys cupsys-bsd cupsys-client foomatic-filters foomatic-db-engine gs-esp a2ps foomatic bin was replaced by filters and db-engine. I also upgraded webmin and worked from there to install printer.
I tried to http://lcoalhost:631 but got no connection ? That's why I tried webmin, configured the module and mkdir /var/spool/lpd.
In the process I have lost mythmusic, game, etc.. So I think I need to recompile these.
I'm still working on this.
|
|
Top |
|
 |
Axxel
|
Posted: Mon Apr 03, 2006 8:59 am |
|
Joined: Thu Jan 13, 2005 8:59 am
Posts: 36
Location:
The Netherlands
|
Hello,
Basically I followed the instructions at http://excess.org/docs/linux_windows_printing.html (installing CUPS and sharing the printer using Samba). After some tweaking ('ip allows' in cupsd.conf and Samba share user rights, I believe any user can print now) I could print using the windows driver and just a raw driver in CUPS, but that was in KnoppMyth R5A30.
In KnoppMyth R5B7 I tried to install CUPS, but noticed that MythPlugins would be *deinstalled*  so I aborted the installation and am looking for a solution.
I'am afraid that's what happend to you SilverOne, installing CUPS resulted in deinstalling MythPlugins.
|
|
Top |
|
 |
cesman
|
Posted: Tue Apr 04, 2006 3:42 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
Install CUPS, then compile and the plugins from source...
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
 |
SilverOne
|
Posted: Tue Apr 04, 2006 8:33 pm |
|
Joined: Sat Sep 17, 2005 3:30 pm
Posts: 16
|
|
Top |
|
 |
soundoff
|
Posted: Mon Dec 11, 2006 11:14 pm |
|
Joined: Tue Jan 24, 2006 1:29 am
Posts: 157
Location:
Brisbane, Australia
|
I am keen to get my canon pixma IP4300 shared on my R5D1 backend as its on 24/7 and lives right near my printer..
Is the info in the above guide likely to wokr with a USB printer? I managed to share a parallel port printer years ago under redhat, however i have never tried sharing a USB printer under linux.
|
|
Top |
|
 |
funkydan2
|
Posted: Wed Jan 17, 2007 12:04 am |
|
Joined: Fri Jan 12, 2007 9:55 pm
Posts: 47
Location:
Brisbane, Queensland
|
Yep - sharing a USB printer or a Parallel printer is pretty much the same.
The only difficulty could be that your Canon printer may take a bit of work to get running. Have a look here for more info about your printer and Linux.
|
|
Top |
|
 |
crushinator
|
Posted: Tue Mar 13, 2007 2:22 pm |
|
Joined: Sun Jan 22, 2006 12:37 am
Posts: 30
Location:
Cleveland, OH
|
Quote: http://excess.org/docs/linux_windows_printing.html
I followed the directions in above web site which was reasonably clear-cut though not Knoppmyth specific. I also followed the guidance in the previous posts. Unfortunately, following the directions on the web site exactly did not work on the first try. And the directions in previous posts were not 100% descriptive or did not seem to match up to my R5E50 installation. I think the problem is that I did not (still don't) completely understand the nuances of permissions, sharing printers between Linux and Windows XP, etc.
For example, from Windows XP I could see and install the Knoppmyth printer, but when printing from Notepad, it gave error about StartDoc not enabled, some kind of 'access denied' error.
Therefore I started to search the web, found a bunch of web pages, tried changing lots of things in the "smb" and "cups" configuration files, made a bunch of gratuitous user accounts on both WinXP and Linux that matched, tried changing/adding settings from both printer web configuration page (port 631) and Webmin, then finally I found the following web page:
http://www.linuxforums.org/servers/howt ... _cups.html
I incorporated its configuration suggestions, made some other random changes, and somehow everything worked. Now I can print from Windows XP to the printer connected to the KnoppMyth computer. Hooray!
But to be honest, I have no idea what I did, nor whether I have unacceptably changed login accounts, permissions, networking, etc. Plus I am in no position to try to help someone else understand how to do it either.
Could I please ask someone to create a plug-and-chug type of guide, so that 1. I could reproduce this in the future, and 2. I could clean up the unneeded changes that I made this time.
|
|
Top |
|
 |