Unix Technical Forum

USB PRINTER SETUP

This is a discussion on USB PRINTER SETUP within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Folks, every now and then I get a brain stall trying to setup something, here's today's... I have a ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 09:17 PM
GeorgeC
 
Posts: n/a
Default USB PRINTER SETUP

Folks, every now and then I get a brain stall trying to setup something,
here's today's...

I have a slak 10 box/kde, which works very nicely. Printing has always been
a mystery to me with Linux, and I only use slak in the house (laptop has
Lindows for playing on airplanes and annoying MS fans).

But...

Any suggestions on getting my slak 10/kde box talking to my HP6110 USB
printer?

I can get the laptop to do it, using Lindows/Debian. But that does me no
good here in the house.

Printe manager in KDE doesn't seem to have a "add printer" type function, or
am I overlooking something there?

Thanks, y'all, for any advice on this matter.

George C
Awstin, TX


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 09:17 PM
quip
 
Posts: n/a
Default Re: USB PRINTER SETUP

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

GeorgeC wrote:
| Folks, every now and then I get a brain stall trying to setup something,
| here's today's...
|
| I have a slak 10 box/kde, which works very nicely. Printing has always
been
| a mystery to me with Linux, and I only use slak in the house (laptop has
| Lindows for playing on airplanes and annoying MS fans).
|
| But...
|
| Any suggestions on getting my slak 10/kde box talking to my HP6110 USB
| printer?
|
| I can get the laptop to do it, using Lindows/Debian. But that does me no
| good here in the house.
|
| Printe manager in KDE doesn't seem to have a "add printer" type
function, or
| am I overlooking something there?
|
| Thanks, y'all, for any advice on this matter.
|
| George C
| Awstin, TX
|
You should be able to use kprinter to add printers. It has a little
button with a wand on it that will launch the wizard. However, have you
tried cups? If that's what you use, then you can just fire up your
favorite web browser and point it to http://localhost:631 to find a very
intuitive interface which will walk you through the process of adding a
printer.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB9CGR/u+3PIk1ZXQRAhaZAJ4p4S0HPif9JqfHb38EkxfZWB+0pACfXOe t
msIDcM+sVEi5rdIUJHkvSlA=
=srnt
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 09:17 PM
Al. C
 
Posts: n/a
Default Re: USB PRINTER SETUP

GeorgeC wrote:

> Folks, every now and then I get a brain stall trying to setup something,
> here's today's...
>
> I have a slak 10 box/kde, which works very nicely. Printing has always been
> a mystery to me with Linux, and I only use slak in the house (laptop has
> Lindows for playing on airplanes and annoying MS fans).
>
> But...
>
> Any suggestions on getting my slak 10/kde box talking to my HP6110 USB
> printer?
>
> I can get the laptop to do it, using Lindows/Debian. But that does me no
> good here in the house.
>
> Printe manager in KDE doesn't seem to have a "add printer" type function, or
> am I overlooking something there?
>


Try doing a right-click in the "white box" where the printers are listed in
the KDE print manager.

Also, are you sure that you didn't install BOTH cups AND lprng? That's the
default and it can cause neither to work. I'd uninstall BOTH (removepkg) and
then reinstall cups. Then either use the kdeprint manager or the web
interface of http://localhost:631 to add it.

OH, make sure that you have the driver for the HP printer. On

http://www.linuxprinting.org/show_pr...OfficeJet_6110

it shows that it uses the hpijs driver which is (should be) installed with
cups. Do:
al@xxxxr:~$ locate hpijs |grep 6110

and you should get:
/usr/share/ppd/HP/HP-OfficeJet_6110-hpijs.ppd.gz

If you don't, you got problems and it will take a more experienced Slacker to
bail your ass out.

Let us know how it goes and I'm sure we can get you going on this quickly.

Al C.




> Thanks, y'all, for any advice on this matter.
>
> George C
> Awstin, TX


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 09:17 PM
Simon
 
Posts: n/a
Default Re: USB PRINTER SETUP

On Sun, 23 Jan 2005 20:57:55 GMT, GeorgeC <spamdump@dyb.com> wrote:
> Any suggestions on getting my slak 10/kde box talking to my HP6110 USB
> printer?


I have an HP DeskJet 6122 connected by USB to one of my Slackware
machines. I'm using the Slackware packages for CUPS & hpijs. You'll
need 'usblp' support either build into the kernel or the module loaded.

When they're installed, you can go to <URL:http//localhost:631/> and
add your printer. <URL:http://www.linuxprinting.org/> will probably
have something useful to add for your printer.


--
Simon <simon@no-dns-yet.org.uk> **** GPG: F4A23C69
"We demand rigidly defined areas of doubt and uncertainty."
- Douglas Adams

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 09:24 PM
greymaus@yahoo.com
 
Posts: n/a
Default Re: USB PRINTER SETUP

On Sun, 23 Jan 2005 16:13:38 -0600, quip wrote:
>
> GeorgeC wrote:
>| Folks, every now and then I get a brain stall trying to setup something,
>| here's today's...
>|
>| I have a slak 10 box/kde, which works very nicely. Printing has always
> been
>| a mystery to me with Linux, and I only use slak in the house (laptop has
>| Lindows for playing on airplanes and annoying MS fans).
>|
>| But...
>|
>| Any suggestions on getting my slak 10/kde box talking to my HP6110 USB
>| printer?
>|
>| I can get the laptop to do it, using Lindows/Debian. But that does me no
>| good here in the house.
>|
>| Printe manager in KDE doesn't seem to have a "add printer" type
> function, or
>| am I overlooking something there?
>|
>| Thanks, y'all, for any advice on this matter.
>|
>| George C
>| Awstin, TX
>|
> You should be able to use kprinter to add printers. It has a little
> button with a wand on it that will launch the wizard. However, have you
> tried cups? If that's what you use, then you can just fire up your
> favorite web browser and point it to http://localhost:631 to find a very
> intuitive interface which will walk you through the process of adding a
> printer.
>
>
>


Point the printer software, CUPS, etc at /dev/usb/lp0 .

Now, a Quest further. I have a mouse, 3 button, Belkin

lsusb shows;

Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 002: ID 1241:1111 Belkin (?) Mouse
Bus 001 Device 001: ID 0000:0000

Anyone get this to work?

linking ((/dev/usb/mouse) or (/dev/usb/mouse2)) to /dev/mouse stops
startx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 09:27 PM
The Real Bev
 
Posts: n/a
Default Re: USB PRINTER SETUP (Samsung ML-1740)

It works fine with windows and with mozilla, netscape, kwrite, kmail and
open office, but I can't get it to lpr or llpr a standard text file.
The Samsung people claim to support slackware (for which we should all
be grateful), but I don't think their 'help' people really understand
the question. I just want to print text files (program listings,
mostly) like in the old days, not with a word processor. Any hope?

And does anybody know of a linux word processor that will allow 15 or 20
columns in a 4-point or smaller font? Word Perfect can't see the
Samsung, abiword can't even load the file I want to print, open office
is nice but the smallest font is 6 point, kwrite won't do columns...

--
Cheers,
Bev
================================================== =======
"If you watch TV news, you know less about the world than
if you just drank gin straight from the bottle."
- Garrison Keillor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 05:42 AM
Rinaldi J. Montessi
 
Posts: n/a
Default Re: USB PRINTER SETUP (Samsung ML-1740)

On Fri, 28 Jan 2005 15:31:41 -0800, The Real Bev wrote:
> It works fine with windows and with mozilla, netscape, kwrite, kmail and
> open office, but I can't get it to lpr or llpr a standard text file.
> The Samsung people claim to support slackware (for which we should all
> be grateful), but I don't think their 'help' people really understand
> the question. I just want to print text files (program listings,
> mostly) like in the old days, not with a word processor. Any hope?
>
> And does anybody know of a linux word processor that will allow 15 or 20
> columns in a 4-point or smaller font? Word Perfect can't see the
> Samsung, abiword can't even load the file I want to print, open office
> is nice but the smallest font is 6 point, kwrite won't do columns...


Hi Bev. I'm at work at the moment (sigh) but if you could give me anexample
of the typesof commands that are failing , e.g lpr file.txt; cat file.txt >
lpr etc.

I use an Okidata ML 390 with cups and I'm sure I can do what you want

Rinaldi
--
When you try to make an impression, the chances are that is the
impression you will make.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 05:44 AM
The Real Bev
 
Posts: n/a
Default Re: USB PRINTER SETUP (Samsung ML-1740)

"Rinaldi J. Montessi" wrote:
>
> On Fri, 28 Jan 2005 15:31:41 -0800, The Real Bev wrote:
> > It works fine with windows and with mozilla, netscape, kwrite, kmail and
> > open office, but I can't get it to lpr or llpr a standard text file.
> > The Samsung people claim to support slackware (for which we should all
> > be grateful), but I don't think their 'help' people really understand
> > the question. I just want to print text files (program listings,
> > mostly) like in the old days, not with a word processor. Any hope?
> >
> > And does anybody know of a linux word processor that will allow 15 or 20
> > columns in a 4-point or smaller font? Word Perfect can't see the
> > Samsung, abiword can't even load the file I want to print, open office
> > is nice but the smallest font is 6 point, kwrite won't do columns...

>
> Hi Bev. I'm at work at the moment (sigh) but if you could give me anexample
> of the typesof commands that are failing , e.g lpr file.txt; cat file.txt >
> lpr etc.


bb:/root>lpr dvd.txt
bb:/root>lpq
Printer: lp@bb
Queue: no printable jobs in queue
Server: no server active
Status: job 'root@bb+575' saved at 22:03:53.138
Rank Owner/ID Pr/Class Job Files Size
Time
done root@bb+575 A 575 dvd.txt 620
22:03:51
--------------------

At various other times other messages are given, but the common
complaint is "no server active."

# /etc/printcap:
# Samsung
lp:\
:sh:\
:ml#0:\
:mx#0:\
:sd=/var/spool/lpd/lp:\
:if=/usr/local/linuxprinter/filters/spl2print:\
:lp=/dev/usb/lp0:

# old panasonic laser printer with problems
lp1|hpj:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd:\
:sh:\
:if=/usr/lib/laserjet-filter:\
:mx#0:
--------------------------

The Samsung helpguy sent the following:

--------------------------
Use the built in ML-1210 or ML-1430 drivers instead of the ML-1740
drivers. The ML-1740 is a host based printer which means the Operating
System processes the print job, not the printer. Go to
www.linuxprinting.org Look for the FAQ's. You should see Samsung at the
bottom of the page. You may find a workaround.

Copy and page this link into your web browser
http://cbbrowne.com/info/printing.html

you may find the answer to your problem at that website. We have tested
the ML-1740 with Red Hat version 9.We installed the driver using lpr. We
were able to print simple text files from the terminal.
--------------------------

"I think my mind is going, Dave." I assume this means to use their
program to add an ML-1710 printer as lp2 and print to that. I'm
reluctant to try to "improve" something that finally started working
when I don't know why it stopped working :-(

> I use an Okidata ML 390 with cups and I'm sure I can do what you want


Just think, the world is full of immortal Okidata dot matrix printers
that will probably last as long as Schwinn Varsities!

ObMozilla: I can't get either Moz 1.8 or NS 4.79 to print landscape
instead of portrait. 'Print preview' works fine, but the page comes out
portrait. Fortunately there's not much reason to print b+w pix at 600
dpi.

--
Cheers, Bev
-------------------------------------------------
I have no idea what I'm talking about, so here's
a bunny with a pancake on his head:
http://www.ebaumsworld.com/forumfun/misc15.jpg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 05:44 AM
Rinaldi J. Montessi
 
Posts: n/a
Default Re: USB PRINTER SETUP (Samsung ML-1740)

On Sat, 29 Jan 2005 22:15:53 -0800, The Real Bev wrote:

.....

>> Hi Bev. I'm at work at the moment (sigh) but if you could give me anexample
>> of the typesof commands that are failing , e.g lpr file.txt; cat file.txt >
>> lpr etc.

>
> bb:/root>lpr dvd.txt


This works here.

> bb:/root>lpq
> Printer: lp@bb
> Queue: no printable jobs in queue
> Server: no server active


Is your print daemon running?

> # /etc/printcap:
> # Samsung
> lp:\
> :sh:\
> :ml#0:\
> :mx#0:\
> :sd=/var/spool/lpd/lp:\
> :if=/usr/local/linuxprinter/filters/spl2print:\
> :lp=/dev/usb/lp0:


You have a USB printer? Are your usb modules loaded?

> # old panasonic laser printer with problems
> lp1|hpj:\
> :lp=/dev/lp0:\
> :sd=/var/spool/lpd:\
> :sh:\
> :if=/usr/lib/laserjet-filter:\
> :mx#0:


cat somefile.txt >/dev/lp0 produces what?

> Just think, the world is full of immortal Okidata dot matrix printers
> that will probably last as long as Schwinn Varsities!


I have a Star Micronics NL10 in the closet.

> ObMozilla: I can't get either Moz 1.8 or NS 4.79 to print landscape
> instead of portrait. 'Print preview' works fine, but the page comes out
> portrait. Fortunately there's not much reason to print b+w pix at 600
> dpi.


Just for grins I gave that a shot. Same results here. Nowever if you
print to file the results can be manipulated with your ps utility (gv,
etc.)>

Rinaldi
--
"Why are we importing all these highbrow plays like `Amadeus'? I could
have told you Mozart was a jerk for nothing."
-- Ian Shoales
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 05:45 AM
The Real Bev
 
Posts: n/a
Default Re: USB PRINTER SETUP (Samsung ML-1740)

"Rinaldi J. Montessi" wrote:
>
> On Sat, 29 Jan 2005 22:15:53 -0800, The Real Bev wrote:
>
> >> Hi Bev. I'm at work at the moment (sigh) but if you could give me anexample
> >> of the typesof commands that are failing , e.g lpr file.txt; cat file.txt >
> >> lpr etc.

> >
> > bb:/root>lpr dvd.txt

>
> This works here.


How nice for you :-( Why me, lord?

> > bb:/root>lpq
> > Printer: lp@bb
> > Queue: no printable jobs in queue
> > Server: no server active

>
> Is your print daemon running?


bb:/root>ps aux |grep lpd
lp 901 0.0 0.2 3352 1264 ? Ss 14:26 0:00 lpd
Waiting

> > # /etc/printcap:
> > # Samsung
> > lp:\
> > :sh:\
> > :ml#0:\
> > :mx#0:\
> > :sd=/var/spool/lpd/lp:\
> > :if=/usr/local/linuxprinter/filters/spl2print:\
> > :lp=/dev/usb/lp0:

>
> You have a USB printer? Are your usb modules loaded?


Yes, yes.

> > # old panasonic laser printer with problems
> > lp1|hpj:\
> > :lp=/dev/lp0:\
> > :sd=/var/spool/lpd:\
> > :sh:\
> > :if=/usr/lib/laserjet-filter:\
> > :mx#0:

>
> cat somefile.txt >/dev/lp0 produces what?


Nothing. catting to several likely devs (including /dev/usb/lp0, which
is what lp links to) produces this:

bb:/root>cat .gtkrc >/dev/usb/lp0
bb:/root>lpq
Printer: lp@bb
Queue: no printable jobs in queue
Server: no server active
Status: job 'root@bb+907' saved at 14:27:46.345
Rank Owner/ID Pr/Class Job Files Size
Time
done root@bb+907 A 907 (STDIN) 135942
14:27:41

Same result as before, just a different file.

> > Just think, the world is full of immortal Okidata dot matrix printers
> > that will probably last as long as Schwinn Varsities!

>
> I have a Star Micronics NL10 in the closet.


We've had a Panasonic KXP-4420 for at least 10 years. Heavy sucker, and
slow. Something has happened to it that results in the bottom inch of
the paper being unprintable, so we sprung for the Samsung because of its
linux-friendliness. It's really fast, which is nice. It really sucks
to have to wait 5 minutes per page :-( The KXP DOES lpr simple text
files quickly, though.

> > ObMozilla: I can't get either Moz 1.8 or NS 4.79 to print landscape
> > instead of portrait. 'Print preview' works fine, but the page comes out
> > portrait. Fortunately there's not much reason to print b+w pix at 600
> > dpi.

>
> Just for grins I gave that a shot. Same results here. Nowever if you
> print to file the results can be manipulated with your ps utility (gv,
> etc.)>


I like xv with jpgs. Winmozilla prints properly, though :-( My mom
likes to print photos (she uses a profligate deskjet) but I'm glad to be
rid of the need to store paper.

--
Cheers,
Bev
<> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <>
Some mornings it's just not worth chewing through the straps.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:57 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com