Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB printing problem with Samsung ML-1430
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dl1vr8r
n00b
n00b


Joined: 07 Mar 2003
Posts: 39
Location: SLC

PostPosted: Wed Mar 12, 2003 8:06 am    Post subject: USB printing problem with Samsung ML-1430 Reply with quote

I have a Samsung ML-1430 that I set up under Linux a couple of weeks ago. I printed a few things with it, everything was fine. Now when I try to print something, it just doesn't. No error message, no nothing. Nothing happens at all. I haven't recompiled my kernel or done anything out of the ordinary since I installed the printer and it was working.

Details:
gentoo-sources 2.4.20-r1
usb is compiled into the kernel, usb printing loaded as module 'printer'
cups is installed and running
latest drivers and PPD from Samsung
printer shows up as /dev/usb/lp0

if I do $cat test.txt > /dev/usb/lp0 the printer activates and warms up, but doesn't print anything. If I try to print any other way, (test page, web page, etc.) nothing happens at all.

I booted back into Windows thinking maybe it was a hardware problem but the printer worked just fine windows.

I've read the cups docs, linuxprinting.org FAQs, searched the forums, etc. I haven't found anything that helps so far.

At first I thought it was a driver problem, but it installs just fine and my printer is visible via the CUPS web interface and the Samsung driver interface. Then I thought it was a usb problem, but the printer shows up and activates if touched.

I'm out of ideas. Help?
Back to top
View user's profile Send private message
dl1vr8r
n00b
n00b


Joined: 07 Mar 2003
Posts: 39
Location: SLC

PostPosted: Thu Mar 13, 2003 8:45 am    Post subject: Reply with quote

No responses, so I'll just post my progress on figuring this thing out with hopes that it will solve my problem and help somebody else out in the future.

This is the last entry from /var/log/cups/error_log:

Code:
I [13/Mar/2003:01:36:53 -0700] Job 20 queued on 'lp' by 'mark'.
I [13/Mar/2003:01:36:53 -0700] Started filter /usr/lib/cups/filter/pstops (PID 30926) for job 20.
I [13/Mar/2003:01:36:53 -0700] Started filter /usr/lib/cups/filter/ppmtogdi (PID 30927) for job 20.
I [13/Mar/2003:01:36:53 -0700] Started backend /usr/lib/cups/backend/usb (PID 30928) for job 20.
E [13/Mar/2003:01:36:53 -0700] PID 30927 stopped with status 111!
I [13/Mar/2003:01:36:53 -0700] Hint: Try setting the LogLevel to "debug" to find out more.
W [13/Mar/2003:01:36:53 -0700] [Job 20] Media tray empty!


I recompiled my kernel in order to move USB support to a module. I have

I emerged and loaded hotplug.

#cat /proc/interrupts:

Code:
  0:    5866784          XT-PIC  timer
  1:      17264          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:      49285          XT-PIC  usb-uhci, usb-uhci, usb-uhci, bttv
  5:      10434          XT-PIC  eth0, CS46XX
  9:      17798          XT-PIC  acpi
 11:     644042          XT-PIC  nvidia
 12:     238519          XT-PIC  PS/2 Mouse
 14:      18913          XT-PIC  ide0
 15:         39          XT-PIC  ide1
NMI:          0
LOC:    5867170
ERR:       9542
MIS:          0



lsmod:

Code:
Module                  Size  Used by    Tainted: P 
tuner                  10272   1  (autoclean)
tvaudio                14236   1  (autoclean)
bttv                   71776   1
videodev                6496   3  [bttv]
i2c-algo-bit            9960   1  [bttv]
i2c-core               18312   0  [tuner tvaudio bttv i2c-algo-bit]
snd-mixer-oss          13944   0  (autoclean)
snd-cs46xx             70708   0
snd-ac97-codec         38368   0  [snd-cs46xx]
snd-pcm                68096   0  [snd-cs46xx]
snd-timer              16904   0  [snd-pcm]
snd-rawmidi            15328   0  [snd-cs46xx]
snd-seq-device          4516   0  [snd-rawmidi]
snd                    34244   0  [snd-mixer-oss snd-cs46xx snd-ac97-codec snd-pcm snd-timer snd-rawmidi snd-seq-device]
snd-page-alloc          5616   0  [snd-cs46xx snd-pcm]
uhci                   32880   0  (unused)
ntfs                   81452   1  (autoclean)
printer                 7840   0
usbcore                75296   1  [uhci printer]
soundcore               4548   3  [bttv snd]
nvidia               1466464  10


