Tiny Core Base > TCB Q&A Forum

samsung SCX-4521F multi function problem with cups

<< < (6/6)

SamK:

--- Quote from: beerstein on March 29, 2011, 08:09:45 AM ---...a quick hint how to do the deleting and creating a link in TC?

--- End quote ---

Try something like this...

Create a directory for foomatic-rip

--- Code: ---mkdir /opt/foomatic-rip

--- End code ---

Copy foomatic-rip to it

--- Code: ---cp /tmp/tcloop/foomatic-rip/usr/local/bin/foomatic-rip /opt/foomatic-rip/foomatic-rip

--- End code ---

Re-point the link to the new file

--- Code: ---ln -f -s /opt/foomatic-rip/foomatic-rip /usr/local/lib/cups/filter/foomatic-rip

--- End code ---

Change the ownership of the new structure

--- Code: ---sudo chown -R root:root /opt/foomatic-rip

--- End code ---
   

beerstein:
Hi: I tried "everything" to get this Samsung multi function work on my TC 3.51 PC.
No luck - so I gave up - at least for the time beeing. Here is a summary of what I have done. Maybe somebody else can go from here and save the headache I have suffered so far.

Before I quit I installed:
1.  the cups.tcz  (version 1.4.5) before I tried cups 1.3.11
2. foomatic-rip (because the ML 4500 PPD file mentioned foomatic rip in its source text)
3. ghostscript version 9.0 from repo (because I learned this is the driver which generates pixel output from post script, ghostscript is needed by foomatic-rip and the comamd line command:
$ gs -h
should generate a lising which shows your printer model. Not in my case!)
4. ghostscript-common  ( I still do not know what this is for)
5. poppler-bin ( no idea what this for )

There are a few config files which need to be configured.
1. /etc/cups/cupsd.conf
2. /etc/cups/printers.conf (mostly done by the browser interface http://localhost:631
3. /etc/cups/ppd/  this folder needs the PPD file for this printer model - downloaded from www.linuxprinting.org/download/PPD - although this site had exactly the PPD file I needed - the solution was still not in sight.
4. /tmp/tcloop/foomatic-rip/local/etc/foomatic/filter/filter.conf
this config file needs to be configured to tell the systems where several applications are located. I could not find a description on how to do it. At the end of this filter.conf file I found an error where it said: "preferred_shell: /bin/ash  instead of preferred_shell: /bin/bash" So when you work with foomatic so please take a look at this.
5. I was able to handle the "read only" problems of config files, scripts and binaries with the excellent help of our forum members, especially SamK.
(please see theprevious posts)

I have no plans yet how to continue with that SCX 4521F . In some cases it would be cheaper and easier to buy another HP, Canon, Epson or Brother printer. HP is probably the easiest to install under Linux.

Maybe I will try to go back to cups 1,311?
Maybe somebody has the time to add the Samsung SCX 4521F model to the ghostscript.tcz?


SamK:
Sounds like quite a bout of wrestling. 

Just a few thoughts and observations in case you decide upon a re-match.  These are offered as a distillation of working TC printing using:

* Parallel and USB ports
* HP and Epson printers
* Various drivers (Foomatic included)

--- Quote from: beerstein on April 05, 2011, 06:36:00 AM ---...
There are a few config files which need to be configured.
1. /etc/cups/cupsd.conf
2. /etc/cups/printers.conf (mostly done by the browser interface http://localhost:631
3. /etc/cups/ppd/  this folder needs the PPD file for this printer model - downloaded from www.linuxprinting.org/download/PPD - although this site had exactly the PPD file I needed - the solution was still not in sight.
4. /tmp/tcloop/foomatic-rip/local/etc/foomatic/filter/filter.conf
this config file needs to be configured to tell the systems where several applications are located. I could not find a description on how to do it. At the end of this filter.conf file I found an error where it said: "preferred_shell: /bin/ash  instead of preferred_shell: /bin/bash" So when you work with foomatic so please take a look at this.
...

--- End quote ---

/etc/cups/xxx does not feature in the working set-ups I have created.  Do you mean /usr/local/etc/cups/xxx

It has never been necessary to manually change cupsd.conf or printers.conf. 

It has never been necessary to manually create .../cups/ppd or manually place the PPD file in it.  This has always been stored in /opt.  Selecting it in the appropriate CUPS section automatically places it in the needed directory /usr/local/etc/cups/ppd/.

It has never been necessary to edit filter.conf.

Bash has not been needed (or installed) to obtain a working set-up.  The TC standard ash works fine.

Perhaps if you do decide to try again these may give you a starting point.
   

Juanito:

--- Quote from: beerstein on April 05, 2011, 06:36:00 AM ---There are a few config files which need to be configured.
1. /etc/cups/cupsd.conf
2. /etc/cups/printers.conf (mostly done by the browser interface http://localhost:631
3. /etc/cups/ppd/  this folder needs the PPD file for this printer model - downloaded t this.

--- End quote ---

Since the cups extension only uses /usr/local/etc and if you have not loaded cups1311, then there is some kind of problem - maybe the files above are in your backup?

..anyway, you need to work with /usr/local/etc/cupsd.conf

Navigation

[0] Message Index

[*] Previous page

Go to full version