Still doesn't work, but maybe I'm making headway. Next I'm going to unemerge cups, foomatic, ghostscript, and the samsung drivers. Then I'm going to reinstall everything. I need sleep now but I'll update tomorrow when I do it all :)
Back to top
View user's profile Send private message
dl1vr8r
n00b
n00b


Joined: 07 Mar 2003
Posts: 39
Location: SLC

PostPosted: Thu Mar 13, 2003 6:33 pm    Post subject: Reply with quote

OK, I unemerged and re-emerged everything. Now the printer at least warms up when I try to print something, but still no output. When I send something to the printer, the "data" light blinks once and that's it. I get the same "Media tray empty" message in /var/log/cups/error_log.

This is really starting to piss me off, especially considering that it was working at one point, but now it's not. This is too much like being back on windows again (except that the damn thing actually works in windows).
Back to top
View user's profile Send private message
darkphoenix16
n00b
n00b


Joined: 23 Apr 2003
Posts: 71
Location: Nova Scotia, Canada

PostPosted: Tue May 13, 2003 12:35 am    Post subject: Reply with quote

Hi, did you every get this worked out? Im having the same problem
Back to top
View user's profile Send private message
fumtu99
n00b
n00b


Joined: 05 Sep 2002
Posts: 59

PostPosted: Tue May 13, 2003 3:23 am    Post subject: Reply with quote

Hi!

If you're interested, I posted a really long reply on another thread (the 20th one, currently at the bottom of the page) for a way of doing this that doesn't use the Samsung drivers, ppd files, etc. at all - the binaries there would not work for me, as is described in that posting and the slightly shorter one above it. Are you using GCC 3.2.2? Do you have an older version of it on your machine? I'm wondering if that's why it wouldn't work for me; the machine I put the printer on is a new one, with a brand new, fresh install of Gentoo1.4 on it, and I suspect that the Samsung binaries might be trying to link to GCC-2.9.95-compiled libraries. (This might be something that Samsung could fix if they built the binaries statically, but I can't tell that by looking at them. Well, maybe I could, if I knew what I was doing better...) At any rate, looking at this (and/or maybe changing your LogLevel to "debug" in your /etc/cups/cupsd.conf file, then doing a "/etc/init.d/cupsd restart", which will cause CUPS to put a lot more informative error messages into your /var/log/cups/error_log (I Think that's the name) file that you can look at after trying to print something with the printer) might give you some ideas about what can be done to get it to work again. If between the time you last printed on it and now you did an "emerge world -update", and it wiped out a 2.9.95-compiled library (since it didn't see any dependencies in your Gentoo install - the Samsung stuff won't show up there) that your driver depended on, it might produce the effect that you describe.

Hey, for some reason, I end up doing world updates pretty often, and it's not THAT uncommon (especially on my old machine, which has had Gentoo on it from version 1.2, IIRC) for some program that was working right before to stop working until I rebuild it - as a matter of fact, that happened to me recently with openbox - I think that I may have to unmerge it and emerge it again, with a configuration option set, to get back fonts in my pulldown menus - right now they're REALLY small... (Good thing I have some other window managers to play around with!) Anyways, the URL for the other thread is:

https://forums.gentoo.org/viewtopic.php?t=25403

See if that helps you out...

James
Back to top
View user's profile Send private message
agentDMT
n00b
n00b


Joined: 30 Mar 2004
Posts: 1
Location: TX

PostPosted: Tue Mar 30, 2004 7:31 pm    Post subject: This worked for me Reply with quote

I had the same problem with my Samsung ML-1430. Basically what i did was unemerged cups and foomatic and then emerged ghostscript and then emerged gimp-print. I go back and then I could print. I havent fully tested it out but the test page works now. How about that!
_________________
This holy reality, in this holy experience. Choosing to be here in
this body. This body holding me. Be my reminder here that I am not alone in this body holding me, feeling eternal all this pain is an illusion of what it means to be alive.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum