Re: [gentoo-user] udev-182 already

2012-03-20 Thread Canek Peláez Valdés
On Tue, Mar 20, 2012 at 8:35 AM, walt w41...@gmail.com wrote:
 Yesterday udev-181, today udev-182.  The devs are busy :)
 The update has some interesting changes worth noting, I think.

 First, udev-182 conflicts with hplip, but only if you have the
 'acl' useflag set.

 The new gentoo-sources-3.3.0 introduces a kernel config item that
 you need to set according to whether you use openrc or systemd.
 This reflects the ongoing gentoo effort to support both openrc and
 systemd, which should be interesting to watch.  (I hope.)

 There is another useflag I've never noticed before, the 'openrc'
 useflag, which is used by udev to install the openrc init scripts.

 I just noticed and set that useflag today when updating udev because
 I'm still using openrc.  I don't know what would have happened if
 I hadn't set it, but it sounds to me like a possible headache.

https://bugs.gentoo.org/show_bug.cgi?id=408379

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] HP PSC 1410 USB

2012-03-22 Thread G . Sebastián Pedersen
On 3/21/12, Nilesh Govindrajan cont...@nileshgr.com wrote:
 Make sure that you have hplip installed (with hpcups  scanner USE flags
 enabled). Also cups with USE flag usb if you have not enabled kernel usb
 printer support. I have the same piece and it's working like a charm for
 the past four years :D
 My printer is seven years old though.

 --
 Nilesh Govindarajan
 http://nileshgr.com


Fantastic! It's looks like not configurin usb printer in the kernel
and rebuilding cups with USE usb did the job :)

Final cuestion: when I run hp-setup installed the HP PSC 1400 and not
1410, is that ok? is that Nilesh the one you have installed and
working?

Many thanks to all suggestion, I appreciate your time very much.
Sebas



Re: [gentoo-user] printer

2012-04-29 Thread kwkhui
On Sun, 29 Apr 2012 21:55:08 +0200
Stephane Guedon steph...@einstein.22decembre.eu wrote:

 Hi everyone
 
 I am now forced to replace my epson printer.
 
 Anyone think of a printer for which ink is quite cheap (contrary to
 the epson) and that allow to have status not only in windows ?
 
 Epson as an utility to have ink status in windows and linux, but I
 have my printer on a server and was in hope some could have ink
 status iin cups ...
 
 So, anyone that have a suggestion is welcome !

Is it just me?  There is a bad GPG signature (maybe it is due to the
accent character(s)).

Anyway, IMO hplip is much nicer than mtink (there is the command-line
tool hp-level included that displays ink level), and HP ink don't dry
up if you leave the printer idle for 2 weeks, unlike Epson. Of course,
if you print a lot you should consider laser printer.

Kerwin


signature.asc
Description: PGP signature


[gentoo-user] [HEADSUP] New udev-186 breaks pulseaudio

2012-07-05 Thread walt
udev-186 replaces libudev.so.0 with libudev.so.1, and pulseaudio
won't compile against it.  If you need pulse, avoid udev-186.

I backed down to udev-182-r3, which fixed the problem, but I had
to run revdep-rebuild (again) to fix all the other packages that
did build against libudev.so.1 and now had to be rebuilt a second
time against libudev.so.0.

Also, even udev-182 did some breakage to the udev scripts installed
by hplip, but that's easy to fix.  Apparently the recent udev has
replaced the SYSFS keyword with ATTR.

This simple fix I found with google seems to work for me:

#cd /lib64/udev/rules.d
#sed -i s/SYSFS/ATTR/g *

Doesn't it seem that breakage this big should be obvious to the
devs before the changes go public, even on ~arch?  Hrmph!





[gentoo-user] Re: network scanner not seen by xsane on *some* systems

2012-07-07 Thread walt
On 07/06/2012 05:35 PM, Allan Gottlieb wrote:
 I have one network (a linksys) to which all my devices are attached.
 
 I have two laptops running ~amd64 and one desktop running amd64.
 I have one scanner, an hp officejet 7310 that is (wired) ethernet
 attached.
 
 When I try xsane from either laptop I receive the popup saying that no
 devices are found.  From the desktop all is well.
 
 I can print to the 7310 from all three machines.
 I can ping the 7310 from all machines.

That's pretty strange, for sure.  I assume you have cups and hplip on
all three?

When I use a web browser on localhost:631 I can see two printers on each
machine: hp_LaserJet_3015 and hp_LaserJet_3015_fax. (No 3015_scanner, but
I figure the 'fax' doubles as the scanner.)

Do you have the 'fax' device on your laptops?






Re: [gentoo-user] syslog-ng segfaults

2013-07-20 Thread kwkhui
On Fri, 19 Jul 2013 17:03:36 -0400
Randy Barlow ra...@electronsweatshop.com wrote:

 Alexey Mishustin wrote:
  So, restarting syslog-ng should be all that's required to fix it -
  reboot is
  overkill.
 
  As for me, first I updated syslog-ng, then I issued
  '/etc/init.d/syslog-ng reload' (by mistake, instead of 'restart'),
  and then 'restart' as I should. Then, just when syslog-ng was
  restarting, the segfault happened.
 
 I also noted that restarting syslog didn't seem to solve the problem.
 I do think Adam's reasoning makes sense, but there must be something
 else that needed to be restarted as well.
 

Same behaviour here.  In my case with an lsof | grep libsyslog-ng I
see in the physical host hp-systray from hplip was still
using the old libsyslog-ng.so, so killing that and a restart of
syslog-ng service stops the segfault lines.  YMMV,

Kerwin.


signature.asc
Description: PGP signature


Re: [gentoo-user] new printer : any thoughts ?

2013-12-11 Thread Thomas Mueller
from Philip Webb:

 My ancient printer's ink cartridge has finally dried up
 the mobo in my regular computer accepts only USB.
I don't do much printing, but occasionally need a few pages.

The local store has an HP Deskjet 2510 on sale this week.

Does anyone have thoughts or suggestions ?

I lean toward Brother from what I hear and from my long-ago experience with 
Brother AX-26 word-processing daisywheel typewriter.

My experience with HP LaserJet M1212nf MFP and their technical support is 
unfavorable.

Their tech support was offshored to India, and there was much difficulty in 
being understood, both ways, over the telephone.

I still haven't succeeded in setting it up.

Maybe the assumptions about file system structure are Linux-based and cause 
failure in NetBSD and FreeBSD.

Or maybe the printer is a turkey.

This caused me strong aversion to buying anything in the future from HP.

What other printer brands require a special package such as hplip for Linux and 
BSD?

Tom




Re: [gentoo-user] foo2zjs make install error

2014-04-15 Thread Dutch Ingraham
On 04/15/2014 08:12 AM, Neil Bothwick wrote:
 On Mon, 14 Apr 2014 21:06:12 -0400, Dutch Ingraham wrote:
 
 I'm having a problem installing a print driver, foo2zjs, downloaded and
 compiled from source.
 
 There is an ebuild for foo2zjs.
 
 This is a driver for a HP P1505n printer. (hplip
 is not an option as this printer needs further firmware that is not
 generally available).  The error message I'm getting at the make install
 command is:

 Error - foomatic-rip is not installed!
 Install foomatic packages for your OS
 make [install test] Error 1
 
 https://bugs.gentoo.org/show_bug.cgi?id=503578
 
 The file is on your system but not where foo2zjs is looking.
 
 
Thanks, Neil.  I wasn't aware of the bug report.  I'm not sure whether
it is an actual bug, though, since I have three boxes with the same
vanilla Gentoo install (no LVM, no RAID, simple MBR, old 4-5 year old
Dells) and on the other two, the install worked perfectly.  I haven't
been able to detect any difference in the installs, yet.  There must be
one, but I can't find it.  I'd like to help the other folks and find the
bug if possible.



[gentoo-user] Re: Lable Printer for gLabels

2014-05-10 Thread James
Joseph syscon780 at gmail.com writes:

 
 Does anybody know if there is any label printer that will work with gLabels 
 

It's been a while since I used stick-on labels. But we use to by
letter sized papers, covered on one side with stick-on labels all
of the same size. We mostly put mailing address on each label. We 
used an hp printer and the particular sheets we used where coded,
with I believe was a 4 digit number, as I think avery and others make
litterally thousands of choices for these sheets (at least they use to). 
The open source software could recognize the sheet template number and the
software did the rest.

Sorry I could not be more specific, but it was an all open source solution.
The trick was to match the sheet template number to the correct
software setting, much like what you do with cups hplip..

It was a over a decade ago, so I'm quite certain those solutions
have just morphed into one of the currently maintained sofware
packages. Sorry I could not be more specific. Perhaps someone else will
chime in.


hth,
James





Re: [gentoo-user] USB Problems

2014-09-06 Thread Alexander Kapshuk
On Sat, Sep 6, 2014 at 7:52 PM, siefke_lis...@web.de
siefke_lis...@web.de wrote:
 Hello,

 On Thu, 04 Sep 2014 06:58:54 +0200 J. Roeleveld jo...@antarean.org
 wrote:

 siefke ~ $  cat /usr/src/linux/.config | grep CONFIG_USB_PRINTER
 CONFIG_USB_PRINTER=m

 Change this to 'n'.

 No because cups is compile with -usb and the netbook not see printer.
 Dmesg give printer out, but in cups nothing to see in local print
 support.

 siefke ~ $  equery u cups | grep usb
 -usb


 Thank you  Ragards
 Silvio



Have you tried this configuration?
http://wiki.gentoo.org/wiki/HPLIP
For USB printers net-print/cups has to be built with the usb USE flag.
This way it makes use of the dev-libs/libusb user space tool which
replaces kernel usb printer support (CONFIG_USB_PRINTER). In case of
problems you can disable the usb USE flag for net-print/cups and
activate the kernel functionality again.



[gentoo-user] Re: Printer margins

2015-07-06 Thread walt
On Mon, 06 Jul 2015 16:01:44 -0500
Dale rdalek1...@gmail.com wrote:

 Howdy,
 
 I finally got around to ordering some ink cartridges.  Now I want to
 do some printing.  Thing is, it tries to print ALL the way to the
 bottom which ends up blurred and unreadable.  I've looked in Seamonkey
 settings, nothing.  I've looked in Hplip, nothing there.  I've even
 looked in cups, well, nothing that makes sense.  I don't like the new
 cups interface.

cups, bah!  Every time cups is updated my printer 'breaks'.  From
painful years of experience I now know to 'delete' whatever printer/fax
devices cups knows about and use hp-setup (not cups) to recreate them.

By 'delete' I'm referring to the cups interface I access by visiting
localhost:631 in a web browser.  Is that the cups interface you're
using?





[gentoo-user] Re: Printer margins

2015-07-06 Thread walt
On Mon, 06 Jul 2015 19:41:07 -0500
Dale rdalek1...@gmail.com wrote:

 walt wrote:
  On Mon, 06 Jul 2015 16:01:44 -0500
  Dale rdalek1...@gmail.com wrote:
 
  Howdy,
 
  I finally got around to ordering some ink cartridges.  Now I want
  to do some printing.  Thing is, it tries to print ALL the way to
  the bottom which ends up blurred and unreadable.  I've looked in
  Seamonkey settings, nothing.  I've looked in Hplip, nothing
  there.  I've even looked in cups, well, nothing that makes sense.
  I don't like the new cups interface.
  cups, bah!  Every time cups is updated my printer 'breaks'.  From
  painful years of experience I now know to 'delete' whatever
  printer/fax devices cups knows about and use hp-setup (not cups) to
  recreate them.
 
  By 'delete' I'm referring to the cups interface I access by visiting
  localhost:631 in a web browser.  Is that the cups interface you're
  using?
 
 
 
 It used to do the same with me but that stopped a long time ago.

Dale, did you try it *this* time?  If not, please try the
same-ole-same-ole tired remedy just one more time.  The price is
right :)




Re: [gentoo-user] Printer margins

2015-07-07 Thread Dutch Ingraham
On Tue, Jul 07, 2015 at 12:27:56PM -0500, Dale wrote:
 Stroller wrote:
  On Mon, 6 July 2015, at 10:01 pm, Dale rdalek1...@gmail.com wrote:
 
  …  it tries to print ALL the way to the bottom
  which ends up blurred and unreadable.  … 
 
  So, how does one change the bottom margin to say 1/2 or even 3/4 inch or
  something?  Is there a way? 
  Are you using A4 printer settings on US letter sized paper?
 
  Stroller.
 
 
 
 
 Nope.  That was my first thought.  I was hoping.  I checked everything
 that can affect the printer, the apps setting, hplip and cups.  All set
 correctly. 
 
 Good idea tho.  ;-)
 
 Thanks.
 
 Dale
 
 :-)  :-) 
 
I've lost track of all the details of this thread, so please excuse me
if this has been suggested already.  If I recall, you are using CUPS,
and if so, this document[1] explains how to set margins from the command
line.  It seems to be document-specific, and not global, though.

I remember doing the required math for this a couple of years ago, and
ended up just going with something like a2ps and being done with it.


[1] http://www.cups.org/documentation.php/options.html



Re: [gentoo-user] Quick check on net-print/hplip-3.14.10

2015-09-18 Thread Marc Joliet
On Friday 18 September 2015 10:31:01 Mick wrote:
>A couple of months ago the akonadi DB went sideways and kmail played up as a 
>result.  Again I was suspicious of btrfs, but neither the logs nor fsck
>showed up anything.

I take it "btrfs scrub" didn't turn up anything, or is that what you meant by 
fsck?

>The OS is on a single SSD (no RAID), with some caches and busy fs mounted on
>a  spinning disk.  I have some backups in case of DR, but after a while a
>corrupted fs will have migrated to the back ups.

With btrfs, if there really was silent corruption, you wouldn't be able to 
access the file in the single disk case, so no, I don't think it actually 
would propagate to the backup (although perhaps you don't use btrfs 
exclusively, in which case it of course could).  Though keep in mind that 
corruption can happen in a variety of ways, e.g., application-level or 
firmware bugs.

-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] scanning using the sheet feeder (HP 8600 + xsane)

2017-05-06 Thread J. Roeleveld
On May 6, 2017 4:05:26 AM GMT+02:00, allan gottlieb <gottl...@nyu.edu> wrote:
>I have an hp 8600 all-in-one and use net-print/hplip.
>Printing is fine.
>
>I use xsane for scanning, which also works well ...
>
>... except I can't figure out how to use the sheet feeder for multipage
>scanning.
>
>I can select multipage and can the scan each page singly and hit
>"save multipage file".  This works.  But I can't put say 10 pages in
>the
>feeder, hit something, get coffee, and find a 10 page document on my
>computer.
>
>In case it is relevant, I run gentoo stable / gnome-3 / systemd.
>
>thanks in advance,
>allan

I use 'hp-scan' for that:
# hp-scan --adf -m color

It scans all the pages as ppm, then combines it into a single PDF.

It has a bunch of different options, but this is what I start with.

Downside is that the PDF is quite large. I solve that by reconverting the 
images to jpeg.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] scanning using the sheet feeder (HP 8600 + xsane)

2017-05-06 Thread Philip Webb
170506 Neil Bothwick wrote:
> On Fri, 05 May 2017 22:05:26 -0400, allan gottlieb wrote:
>> I have an hp 8600 all-in-one and use net-print/hplip.
>> Printing is fine.
>> I use xsane for scanning, which also works well ...
>> I can't figure out how to use the sheet feeder for multipage scanning.
> I use gscan2pdf for that. I've used it to scan hundreds of pages
> into a single document, only stopping to top up the document feeder.

It wants to install  49 pkgs  of Perl +  1  more as requirements (grimace).

Why do PDF utilities seem to demand so much external support ?
-- 'pdftk' is very useful iff you're willing to install Java.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] scanning using the sheet feeder (HP 8600 + xsane)

2017-05-06 Thread Neil Bothwick
On Fri, 05 May 2017 22:05:26 -0400, allan gottlieb wrote:

> I have an hp 8600 all-in-one and use net-print/hplip.
> Printing is fine.
> 
> I use xsane for scanning, which also works well ...
> 
> ... except I can't figure out how to use the sheet feeder for multipage
> scanning.
> 
> I can select multipage and can the scan each page singly and hit
> "save multipage file".  This works.  But I can't put say 10 pages in the
> feeder, hit something, get coffee, and find a 10 page document on my
> computer.

I use gscan2pdf for that. I've used it to scan hundreds of pages into a
single document, only stopping to top up the document feeder.


-- 
Neil Bothwick

Hyperbole is absolutely the worst mistake you can possibly make


pgpKVsSjby0fn.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] scanning using the sheet feeder (HP 8600 + xsane)

2017-05-06 Thread allan gottlieb
On Fri, May 05 2017, allan gottlieb wrote:

> I have an hp 8600 all-in-one and use net-print/hplip.
> Printing is fine.
>
> I use xsane for scanning, which also works well ...
>
> ... except I can't figure out how to use the sheet feeder for multipage
> scanning.
>
> I can select multipage and can the scan each page singly and hit
> "save multipage file".  This works.  But I can't put say 10 pages in the
> feeder, hit something, get coffee, and find a 10 page document on my
> computer.
>
> In case it is relevant, I run gentoo stable / gnome-3 / systemd.
>
> thanks in advance,
> allan

I received many helpful replies, each of which recommend a tool other
than sane.  Is the point that sane can't use the document feeder or just
that you prefer (or simply have used) other tools.

thanks,
allan



Re: [gentoo-user] Re: Printer

2018-03-01 Thread Neil Bothwick
On Thu, 1 Mar 2018 15:10:58 + (UTC), Grant Edwards wrote:

> > For my birthday (!) my children want to offer me a multifunction
> > printer, copier.
> >
> > I ask you for an idea which one they could buy.  
> 
> I despise all inkjets, but maybe that's just me.

It's not.
 
> I'd pick mono laser over any inkjet.

That depends on your printing needs. I've now got an HP colour laser AIO
device. It was expensive but it does everything I need with minimal fuss.

The only point I'd make about HP AIO devices is that while the hplip
package is free and open source, to use it with a scanner it downloads a
non-free binary blob. Whether this matters depends on whether you are a
pragmatist or zealot ;-)

> Many years ago, I worked with a Brother mono laser multifunction
> printer and the "print" part worked fine with Linux.  I don't think I
> ever tried to set it up the scanning.

I had a similar device and it was a bitch to set up.


-- 
Neil Bothwick

Stupid user error. Terminate user (Y/n) ?


pgpwzw2ALK0cA.pgp
Description: OpenPGP digital signature


[gentoo-user] hplip network scanning port

2020-07-31 Thread Adam Carter
I used to be able to scan on my gentoo box from an HP officejet pro on the
network. This is now failing and i can see that the gentoo box is
attempting to connect to TCP/6566 on the HP, but the HP is not listening on
that port.

Test command is;
hp-scan -dhpaio:/net/HP_Officejet_Pro_8620?ip=

Is 6566 scan attempt using the correct port?

Nmap of the printer;
PORT  STATE SERVICE
80/tcpopen  http
139/tcp   open  netbios-ssn
443/tcp   open  https
445/tcp   open  microsoft-ds
515/tcp   open  printer
631/tcp   open  ipp
3910/tcp  open  prnrequest
3911/tcp  open  prnstatus
6839/tcp  open  unknown
7435/tcp  open  unknown
8080/tcp  open  http-proxy
9100/tcp  open  jetdirect
9220/tcp  open  unknown
53048/tcp open  unknown


Re: [gentoo-user] portage update problems due to sane-backends

2007-11-16 Thread Jeff Cranmer
Success.

I updated hplip, which replaced the /etc/sane.d/dll/conf hpoj line with hpaio.
Now all is working once more :-)

Thanks for pointing me in the right direction, Neil

Jeff


On Friday 16 November 2007 09:00:06 am Jeff Cranmer wrote:
 Progress kind of :-/

 I set SANE_BACKENDS to hp, and was able to compile the sane-backends
 package.

 Two files were changed and flagged via etc-update.

 The first was /etc/sane.d/dll.conf, which added a bunch of scanners and
 commented out hpoj.  Since hpoj is part of the hplip package, and I have
 this package installed, I deleted the comment character to enable this dll

 The second file was /etc/hotplug/usb/libsane.usermap
 The PSC 750 usb entry was deleted, so I added this back in
 # Hewlett-Packard PSC-750
 libusbscanner 0x0003 0x03f0 0x1411 0x 0x 0x00 0x00 0x00 0x00 0x00
 0x00 0x

 Unfortunately, sane can no longer find my scanner, even after restarting
 hotplug.

 Any assistance gratefully received.

 Thanks

 Jeff

 On Friday 16 November 2007 08:33:14 am Jeff Cranmer wrote:
  The scanner is an HP PSC-750xi
  SANE_BACKENDS is set to hpaio in make.conf.
  What should it be set to?
 
  Jeff
 
   On Friday 16 November 2007 04:44:54 am Neil Bothwick wrote:
On Thu, 15 Nov 2007 19:36:46 -0500, Jeff Cranmer wrote:
 I do not seem to be able to update a lot of my system, because
 sane-backends fails to compile.
   
That only stops you updating sane-backends, not the rest of the
system. You can skip this and continue a world update with emerge
--resume --skipfirst.
   
 This is the error I get

 make[1]: Entering directory
 `/var/tmp/portage/media-gfx/sane-backends-1.0.18-r4/work/sane-backe
nd s- 1. 0.18/backend' make[1]: *** No rule to make target
 `libsane-hpaio.la', needed by `all'.
   
Which scanner do you have? What is SANE_BACKENDS set to in
/etc/make.conf?
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Network printing

2008-12-22 Thread Peter Humphrey
Hello,

This follows from the printing-from-windows thread; it's not confined to 
Windows.

Thanks to Mark K for his help so far. To recap:

My network server box has two USB printers attached: a Kyocera FS1020D 
laser, which works just fine, and an HP Deskjet D4260, which doesn't: I can 
print to the Deskjet from the local machine but not from anywhere else.

CUPS is installed with USE=acl dbus jpeg pam perl png python ssl 
tiff -X -avahi -gnutls -java -kerberos -ldap -php -ppds -samba -slp -static 
-xinetd -zeroconf

Hplip is installed with USE=cupsddk dbus 
doc -fax -minimal -parport -ppds -qt3 -qt4 -scanner -snmp I ran hp-setup 
as root, and it detected the printer and inserted it into cups, where I can 
control it as expected using the cups Web pages.

(I've already quoted part of cupsd.conf, but I can repeat it if necessary.)

Now this is what happens today: I go to localhost:631 on my workstation and 
attempt to connect to the Deskjet. I tell cups it's an HP model via ipp, 
and I accept the very generic driver it offers me, and I see it's added 
successfully. Then I ask for a test page and I get Unsupported 
format 'application/postscript'! So I delete the printer and start again.

This time I supply the .ppd file I got from linuxprinting.org instead of the 
generic HP one, and once again I get added successfully. But at the very 
next screen I get Filter foomatic-rip for printer Deskjet_D4260 not 
available: No such file or directory. Yet foomatic-rip is right there 
in /usr/bin, being part of the foomatic-filters package which was pulled in 
by emerging hplip.

I've tried exploring the Web for trouble-shooting tips on HP printers, and 
the best I've found is HP's own site, where I get dark hints about snmp. I 
also half-remember having to include ldap in cups from some time ago, but I 
can't see what either of those might have to do with my problem - am I 
missing something?

As an aside, it really is daft of cups to report added successfully when 
it has no idea of the success of the operation.

Another aside: what could cause the cups admin pages to lose their graphical 
effects and revert to plain white background, with framed text strings 
where the buttons ought to be? This happens quite often.

-- 
Rgds
Peter



Re: [gentoo-user] Network printing

2009-01-06 Thread BRM
I think you are very close to getting it to work but just need to get LP 
configured correctly. It sounds like you have both systems configured as the 
Server, which is not correct.

For your workstation, follow the Client directions below:
http://www.gentoo.org/doc/en/quick-samba-howto.xml#doc_chap5


Which is basically two steps:

1) Modify '/etc/cups/client.conf' and tell it where the server is.
2) Configure LP:
- use lpstat to see the available printers
- use lpoptions to set the default printer

The beauty of CUPS is that any new printer you install on the server 
automatically becomes available to all clients. On Windows, you need additional 
drivers; but for other CUPS clients, it takes care of it for you internally (to 
my understanding).

I believe you only need HPLIP on the server side, not the client side. But 
having it there shouldn't do any harm.

HTH,

Ben


- Original Message 
From: Peter Humphrey pe...@humphrey.ukfsn.org
To: gentoo-user@lists.gentoo.org
Sent: Tuesday, January 6, 2009 10:39:48 AM
Subject: [gentoo-user] Network printing

Hello,

As it's the New Year, perhaps it's time to resume banging my head on this 
wall again.

I have a server with two printers connected, set up using the cups Web page 
and operating properly. Now I want to send print jobs to them from my 
workstation, which is on the same network, and with the same version of 
cups: 1.3.9-r1. One of the printers is an HP Deskjet D4260, so I also have 
hplip version 2.8.6b installed on both machines. I can connect either 
printer to either machine and print locally without any problems.

However, I cannot get anything to print over the network. If, on the 
workstation, I declare the network laser printer and connect to it, all 
appears to work until I send a print job to it; the job sits in the lp 
queue locally, and when I next look at the status of the printer it 
says Destination printer does not exist!

If I try to set up the Deskjet as a remote printer in the local cups server, 
I get Filter foomatic-rip for printer HP_Deskjet_D4260 not available: 
No such file or directory.

I don't know what to try next. Anyone any idea here?

-- 
Rgds
Peter



Re: [gentoo-user] Network printing

2009-01-07 Thread Mark Knecht
On Wed, Jan 7, 2009 at 4:08 AM, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
 On Tuesday 06 January 2009 17:04:57 Mark Knecht wrote:

For the sake of conversation how about emerge flags?

 My server:

 [ebuild   R   ] net-print/cups-1.3.9-r1  USE=X acl dbus jpeg ldap pam
 perl png ppds python samba ssl tiff -avahi -gnutls -java -kerberos
 -php -slp -static -xinetd -zeroconf LINGUAS=en -de -es -et -fr -he
 -id -it -ja -pl -sv -zh_TW 0 kB

 [ebuild   R   ] net-print/hplip-2.8.6b  USE=dbus ppds qt3 qt4
 -cupsddk -doc -fax -minimal -parport -scanner -snmp 0 kB

 Mine:

 [ebuild   R   ] net-print/cups-1.3.9-r1  USE=acl dbus jpeg pam perl png
 python ssl
 tiff -X -avahi -gnutls -java -kerberos -ldap -php -ppds -samba -slp -static 
 -xinetd -zeroconf
 LINGUAS=en -de -es -et -fr -he -id -it -ja -pl -sv -zh_TW

 [ebuild   R   ] net-print/hplip-2.8.6b  USE=cupsddk dbus
 doc -fax -minimal -parport -ppds -qt3 -qt4 -scanner -snmp

 I don't have X set because X is not installed on this server. I may install
 it later. I have cupsddk instead of ppds because hplip's ppds USE flag
 description says it is obsolete and I should use cupsddk instead.


Interesting about the ppds flag. I have ppds in make.comf so I'm going
to get that unless I make a change. Independent of what someone said
is depreciated, what is chosen by default if nothing is specifically
asked for? There have been a number of times in the past where someone
changes a flag and it works for most but not all.

I'll investigate cupsddk here over the next week or two. Thanks.

I don't know what else to suggest. For me this has been pretty much a
non-issue. It just works. There is a setting on the server side,
available through the cups configuration stuff at
http://server_address:631 which tells cups to publish the server.

- Mark



Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-20 Thread Daniel Pielmeier
Paul Hartman schrieb am 20.04.2010 17:03:
 On Tue, Apr 20, 2010 at 5:58 AM, ubiquitous1980 nixuser1...@gmail.com wrote:
 Hello Daniel

 The all-in-one printer is connected via USB.  The following versions are
 installed:

 net-print/hplip-3.9.12-r1
 net-print/cups-1.3.11-r1
 
 Try to blacklist  rmmod the usblp module. I had to do that for my HP
 USB printer to work. Whenever usblp module was loaded, printing
 failed... I don't know if it applies to your printer as well, but it's
 something easy to try. :)
 
 

I do not own an all-in-one printer so I can not test, but if Paul's suggestions
do not work can you tell me the permissions of your device.

lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 03f0:1712 Hewlett-Packard Printing Support
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

lsusb tells you to which bus the printer is attached. In my case it is Bus 001
and Device 002 so I have the following device /dev/bus/usb/001/002

ls -al /dev/bus/usb/001/002
crw-rw-r-- 1 root lp 189, 1 20. Apr 19:05 /dev/bus/usb/001/002

There should also be a /dev/usb/lp0

ls -al /dev/usb/lp0
crw-rw 1 root lp 180, 0 20. Apr 19:05 /dev/usb/lp0

Do you have the same permissions or do they differ?

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: Quick check on net-print/hplip-3.14.10

2015-09-16 Thread walt
On Wed, 16 Sep 2015 22:22:32 +0100
Mick <michaelkintz...@gmail.com> wrote:

> Hi All,
> 
> I just noticed that the driver for my old printer no longer shows up
> in cups, on one of my PCs.  Comparison with other PCs shows that this
> one does *not* have the hpijs USE set.
> 
> Could someone who also does not have hpijs set in their hplip tell me
> if the HP DeskJet 930C selection is missing, when they load up the
> GUI via https://127.0.0.1:631 and then try to modify a printer?
> 
> Until this week there wasn't a problem with this PC so I am not sure
> what changed ...
> 
> I've set it up with DeskJet 932c for now without USE=hpijs and it
> seems to work, so I am in two minds if I need hpijs or if I need to
> use the 930c driver anyway.

Sometime in the past few days hpijs came to my attention in a way that
escapes me at the moment, but I remember being puzzled by it.  What is
also puzzling is that hpijs doesn't show up here in the output of eix:

Installed versions:  2.0.4^t(06:49:33 AM 08/28/2015)(X acl dbus java
pam python ssl systemd threads -debug -kerberos -lprng-compat -selinux
-static-libs -usb -xinetd -zeroconf ABI_MIPS="-n32 -n64 -o32"
ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32"
ELIBC="-FreeBSD" LINGUAS="-ca -cs -de -es -fr -it -ja -pt_BR -ru"
PYTHON_TARGETS="python2_7") Homepage:http://www.cups.org/
Description: The Common Unix Printing System

When I run ufed, though, I do see an hpijs useflag described, because
it's listed in /usr/portage/profiles/use.local.desc (dated today).
Here is a good use for the new git-based portage tree (which I'm not
using yet, BTW):

https://gitweb.gentoo.org/repo/gentoo.git/

I just spent 10 minutes searching through the commits related to cups
and I can't find anything about hpijs, but I know there's something
strange going on with that useflag.





Re: [gentoo-user] new scanner : how to activate for Gentoo : further thoughts

2017-05-06 Thread Daniel Frey
On 05/06/2017 06:15 AM, Philip Webb wrote:
> 170506 Mick wrote:
>> On Friday 05 May 2017 19:27:47 Philip Webb wrote:
>>> There is a pkg  media-gfx/iscan-plugin-gt-x820  for a V600 :
>>> I could take the V550 back & exchange it for a V600
>>> & try to install Iscan + data + that plugin.
>> If you are going to change it, isn't there a HP device out there
>> that Just Works™ with the hplip and potentially the hplip-plugin packages?
> 
> Very unlikely : I have an HP printer, which also copies & can scan,
> but it isn't supported by Sane-backends & would require much work.
> 
> I plan to audit what I've installed carefully today
> & if I still can't get it to work on Gentoo, I'll file a bug :
> hopefully, whoever created the plugin for V600 can do another for V550.
> 
> Also, I'll put the Epson install script on my Internet site
> ( http://www.chass.utoronto.ca/~purslow/test/ ).
> I can't make sense of it, but perhaps someone here can tell me
> what it does with the .deb files when it installs them.
> 
> If it works on Mint, it sb possible to get it to work on Gentoo.
> Usually in such cases, the secret is finding  1  small item
> which needs to be fixed & then everything is ok : that's Gentoo's strength.
> 

I had to buy a new scanner in late 2015 (I believe) and found a Canon
LiDE 200. I got mine on sale for $90 here in Canada.

This scanner doesn't have as high a resolution (it's only 4800dpi vs.
the Epson you have's 6400) and there's no ADF. It comes with a bracket
to make it sit upright.

Main reason I bought it is because it uses the genesys backend in
sane-backends and no additional configuration was required on my end.

Do note that newer models than mine require some proprietary crap. I had
to search out this model specifically. I've scanned many pictures and
used it to restore an old user manual even, works pretty well for $90.

Dan



Re: [gentoo-user] new scanner : how to activate for Gentoo : further thoughts

2017-05-06 Thread Daniel Frey
On 05/06/2017 09:15 AM, Daniel Frey wrote:
> On 05/06/2017 06:15 AM, Philip Webb wrote:
>> 170506 Mick wrote:
>>> On Friday 05 May 2017 19:27:47 Philip Webb wrote:
>>>> There is a pkg  media-gfx/iscan-plugin-gt-x820  for a V600 :
>>>> I could take the V550 back & exchange it for a V600
>>>> & try to install Iscan + data + that plugin.
>>> If you are going to change it, isn't there a HP device out there
>>> that Just Works™ with the hplip and potentially the hplip-plugin packages?
>>
>> Very unlikely : I have an HP printer, which also copies & can scan,
>> but it isn't supported by Sane-backends & would require much work.
>>
>> I plan to audit what I've installed carefully today
>> & if I still can't get it to work on Gentoo, I'll file a bug :
>> hopefully, whoever created the plugin for V600 can do another for V550.
>>
>> Also, I'll put the Epson install script on my Internet site
>> ( http://www.chass.utoronto.ca/~purslow/test/ ).
>> I can't make sense of it, but perhaps someone here can tell me
>> what it does with the .deb files when it installs them.
>>
>> If it works on Mint, it sb possible to get it to work on Gentoo.
>> Usually in such cases, the secret is finding  1  small item
>> which needs to be fixed & then everything is ok : that's Gentoo's strength.
>>
> 
> I had to buy a new scanner in late 2015 (I believe) and found a Canon
> LiDE 200. I got mine on sale for $90 here in Canada.
> 
> This scanner doesn't have as high a resolution (it's only 4800dpi vs.
> the Epson you have's 6400) and there's no ADF. It comes with a bracket
> to make it sit upright.
> 
> Main reason I bought it is because it uses the genesys backend in
> sane-backends and no additional configuration was required on my end.
> 
> Do note that newer models than mine require some proprietary crap. I had
> to search out this model specifically. I've scanned many pictures and
> used it to restore an old user manual even, works pretty well for $90.
> 
> Dan
> 

Correction: my model is the LiDE 220, a 200 series model. From what I
remember it wasn't listed on the compatibility site but it did indeed
work. I don't remember having to do anything to get it to work, other
than maybe added the USB IDs so the genesys driver would use it.

# scanimage -L
device `genesys:libusb:001:002' is a Canon LiDE 220 flatbed scanner

Dan



Re: [gentoo-user] gentoo rebuild, cups won't work WORKAROUND (i.e. mysteriously solved)

2008-02-03 Thread Kevin O'Gorman
On Feb 3, 2008 4:27 AM, Dave Jones [EMAIL PROTECTED] wrote:

 Kevin O'Gorman wrote on 02/02/08 22:26:

   I've installed cups and hplip.  I cannot follow the Gentoo
   printing guide, because that worthy document requires me to add
   hplip to the default runlevel, but hplip does not put anything
 in
   /etc/init.d.  My printer is an old HP Laserjet 4M, which I
   usually run as a Postscrpt printer.
 
   What have I missed?
 
   Run hp-setup
 
   You'll probably need to rework your cups config files if you've
   retained them from the broken install.  hp-setup should enable
   local printing OK.
 
   And if it still gives you problems, delete /etc/cups then
 reemerge
   cups.  I had to do that last part too.
 
   The problem is that my printer is on the LPT port (/dev/lp0), and
   hp-setup does not find it.  In fact it has an option for LPT
   printers, but it is greyed out.
 
   The printer is really there: I can print by cat printme
 /dev/lp0
   with a suitably formed printme file (lines need CR, file ends
 with
   ^L^D).
 
   Hmmm.  Digging slightly deeper, I found the /usr/bin/hp-probe
   program. It lets me specifically request a probe of LPT, but finds
   nothing there.  The printer remains attached.  I'm even more
 deeply
   stumped than before.
 
  Try: hp-setup -i /dev/parport0
 
  See if that helps.
 
  Try hp-setup -hfor other options.
 
  I take it that your kernel has parallel port support generated, and
 that
  you have file permission to access /dev/lp0 ?

  It runs, but only gives me options for usb and net.  This makes some
  sense since there are no /dev/parport* entries in my system.

  Nevertheless, I have parallel port support as I understand it.  From my
  kernel (2.6.22-gentoo-r6) .config file:

  #
  # Generic Driver Options
  #
  CONFIG_STANDALONE=y
  CONFIG_PREVENT_FIRMWARE_BUILD=y
  CONFIG_FW_LOADER=m
  # CONFIG_SYS_HYPERVISOR is not set
  # CONFIG_CONNECTOR is not set
  # CONFIG_MTD is not set
  CONFIG_PARPORT=yparallel port
  CONFIG_PARPORT_PC=y  PC style
  # CONFIG_PARPORT_SERIAL is not set
  # CONFIG_PARPORT_PC_FIFO is not set
  # CONFIG_PARPORT_PC_SUPERIO is not set
  # CONFIG_PARPORT_GSC is not set
  # CONFIG_PARPORT_AX88796 is not set
  CONFIG_PARPORT_1284=y
  CONFIG_PNP=y
  # CONFIG_PNP_DEBUG is not set

 Your kernel set-up looks reasonable to me.

 I don't have parallel port support generated into my system, as I don't
 have a parallel printer.

 On a Centos host with parallel port support, 2.6.18 kernel:

 CONFIG_PARPORT=m
 CONFIG_PARPORT_PC=m
 CONFIG_PARPORT_SERIAL=m
 # CONFIG_PARPORT_PC_FIFO is not set
 # CONFIG_PARPORT_PC_SUPERIO is not set
 CONFIG_PARPORT_PC_PCMCIA=m
 CONFIG_PARPORT_NOT_PC=y
 # CONFIG_PARPORT_GSC is not set
 # CONFIG_PARPORT_AX88796 is not set
 CONFIG_PARPORT_1284=y
 CONFIG_PARIDE_PARPORT=m
 CONFIG_I2C_PARPORT=m
 CONFIG_I2C_PARPORT_LIGHT=m

 ls /dev/par* shows:

 /dev/par0  /dev/parport0  /dev/parport1  /dev/parport2  /dev/parport3

 Do you have a standard parallel port, or a special IO card?

 Have you modified /etc/udev.d rules? I have these (unmodified) entries:

 rules.d/50-udev.rules:KERNEL==lp*,NAME=%k, GROUP=lp
 rules.d/50-udev.rules:KERNEL==parport*,   NAME=%k, GROUP=lp

 I'm puzzled by this, as your /dev/lp0 print test worked.

 The only other suggestion I have would be to try:

 hp-setup -i /dev/lp0

 Don't know if hp-setup will accept this, might be worth having a go.

 Cheers, Dave
 --
 gentoo-user@lists.gentoo.org mailing list

 hp-setup stubbornly refuses to acknowledge /dev/lp0

I got it to work, but don't really know what was wrong.  The drive that held
my root directory and all
configs had failed.  Friday, i got it back from the DiskSavers, along with
the data on a new USB
external drive.  Copying over the cups config files just magically made the
printer work locally.
That's enough for now.

I'm still struggling with a host of issues, so I'm going to ignore the fact
that I have no idea what
keeps my CUPS working.

I think I've got cron backing up to that USB drive nightly -- using rsync it
takes about an hour for
all partitions, unattended.  Beats the blazes out of hovering over the DVD
drive.  And i'm pretty sure
I won't end up in the same fix again.

But I've still got to get the LPD service going, not to mention apache,
vmware, ntp and gaim/pidgin.
And I have a day job.

I'll get around to it.  Real Soon Now.

++ kevin


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] What's with foomatic-filters and cups-filters?

2014-06-09 Thread Alan McKinnon
On 09/06/2014 12:28, Alan Mackenzie wrote:
 Hi, Alan.
 
 On Sun, Jun 08, 2014 at 11:47:32PM +0200, Alan McKinnon wrote:
 For Alan Mackenzie's benefit, a little back story:

[...]

 Many years ago, HP developed a fancy printing language for their laser
 printers called PostScript[1].
 
 Wasn't it Adobe?

Yes, I believe you are right. this old brain isn;t what it used to be

[...]

 meanwhile, printers shifted over to USB away from parallel ports  and
 this needed new drivers. Plus there's two way to do it: do the USB part
 of the printing in userspace and only use the kernel for regular USB
 work, or put the whole thing in the kernel. Needing more drivers. last I
 looked, there were still some serious issues with the options to have it
 all in the kernel.
 
 This is the CONFIG_USB_PRINTER, which if I remember correctly, must be
 either on or off depending on other things you might have configured.  I
 have been confused about this in the past.  Incidentally, my printer has
 a parallel port which was still in use until I got my new box in 2009.

That's the one. Very very confusing at the time and I recall it clearly
- the kernel config help text was as far from helpful as one can get.
Lucky for me, I found a howto by someone who understood and that sorted
it for me.

[...]

 And I haven't even touched on CUPS' feature that requires you to
 delete and re-add back all your printers after any remerge. Ask Dale
 about this, he's the resident expert and he's even figured out how to
 get hplip to work.
 
 I don't seem to need hplip at the moment.  My emerge of cups last night
 (to 1.7.1) didn't need me to reinstall my printer.

As I understand it hplip installs drivers for HP printers and is able to
figure out what you have and which driver you need. I doubt it is a
dependency of anything, it looks more like something you install if you
want it and need it

[...]


 My main problem was with emerge.  The fact that various printing packages
 were blocking eachother was only apparent in the 147k line debug output,
 not in the normal messages printed to stdout/stderr.

You have the bad luck to have picked exactly the wrong time to update a
Gentoo box after a long time away. A *lot* has happened in the tree over
the past several months, especially sub-slots that have now come into
their own.

Sub-slots are actually a good idea, and time will tell if the
implementation is also a good idea. There's many benefits, not least of
which is that every huge package your have like libreoffice probably
doesn't need updating every time a line of code changes in icu. Not
needing @preserved-rebuild is a small bonus, not something I care much
about. And I don't mind running perl-cleaner once a year with a major
version perl upgrade. I *do* mind forgetting to run perl-cleaner and
being caught out - sub-slots help with that.

Unfortunately portage has always been a tad obtuse with it's output, and
leans heavy towards a fatal design flaw to the user - too much of the
internal implementation shows up in the output wording. Recent !arch
version deal with this, that no parents that aren't satisfied in this
slot message is gone (no-one ever knew what that meant) and is replaced
with clever output that prints version numbers and operators (, = and
so on) in colour with neat carat symbols ^ below, that point to what
is important.

I strongly recommend you set portage to use ~arch, it is good code these
days and while it doesn't remove the complexity of the tree, it does
make a much better job of telling you what is going on and what it needs
from you to proceed.


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] advice on transitioning from package.use file to package.use directory

2015-08-31 Thread Todd Goodman
* Alexander Kapshuk <alexander.kaps...@gmail.com> [150831 15:35]:
> Having read the email exchange on the possibility of using
> 'package.use' as a directory, I thought I would give that a try.
> 
> Here is what I have attempted so far.
> 
> cd /etc/portage
> mv package.use package.use.COPY
> mkdir package.use
> cd package.use
> awk -F'[/\t ]+' '{printf("echo \047%s\047 >> ", $0); sub("-[0-9]+.*",
> "", $2); print $2}' ../package.use.COPY
> 
> NOTE; the awk output just generates the command lines for the shell to
> run. If the output is acceptable, it should be piped through to the
> shell.
> 
> Here is the contents of the original 'package.use' file:
> 
> cat package.use
> =dev-lang/python-2.7.9-r1 sqlite
> >=dev-ruby/json-1.8.2-r1 ruby_targets_ruby21
> >=dev-ruby/racc-1.4.11 ruby_targets_ruby21
> >=dev-ruby/rake-0.9.6-r1 ruby_targets_ruby21
> >=dev-ruby/rdoc-4.0.1-r2 ruby_targets_ruby21
> >=dev-ruby/rubygems-2.2.5-r1 ruby_targets_ruby21
> >=media-libs/harfbuzz-0.9.38 icu
> >=media-video/ffmpeg-2.6.3 theora
> >=sys-libs/zlib-1.2.8-r1 minizip
> >=virtual/rubygems-10 ruby_targets_ruby21
> gnome-base/gvfs -http gphoto2 mtp
> media-video/vlc a52 aac bidi cdda cdio dts dvd flac freetype gnutls
> httpd libass live lua mad matroska mpeg ogg oggvorbis qt4 stream svga
> theora vcd vlm wxwindows xv
> net-print/hplip scanner qt4
> sys-apps/busybox -pam
> sys-devel/gcc objc
> sys-process/cronie anacron
> x11-base/xorg-server udev
> xfce-extra/xfce4-power-manager -udisks
> xfce-extra/xfce4-sensors-plugin hddtemp lm_sensors
> 
> NOTE: There are two entries for 'rubygems' there.
> 
> Here is the awk script output:
> 
> echo '=dev-lang/python-2.7.9-r1 sqlite' >> python
> echo '>=dev-ruby/json-1.8.2-r1 ruby_targets_ruby21' >> json
> echo '>=dev-ruby/racc-1.4.11 ruby_targets_ruby21' >> racc
> echo '>=dev-ruby/rake-0.9.6-r1 ruby_targets_ruby21' >> rake
> echo '>=dev-ruby/rdoc-4.0.1-r2 ruby_targets_ruby21' >> rdoc
> echo '>=dev-ruby/rubygems-2.2.5-r1 ruby_targets_ruby21' >> rubygems
> echo '>=media-libs/harfbuzz-0.9.38 icu' >> harfbuzz
> echo '>=media-video/ffmpeg-2.6.3 theora' >> ffmpeg
> echo '>=sys-libs/zlib-1.2.8-r1 minizip' >> zlib
> echo '>=virtual/rubygems-10 ruby_targets_ruby21' >> rubygems
> echo 'gnome-base/gvfs -http gphoto2 mtp' >> gvfs
> echo 'media-video/vlc a52 aac bidi cdda cdio dts dvd flac freetype
> gnutls httpd libass live lua mad matroska mpeg ogg oggvorbis qt4
> stream svga theora vcd vlm wxwindows xv' >> vlc
> echo 'net-print/hplip scanner qt4' >> hplip
> echo 'sys-apps/busybox -pam' >> busybox
> echo 'sys-devel/gcc objc' >> gcc
> echo 'sys-process/cronie anacron' >> cronie
> echo 'x11-base/xorg-server udev' >> xorg-server
> echo 'xfce-extra/xfce4-power-manager -udisks' >> xfce4-power-manager
> echo 'xfce-extra/xfce4-sensors-plugin hddtemp lm_sensors' >>
> xfce4-sensors-plugin
> 
> The two 'rubygems' entries I had in the original 'package.use' file
> went into a single 'rubygems' file:
> 
> cat rubygems
> >=dev-ruby/rubygems-2.2.5-r1 ruby_targets_ruby21
> >=virtual/rubygems-10 ruby_targets_ruby21
> 
> Is this format acceptable? Or should I have used two separate files,
> one for 'dev-lang/rubygems', and another for 'virtual/rubygems'?
> 
> I have run 'emerge -auUND @world' since the transition, which voiced
> no complaints so far.
> 
> The list's input would be appreciated.

Those should all be fine.  I tend to make a file per package but I think
you could have just moved your original package.use into the
/etc/portage/package.use directory and everything would be fine (aside
from you not gaining any benefit from separate files.)

Todd



Re: [gentoo-user] advice on transitioning from package.use file to package.use directory

2015-08-31 Thread Alexander Kapshuk
On Mon, Aug 31, 2015 at 11:00 PM, Todd Goodman <t...@bonedaddy.net> wrote:
> * Alexander Kapshuk <alexander.kaps...@gmail.com> [150831 15:35]:
>> Having read the email exchange on the possibility of using
>> 'package.use' as a directory, I thought I would give that a try.
>>
>> Here is what I have attempted so far.
>>
>> cd /etc/portage
>> mv package.use package.use.COPY
>> mkdir package.use
>> cd package.use
>> awk -F'[/\t ]+' '{printf("echo \047%s\047 >> ", $0); sub("-[0-9]+.*",
>> "", $2); print $2}' ../package.use.COPY
>>
>> NOTE; the awk output just generates the command lines for the shell to
>> run. If the output is acceptable, it should be piped through to the
>> shell.
>>
>> Here is the contents of the original 'package.use' file:
>>
>> cat package.use
>> =dev-lang/python-2.7.9-r1 sqlite
>> >=dev-ruby/json-1.8.2-r1 ruby_targets_ruby21
>> >=dev-ruby/racc-1.4.11 ruby_targets_ruby21
>> >=dev-ruby/rake-0.9.6-r1 ruby_targets_ruby21
>> >=dev-ruby/rdoc-4.0.1-r2 ruby_targets_ruby21
>> >=dev-ruby/rubygems-2.2.5-r1 ruby_targets_ruby21
>> >=media-libs/harfbuzz-0.9.38 icu
>> >=media-video/ffmpeg-2.6.3 theora
>> >=sys-libs/zlib-1.2.8-r1 minizip
>> >=virtual/rubygems-10 ruby_targets_ruby21
>> gnome-base/gvfs -http gphoto2 mtp
>> media-video/vlc a52 aac bidi cdda cdio dts dvd flac freetype gnutls
>> httpd libass live lua mad matroska mpeg ogg oggvorbis qt4 stream svga
>> theora vcd vlm wxwindows xv
>> net-print/hplip scanner qt4
>> sys-apps/busybox -pam
>> sys-devel/gcc objc
>> sys-process/cronie anacron
>> x11-base/xorg-server udev
>> xfce-extra/xfce4-power-manager -udisks
>> xfce-extra/xfce4-sensors-plugin hddtemp lm_sensors
>>
>> NOTE: There are two entries for 'rubygems' there.
>>
>> Here is the awk script output:
>>
>> echo '=dev-lang/python-2.7.9-r1 sqlite' >> python
>> echo '>=dev-ruby/json-1.8.2-r1 ruby_targets_ruby21' >> json
>> echo '>=dev-ruby/racc-1.4.11 ruby_targets_ruby21' >> racc
>> echo '>=dev-ruby/rake-0.9.6-r1 ruby_targets_ruby21' >> rake
>> echo '>=dev-ruby/rdoc-4.0.1-r2 ruby_targets_ruby21' >> rdoc
>> echo '>=dev-ruby/rubygems-2.2.5-r1 ruby_targets_ruby21' >> rubygems
>> echo '>=media-libs/harfbuzz-0.9.38 icu' >> harfbuzz
>> echo '>=media-video/ffmpeg-2.6.3 theora' >> ffmpeg
>> echo '>=sys-libs/zlib-1.2.8-r1 minizip' >> zlib
>> echo '>=virtual/rubygems-10 ruby_targets_ruby21' >> rubygems
>> echo 'gnome-base/gvfs -http gphoto2 mtp' >> gvfs
>> echo 'media-video/vlc a52 aac bidi cdda cdio dts dvd flac freetype
>> gnutls httpd libass live lua mad matroska mpeg ogg oggvorbis qt4
>> stream svga theora vcd vlm wxwindows xv' >> vlc
>> echo 'net-print/hplip scanner qt4' >> hplip
>> echo 'sys-apps/busybox -pam' >> busybox
>> echo 'sys-devel/gcc objc' >> gcc
>> echo 'sys-process/cronie anacron' >> cronie
>> echo 'x11-base/xorg-server udev' >> xorg-server
>> echo 'xfce-extra/xfce4-power-manager -udisks' >> xfce4-power-manager
>> echo 'xfce-extra/xfce4-sensors-plugin hddtemp lm_sensors' >>
>> xfce4-sensors-plugin
>>
>> The two 'rubygems' entries I had in the original 'package.use' file
>> went into a single 'rubygems' file:
>>
>> cat rubygems
>> >=dev-ruby/rubygems-2.2.5-r1 ruby_targets_ruby21
>> >=virtual/rubygems-10 ruby_targets_ruby21
>>
>> Is this format acceptable? Or should I have used two separate files,
>> one for 'dev-lang/rubygems', and another for 'virtual/rubygems'?
>>
>> I have run 'emerge -auUND @world' since the transition, which voiced
>> no complaints so far.
>>
>> The list's input would be appreciated.
>
> Those should all be fine.  I tend to make a file per package but I think
> you could have just moved your original package.use into the
> /etc/portage/package.use directory and everything would be fine (aside
> from you not gaining any benefit from separate files.)
>
> Todd
>

Understood. Thanks.



Re: [gentoo-user] Network printing

2008-12-22 Thread BRM
I haven't been able to follow all of this, though some of it has been of 
interest to me since I have a Vista 64 system I am trying to working with my 
server's HP DeskJet 950C.

From what you describe below, it sounds like the HP USB printer is on the 
Network Server and you are trying to attach the network server to it via IPP. 
If I am understanding things correctly, therein lies the problem. (If not, 
just ignore the next part) - just add the HP USB printer as a normal printer 
on the Network Server, connected via USB. On your client systems you add it as 
an IPP printer as the Network Server's CUPS  server is the IPP host. This is 
what I did for my HP DeskJet 950C and I have access to it everywhere - the 
Vista64 system can find it, but can't locate a driver for it.

HTH,

Ben



- Original Message 
From: Peter Humphrey pe...@humphrey.ukfsn.org
To: gentoo-user@lists.gentoo.org
Sent: Monday, December 22, 2008 6:25:39 AM
Subject: [gentoo-user] Network printing

Hello,

This follows from the printing-from-windows thread; it's not confined to 
Windows.

Thanks to Mark K for his help so far. To recap:

My network server box has two USB printers attached: a Kyocera FS1020D 
laser, which works just fine, and an HP Deskjet D4260, which doesn't: I can 
print to the Deskjet from the local machine but not from anywhere else.

CUPS is installed with USE=acl dbus jpeg pam perl png python ssl 
tiff -X -avahi -gnutls -java -kerberos -ldap -php -ppds -samba -slp -static 
-xinetd -zeroconf

Hplip is installed with USE=cupsddk dbus 
doc -fax -minimal -parport -ppds -qt3 -qt4 -scanner -snmp I ran hp-setup 
as root, and it detected the printer and inserted it into cups, where I can 
control it as expected using the cups Web pages.

(I've already quoted part of cupsd.conf, but I can repeat it if necessary.)

Now this is what happens today: I go to localhost:631 on my workstation and 
attempt to connect to the Deskjet. I tell cups it's an HP model via ipp, 
and I accept the very generic driver it offers me, and I see it's added 
successfully. Then I ask for a test page and I get Unsupported 
format 'application/postscript'! So I delete the printer and start again.

This time I supply the .ppd file I got from linuxprinting.org instead of the 
generic HP one, and once again I get added successfully. But at the very 
next screen I get Filter foomatic-rip for printer Deskjet_D4260 not 
available: No such file or directory. Yet foomatic-rip is right there 
in /usr/bin, being part of the foomatic-filters package which was pulled in 
by emerging hplip.

I've tried exploring the Web for trouble-shooting tips on HP printers, and 
the best I've found is HP's own site, where I get dark hints about snmp. I 
also half-remember having to include ldap in cups from some time ago, but I 
can't see what either of those might have to do with my problem - am I 
missing something?

As an aside, it really is daft of cups to report added successfully when 
it has no idea of the success of the operation.

Another aside: what could cause the cups admin pages to lose their graphical 
effects and revert to plain white background, with framed text strings 
where the buttons ought to be? This happens quite often.

-- 
Rgds
Peter



Re: [gentoo-user] recommendation: well linux-supported inkjet printers

2005-09-22 Thread Nick Rout

On Thu, 22 Sep 2005 10:17:54 -0400
John J. Foster wrote:

 On Thu, Sep 22, 2005 at 09:34:13AM -0300, Mauro Faccenda wrote:
  Hi all,
  
  Does anyone can recommend a well-supported inkjet printer for using with 
  Linux?
  
 
 HP Deskjet 5550 works just fine

I'll just weigh in here for Hewlett Packard, (although I am told that if you 
want highest quality digital photo prints go for epson).

Quite simply HP support linux with good quality tools that are free in
both senses of the word - no $ and GPL.

Just chack that your printer is on the compatibilty list at
http://hpinkjet.sf.net and then install hplip 0.9.5 (which you may need
to get from bugs.gentoo.org.

Here is a re-post of a message I sent to my local lug earlier this week:

quote
Regular readers will be aware that my standard answers to the which
printer/multi-function device should I buy? are Hewlett Packard, HP
and Hewlett Packard, mainly because of their linux support. 

I am further impressed now that I have upgraded from the old hpoj/hpijs
drivers to the newer hplip drivers for my multi-function HP PSC 2210
printer/scanner/card reader/fax machine. 

hpoj required some pretty horrible command line stuff to get the printer
going, very unintuitive command structure and a case of following a set
of disconnected web pages. Sure it worked, but needed improvement.

The new beast was easier to set up and now includes an (optional) gui.
Screenshot available here:

http://rout.co.nz/hp-device-mgr.png

As you can see it has various panels, the first one has buttons to
trigger printing (brings up a gui where you can add files then print
them), scan (fires up xsane), Access photo cards (its own gui giving
thumbnails and the ability to copy some or all to another directory
etc). However Send fax is not yet implemented (nor was it from windows
when I bought the device). The programs that are actually fired up can
be configured withing the gui - ie you could bring up kooka instead of
xsane for scanning.

There is access to the print logs, various maintanance functions, and it
tells you how much ink you have left.

The functionality is also available on the command line, for example
hp-levels returns a nice little summary of the ink levels. hp-photo is
an ftp like client to access the photo card reader (actually not limited
to photos of course, its just a regular flash card reader).

All very nicely done, plus of course there are supplied PPD files so the
printer can work just fine with all the normal linux printing mechanisms
like cups. Whats more the icon to start the gui installed itself nicely
in the gnome menu :-)

I also discovered in the process how to get windows to print directly to
cups, without samba being involved, so that was a nice bonus.

And no, HP are not paying me to write this!
/quote

 
 -- 
 It is not unusual for those at the wrong end of the club to have a
 clearer picture of reality than those who wield it.
   Noam Chomsky
 

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Opera and Konqueror won't print, but FF works fine

2010-09-13 Thread Mick
I noticed that Opera no longer prints:

I [13/Sep/2010:21:48:54 +0100] Listening to ::1:631 on fd 6...
I [13/Sep/2010:21:48:54 +0100] Listening to 127.0.0.1:631 on fd 7...
I [13/Sep/2010:21:48:54 +0100] Listening to /var/run/cups/cups.sock on fd 8...
I [13/Sep/2010:21:48:54 +0100] Resuming new connection processing...
I [13/Sep/2010:21:59:41 +0100] [Job ???] Request file type is 
application/postscript.
I [13/Sep/2010:21:59:41 +0100] [Job 13] Adding start banner page none.
I [13/Sep/2010:21:59:41 +0100] [Job 13] Adding end banner page none.
I [13/Sep/2010:21:59:41 +0100] [Job 13] File of type application/postscript 
queued by michael.
I [13/Sep/2010:21:59:41 +0100] [Job 13] Queued on DESKJET by michael.
I [13/Sep/2010:21:59:41 +0100] [Job 13] Started filter 
/usr/libexec/cups/filter/pstops (PID 13882)
I [13/Sep/2010:21:59:41 +0100] [Job 13] Started filter 
/usr/libexec/cups/filter/foomatic-rip (PID 13883)
I [13/Sep/2010:21:59:41 +0100] [Job 13] Started backend 
/usr/libexec/cups/backend/lpd (PID 13884)
I [13/Sep/2010:21:59:41 +0100] [Job 13] Completed successfully.

Something is sent to the printer, it spools over and spits out a ... blank 
page!

Konqueror won't even go as far as that.  It only shows:

I [13/Sep/2010:22:04:57 +0100] [Job ???] Request file type is application/pdf.

However, Firefox prints perfectly every time!

Any idea how I should go about fixing this?

# emerge -1pDv hplip cups

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-print/cups-1.3.11-r2  USE=X acl dbus gnutls jpeg ldap pam 
perl png ppds python ssl tiff -avahi -java -kerberos -php -samba -slp -static 
-xinetd -zeroconf LINGUAS=-de -en -es -et -fr -he -id -it -ja -pl -sv -
zh_TW 0 kB
[ebuild   R   ] net-print/hplip-3.9.12-r1  USE=X hpcups hpijs libnotify qt4 -
doc -fax -minimal -parport -policykit -scanner -snmp -static-ppds -udev-acl 0 
kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: HP scanner is no longer found

2014-03-24 Thread Dale
James wrote:
 Dale rdalek1967 at gmail.com writes:

 Howdy,

 This is confusing.  A month or so ago, my HP 5300C scanner worked just
 fine.  

 Hello Dale,

 I always keep old (very old) backups of the config file in 
 /etc/cups to see if when a software upgrade occurs, or
 I have to use the admin page of cups to update/modify/test
 print/scanner hardware. So it's an easy check therein, if
 you kept old copies in /etc/cups. Sometimes newer versions
 of cups do not work well with older or obscure features of
 various printers/scanners.

 As far as USB goes, the device's device driver could have been
 change or it, as a legacy (usb) device became a new part of 
 one of the unified device drivers. You'll have to research that
 or build a new/test kernel with all sorts of USB drivers enabled.
 You definately have a usb issue, at the very least.

 If those (2) ideas do not bear fruit, find a usb sniffer and use
 that. You might have to go to a windows box to test the scanner too.
 Not likely, but the usb chip could have went bad

 http://vusb-analyzer.sourceforge.net/
 http://sourceforge.net/projects/usbsnoop/

 or general usb tools (may) help:
 app-admin/usbview
 sys-apps/usbmon
 sys-apps/usbutils
 etc..
 many more usb sniffer too.

 Just eliminate the possibilities.
 I'd test it on a windows box if necessary too.


 This all begs the question of how it was set up :
 (after the usb issue is resolved).

 hplip, cups,  *sane*, ???

 hth,
 James





I did use sane to set it up.  Well, I installed the sane package and to
be honest, it just sort of worked without me doing anything that I
recall.  I might add, I now have a USB mouse, try finding a PS/2 mouse
at short notice.  The scanner is plugged into the port right next to it
right now.   I did however try other ports that I know work because I
can use USB sticks in them.  So, it's either some broken upgrade of
something or as much as I hate to say it, my scanner needs to be buried. 

For some reason, I didn't even try hplip for scanning.  It never
occurred to me.  I have xsane and Skanlite installed and use those. 
They say it can't find the scanner.  I figure until it shows up on the
lsusb list, nothing is going to work regardless of what front end I use. 

I didn't get a chance to today but tomorrow I plan to go to my brother's
and plug the scanner into his computer.  He uses Kubuntu.  If the
scanner works there, then it is something to do with my rig.  If it
don't show up on lsusb there either, I need to go buy a shovel and find
a comfy spot in the back 40.  :-(  

Thanks.  I'll post when I get to test some more. 

Dale

:-)  :-)



-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Re: Picking out a printer. Questions.

2019-04-27 Thread Dale
Frank Steinmetzger wrote:
> On Mon, Apr 22, 2019 at 09:54:21AM -0500, Dale wrote:
>
>> The biggest reason I wanted laser is the cost of ink.  The second
>> reason, longevity of the ink once it is on paper.  From my
>> understanding, once the toner is set on the paper, water won't make it
>> come off like it does on a lot of inkjets, I think a few inkjets have
>> special ink that doesn't but never seen one. 
> Well, I read a short while ago in a printer review of a computer magazine,
> that ink may actually be better in the long-term, because the ink is infused
> into the paper matrix (as a character on Star Trek would say). Whereas laser
> toner is only put on the surface on the paper an could be scratched off
> mechanically. You would need lasting pigments of course, not of the kind
> that fades with time or exposure to light.
>
> FWIW, I have an HP LaserJet 1000, bought around 2004. It has been acting up
> lately, not always getting recognised on USB. The data cable is actually a
> centronics one with built-in USB convertor. And I don’t really like hplip,
> b/c it’s an extra piece of software that needs to run and it ALWAYS wants to
> re-download the binary firmware blob from the internet whenever I connect
> the printer. Otherwise it wouldn’t print. Back when foo2zjs was still a
> common Gentoo way of printing, this was never an issue.
>
> OTOH, the printer is still on the cartridge it originally came with, albeit
> almost empty now. Probably, back then, those cartridges weren’t as empty as
> today’s starter cartridges. What’s the deal with this, anyway.
>
> FWIF2, even though the die is cast and the printer for this thread is
> purchased, I am also considering a Brother machine. I heard good stories of
> their Linux support. I would also tend towards a network-enabled one with
> postscript support.
>


I to was getting tired of the hplip thingy.  It was giving me grief at
times too.  After each upgrade, I had to delete the printer and add it
back again.  Sometimes I had to do that between each print job as well. 
It seems it was always something screwy with that thing.  While I would
have bought a HP, it wasn't my first or second choice.  More like close
to the bottom with the "I'm a piece of known junk printer" brand.  ;-) 
Brother would likely have been my second choice or third, depending on
price.  I've read they print nicely as well. 

I took the test page and put some water drops on it.  I couldn't get the
toner to come off.  I was scratching the paper pretty good but almost
anything would come off that way.  In the past, I've done the same test
on ink jet pages.  They always started to run shortly after getting
wet.  I've read some photo printers don't have that problem because they
have a different type of ink.  The test I ran with this laser print tho
made me happy.  It passed my test easily. 

I'm just hoping I can get at least ten years out of this printer.  20
would make me really happy.  By then, supplies may be a issue too. 

Dale

:-)  :-) 



Re: [gentoo-user] Picking out a printer. Questions.

2019-04-20 Thread Dale
Manuel McLure wrote:
> On Sat, Apr 20, 2019 at 7:12 PM Dale  <mailto:rdalek1...@gmail.com>> wrote:
>
> Howdy,
>
> I'm looking at printers.  ...  This is the model. 
> Brother HL-L3270CDW
>
>
> Looking at the specs for that Brother printer (I don't know why you
> linked to the openprinting.org <http://openprinting.org> page for a
> Lexmark printer) it seems to have the most important aspect for Linux
> compatibility - PCL6 emulation (PostScript would also work, but you
> want to avoid anything that doesn't have one of those two). It also
> has normal port 9100 network connectivity, so it should work just fine
> under Linux for B/W. I can't find anything in the Openprinting
> database for that specific Brother printer, some of the other entries
> for Brother printers say you need a proprietary driver to get color
> out of them. The entry for the *HL-3170* says it works perfectly but
> gives no details. So I'd be a little wary going in.
>
> As for duty cycle, 30,000 pages/month is the same that my old
> built-like-a-tank HP Laserjet 4Mp had, so I wouldn't worry about it.
> Note that the printer is going to come with "starter cartridges" that
> are only good for about 1000 pages, and that the drum is also a
> consumable that needs replacing after 18,000 pages. But 18,000 pages
> is a lot.
> -- 
> Manuel A. McLure WW1FA mailto:man...@mclure.org>>
> <http://www.mclure.org>
> ...for in Ulthar, according to an ancient and significant law,
> no man may kill a cat.                       -- H.P. Lovecraft


I think I linked to the wrong page.  I was looking up a lot of printers
and must have got it mixed up.  Makes me wonder if I picked the wrong
printer too.  LOL  You are correct tho, it isn't listed.  Time to find
another printer. 

Knowing about the PCL6 part will help.  I didn't know that would be
important.  Also, I'd rather have one that I can install with CUPS and
its drivers or HPLIP. It's been a while since I've had a printer and
switching to laser is something that is new territory as well. 

Question.  I see some that are regular laser printers.  Then I see some
that are laser jet.  Looking up the cartridges it seems to use toner. 
Another reason I want toner based is that if a page gets wet or damp,
the toner doesn't run like most ink jet printers do.  Am I correct that
a laser or a laser jet would serve that purpose the same?  It seems it
just uses a different method to put the toner on the page or something. 
I googled and what little I found sort of makes me think that would be
fine. 

I'm open to ideas on this.  I've always bought HP in the past but as
long as it prints fine with either HPLIP or CUPS, I'm fine with it. 
Brother would be fine, Lexmark to if it works.  I know some printers are
more Linux friendly than others.  I honestly wish I could find a used
printer locally but not sure how to do that around here. 

Thanks much for the info.  Me makes note to check that PCL6 in the
future.  ;-)

Dale

:-)  :-) 


Re: [gentoo-user] upstream broke cups network printing...

2020-06-30 Thread Michael
On Tuesday, 30 June 2020 04:51:03 BST Alan Grimes wrote:
> I was sitting smug and happy thinking I could print from either of my
> computers to the laserjet printer downstairs. So therefore when I need
> to RMA my mobo and need to print out the forms, it doesn't work.
> 
> The sack of crap seems to think it can connect to the printer using:
> 
> Connection:
> dnssd://HP%20Color%20LaserJet%20Pro%20M453-4%20%5B804AC2%5D._ipp._tcp.local/
> ?uuid=beff9c81-55ea-548f-5867-4d44f4da191e

You must have enabled DNSSD (DNS Service Discovery) on your systems, whereby 
DNS packets are sent/received for the purpose of scanning your LAN and 
discovering various network services, including network printers, media 
servers, torrents, etc.

DNSSD is also known as zeroconf and from what I understand was derived from 
Apple's Rendezvous/Bonjour.

The Linux equivalent is Avahi (for server) and nss-mdns (for clients), but 
systemd had to re-engineer everything into its own stack as 'systemd-
resolved', which uses the MSWindows preferred LLMNR.

This is all great if you trust the devices in your LAN not to spoof names and 
intercept your communications, or if LAN side network services pop-up and down 
all the time and you want to have them autoconfigured for use by your LAN 
clients.


> Why in god's name does CPUS think that would work, ofcourse I'm going to
> get: in my error log
> 
> E [29/Jun/2020:18:39:40 -0400] [CGI] Unable to resolve
> \"dnssd://HP%20Color%20LaserJet%20Pro%20M453-4%20%5B804AC2%5D._ipp._tcp.loca
> l/?uuid=beff9c81-55ea-548f-5867-4d44f4da191e|HP Color LaserJet Pro>
> 
> 
> Naturally, there is no other way to configure this crap with the web
> interface, there are some on-line manpages but they're written in
> moonspeak. =(

You do not need network services autoconfiguration, which is is what the 
dnssd:// URI is trying to achieve, unless printers are added and removed in 
your LAN on a regular basis with different IP addresses, different client PCs 
and devices are connected and disconnected all the time and you expect them 
all to discover network services automatically.

In your case, cups is trying to do what you have specified, by enabling of 
failing to disable a particular USE flag.  If you emerged net-print/cups and 
net-print/cups-filters with USE="zeroconf" enabled you'll get what you got.  
If you disable it you will arrive at a client-printer combo where you have to 
manually configure the connection and driver, at least on the client side.

Since this is an HP printer, I think you'll need the hplip driver, so check 
you have this emerged:

https://wiki.gentoo.org/wiki/HPLIP

Finally, configure your clients to use the printer:

https://wiki.gentoo.org/wiki/Printing


TL;DR:  Stop the cupsd service on your PC.  Open and edit "/etc/cups/
printers.conf" file, changing the DeviceURI:

DeviceURI ipp://12.345.678.9/ipp/print

Where '12.345.678.9' is the statically configured IP address of your printer 
on your LAN, the '.../ipp/' and '.../print' may or may not be needed - try and 
see what you get.

Restart you cupsd and try to print.

Others who use this printer may chime in with specifics.

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: CUPS: Need help setting up my parallel port printer [SOLVED, but new problem now]

2008-03-07 Thread Michael Sullivan

On Fri, 2008-03-07 at 12:25 -0600, Michael Sullivan wrote:
 We got a new printer today.  It's the same model as our old printer, so it
 should work, right?  I followed the Gentoo Printing Guide up to the point
 where one sets up the printer in the CUPS administrative interface.  It
 does not offer me a parallel port choice for the device.  My kernel is
 built with parallel port support and I have modprobed parport and
 parport_pc:
 
 catherine ~ # lsmod | grep parport
 parport_pc 32868  0
 parport26696  1 parport_pc
 
 And dmseg is aware of the printer:
 
 catherine ~ # dmesg | grep -i print
 parport0: Printer, EPSON Stylus C88
 
 But on the CUPS interface, I can choose from
 
 AppSocket/HPJetDirect
 Backend Error Handler
 HP Printer (HPLIP)
 Internet Printing Protocol (http)
 Internet Printing Protocol (ipp)
 LPD/LPR Host or Printer
 SCSI Printer
 Serial Port #1
 
 but no parallel port.  It used to be on there.  How can I get it back, or
 is parallel port called something else now?
 
 

I didn't have parallel printer character support compiled into the
kernel.  It works now, but how do I print from a remote computer?  I've
set up the security on the host that has the printer hooked up to it,
but how do I configure remote hosts running Linux so that they know
about it?

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] CUPS: Need help setting up my parallel port printer

2008-03-10 Thread Thomas Kahle

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

please check if you have Parallel Port Printing Support enabled in the
Kernel. If as a module, its called lp. You find the kernel option oder
Device Drivers - Character Devices - Parallel Printing Support.

hope to help
Tom

Michael Sullivan wrote:
| We got a new printer today.  It's the same model as our old printer, so it
| should work, right?  I followed the Gentoo Printing Guide up to the point
| where one sets up the printer in the CUPS administrative interface.  It
| does not offer me a parallel port choice for the device.  My kernel is
| built with parallel port support and I have modprobed parport and
| parport_pc:
|
| catherine ~ # lsmod | grep parport
| parport_pc 32868  0
| parport26696  1 parport_pc
|
| And dmseg is aware of the printer:
|
| catherine ~ # dmesg | grep -i print
| parport0: Printer, EPSON Stylus C88
|
| But on the CUPS interface, I can choose from
|
| AppSocket/HPJetDirect
| Backend Error Handler
| HP Printer (HPLIP)
| Internet Printing Protocol (http)
| Internet Printing Protocol (ipp)
| LPD/LPR Host or Printer
| SCSI Printer
| Serial Port #1
|
| but no parallel port.  It used to be on there.  How can I get it back, or
| is parallel port called something else now?
|
|
|

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH1PWWrpEWPKIUt7MRAp00AKCSLkzPobzjjY+sziGcorCWrcN3kQCfSKyg
nZzBxNW82iU2IQOPgzIrgwU=
=palM
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage update problems due to sane-backends

2007-11-16 Thread Jeff Cranmer
Progress kind of :-/

I set SANE_BACKENDS to hp, and was able to compile the sane-backends package.

Two files were changed and flagged via etc-update.

The first was /etc/sane.d/dll.conf, which added a bunch of scanners and 
commented out hpoj.  Since hpoj is part of the hplip package, and I have this 
package installed, I deleted the comment character to enable this dll

The second file was /etc/hotplug/usb/libsane.usermap
The PSC 750 usb entry was deleted, so I added this back in
# Hewlett-Packard PSC-750
libusbscanner 0x0003 0x03f0 0x1411 0x 0x 0x00 0x00 0x00 0x00 0x00 0x00 
0x

Unfortunately, sane can no longer find my scanner, even after restarting 
hotplug.

Any assistance gratefully received.

Thanks

Jeff


On Friday 16 November 2007 08:33:14 am Jeff Cranmer wrote:
 The scanner is an HP PSC-750xi
 SANE_BACKENDS is set to hpaio in make.conf.
 What should it be set to?

 Jeff

  On Friday 16 November 2007 04:44:54 am Neil Bothwick wrote:
   On Thu, 15 Nov 2007 19:36:46 -0500, Jeff Cranmer wrote:
I do not seem to be able to update a lot of my system, because
sane-backends fails to compile.
  
   That only stops you updating sane-backends, not the rest of the system.
   You can skip this and continue a world update with emerge --resume
   --skipfirst.
  
This is the error I get
   
make[1]: Entering directory
`/var/tmp/portage/media-gfx/sane-backends-1.0.18-r4/work/sane-backend
   s- 1. 0.18/backend' make[1]: *** No rule to make target
`libsane-hpaio.la', needed by `all'.
  
   Which scanner do you have? What is SANE_BACKENDS set to in
   /etc/make.conf?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] CUPS problem

2008-01-06 Thread Alan E. Davis
I have installed two or three times, deleted /etc/cups and reinstalled
the printer.  It showed up as an HPLIP device when installing, w/ CUPS
and/or the kde printer utility.   NOtably the utility OR the
localhost:631 interface did not show any option for a USB printer.
The address that ended up being used was a usb:printername.  When I
get gentoo booted up I'll look at it again.  For now, I have to print,
so I've installed Ubuntu on another partition.  Printing works fine
there, so that's a start.

Thank you,

Alan

On Jan 7, 2008 2:48 AM, Mick [EMAIL PROTECTED] wrote:
 On Sunday 06 January 2008, Dale wrote:
  Alan E. Davis wrote:
  
   Any ideas?

  I ran into something similar to the a while back and I had to un-merge
  cups, delete the config files, then reemerge cups and reconfigure my
  printer.   Keep in mind that when you unmerge something, the config
  files remain in /etc unchanged.

 Assuming that you have set the correct device in the GUI for your printer,
 then the most likely error is that your have not provided the correct path
 for it.  Show us what you have defined the path as in case we can help.
 --
 Regards,
 Mick




-- 
Alan Davis, Kagman High School, Saipan  [EMAIL PROTECTED]

It's never a matter of liking or disliking ...
   ---Santa Ynez Chumash Medicine Man
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Network printing -- Solved

2009-01-19 Thread Peter Humphrey
On Tuesday 06 January 2009 15:39:48 I wrote:

 I have a server with two printers connected, set up using the cups Web
 page and operating properly. Now I want to send print jobs to them from
 my workstation, which is on the same network, and with the same version
 of cups: 1.3.9-r1. One of the printers is an HP Deskjet D4260, so I also
 have hplip version 2.8.6b installed on both machines. I can connect
 either printer to either machine and print locally without any problems.

 However, I cannot get anything to print over the network. If, on the
 workstation, I declare the network laser printer and connect to it, all
 appears to work until I send a print job to it; the job sits in the lp
 queue locally, and when I next look at the status of the printer it
 says Destination printer does not exist!

 If I try to set up the Deskjet as a remote printer in the local cups
 server, I get Filter foomatic-rip for printer HP_Deskjet_D4260 not
 available: No such file or directory.

 I don't know what to try next. Anyone any idea here?

Well, I don't know what I did differently, but once again I zapped the 
server root partition, recovered it from a known good, minimal backup, 
brought it up to date and set cups up again. Now when I go to a client box 
and run the KDE printer setup utility, it shows the printers and even 
allows me to configure them. I don't touch the cups server on the client, 
other than to point /etc/cups/client.conf to the server.

There are still some oddities, but those can wait now.

Thanks to all for their help.

-- 
Rgds
Peter



[gentoo-user] PyQt4-4.5 and pykde4-4.2.4 blockers

2009-06-10 Thread Alan McKinnon
Today's sync includes PyQt4-4.5 which is blocked by pykde4-4.2.4 (incompatible 
and build issues). Apparently pykde4-4.3 will fix this, but meanwhile I need 
to get emerge world to run and complete.

To decide what to mask and what to leave, I need to discover what these 
packages actually do and what the effect will be if I unmask stuff. I *could* 
experiment, but will probably overlook many important things. As an assist to 
figuring this out and deciding, can someone tell me what pykde4 and PyQt4 
actually do and how these packages use them:

a...@nazgul ~/downloads/kernel $ equery depends pykde4
 * Searching for pykde4 ...
kde-base/marble-4.2.4 (python ? =kde-base/pykde4-4.2.4:4.2[kdeprefix=])
kde-base/plasma-workspace-4.2.4 (python ? =kde-
base/pykde4-4.2.4:4.2[kdeprefix=])

a...@nazgul ~/downloads/kernel $ equery depends PyQt4
 * Searching for PyQt4 ...
dev-python/qscintilla-python-2.3.2-r1 (qt4 ? =dev-python/PyQt4-4.4)
kde-base/marble-4.2.4 (python ? =dev-python/PyQt4-4.4.4-r1[X,svg])
kde-base/plasma-workspace-4.2.4 (python ? =dev-python/PyQt4-4.4.0[X])
kde-base/pykde4-4.2.4 (=dev-python/PyQt4-4.4.4-
r1[dbus,qt3support,svg,webkit,X])
media-sound/picard-0.11 (dev-python/PyQt4[X])
net-print/hplip-3.9.4b (!minimal  qt4  !qt3 ? dev-python/PyQt4[X])

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] PyQt4-4.5 and pykde4-4.2.4 blockers

2009-06-10 Thread Volker Armin Hemmann
On Mittwoch 10 Juni 2009, Alan McKinnon wrote:
 Today's sync includes PyQt4-4.5 which is blocked by pykde4-4.2.4
 (incompatible and build issues). Apparently pykde4-4.3 will fix this, but
 meanwhile I need to get emerge world to run and complete.

 To decide what to mask and what to leave, I need to discover what these
 packages actually do and what the effect will be if I unmask stuff. I
 *could* experiment, but will probably overlook many important things. As an
 assist to figuring this out and deciding, can someone tell me what pykde4
 and PyQt4 actually do and how these packages use them:

 a...@nazgul ~/downloads/kernel $ equery depends pykde4
  * Searching for pykde4 ...
 kde-base/marble-4.2.4 (python ? =kde-base/pykde4-4.2.4:4.2[kdeprefix=])
 kde-base/plasma-workspace-4.2.4 (python ? =kde-
 base/pykde4-4.2.4:4.2[kdeprefix=])

 a...@nazgul ~/downloads/kernel $ equery depends PyQt4
  * Searching for PyQt4 ...
 dev-python/qscintilla-python-2.3.2-r1 (qt4 ? =dev-python/PyQt4-4.4)
 kde-base/marble-4.2.4 (python ? =dev-python/PyQt4-4.4.4-r1[X,svg])
 kde-base/plasma-workspace-4.2.4 (python ? =dev-python/PyQt4-4.4.0[X])
 kde-base/pykde4-4.2.4 (=dev-python/PyQt4-4.4.4-
 r1[dbus,qt3support,svg,webkit,X])
 media-sound/picard-0.11 (dev-python/PyQt4[X])
 net-print/hplip-3.9.4b (!minimal  qt4  !qt3 ? dev-python/PyQt4[X])


http://hwoarang.silverarrow.org/?p=389

especially the bug linked to. 



Re: [gentoo-user] Buying a low-cost printer for Linux

2008-12-03 Thread Dale
Dominic Kexel wrote:
 That's right, i totaly agree. If you buy a HP-printer, you (almost) can't do 
 something wrong. I am using a HP Deskjet F2180 (40€). Printing and scanning 
 both work without problems.

 On Wed, 3 Dec 2008 22:00:28 -0800
 Manuel McLure [EMAIL PROTECTED] wrote:


   

I have a HP Deskjet D4260 that I got from newegg for less than $50.00. 
It works very well.  Before that I had a little Deskjet 3820 which I had
for years.  It finally lost its head.  Turn it on and it just goes from
side to side until I cut it off.  The 4260 also has the option of using
the hi yield cartridges too.  It can print for a long time without
running out of ink.

I think if you get a HP printer, you will do all right.  I wouldn't get
the latest thing unless I checked for drivers first tho.  Also, to get
my old 3820 to work, I googled for the ppd file and put it in the right
place for cups.  That was before hplip came out.  I don't remember
having to do that with the 4260.

Hope that helps give you some ideas.

Dale

:-)  :-)



Re: [gentoo-user] Network printing

2008-12-23 Thread Peter Humphrey
On Monday 22 December 2008 18:00:52 BRM wrote:

 - just add the HP USB printer as a normal printer on the Network Server,
 connected via USB.

This is what happens, starting from a clean system (mke2fs, then restore a 
known good backup of a freshly built system), and cups installed with 
USE=acl dbus jpeg pam perl png ppds python ssl 
tiff -X -avahi -gnutls -java -kerberos -ldap -php -samba -slp -static -xinetd 
-zeroconf:

I let cups find the printer and I tell it to use the .ppd file I got from 
linuxprinting.org. It shows the printer configuration page, where I set A4 
paper, then I get a security error saying that I have attempted to 
establish a connection with 192.168.2.2 whereas the security certificate 
presented belongs to serv.ethnet. Guess what - serv.ethnet is the machine 
I'm working on and it has IP address 192.168.2.2. What is going on here? (I 
don't get this error when setting up my laser printer; only with this 
inkjet.)

On printing a test page I get /usr/libexec/cups/filter/foomatic-rip failed 
and job stopped.

 On your client systems you add it as an IPP printer as the Network
 Server's CUPS server is the IPP host.

It would be nice to get that far. At present I can't get anything working at 
all without using hplip.

-- 
Rgds
Peter



Re: [gentoo-user] where is libnetsnmp-devel? (needed for hplip)

2007-06-21 Thread Boyd Stephen Smith Jr.
On Thursday 21 June 2007 19:40:23 Allan Gottlieb wrote:
 Which package contains libnetsnmp-devel?

$eix -c snmp
[...]
[I] net-analyzer/net-snmp ([EMAIL PROTECTED]/28/2006): Software for generating 
and 
retrieving SNMP data
[...]

Probably that one, but that's just a guess.

Gentoo doesn't separate packages into -devel versions -- you get all the 
development stuff as part of the base package (since it's usually required to 
compile, as Gentoo does, pacakges that depend on it).

There isn't a libnetsnmp package in gentoo, nor a netsnmp package in any 
of the *-libs categories.  Naming something netsnmp seems a bit redundant 
to me anyway, I'm fairly sure the N of sNmp stands for network, so I 
just searched for snmp.  14 hits.  1 is in a *-libs category, but the short 
description says it's specifically for KDE, not what you are looking for I 
think.  1 (other) has lib in the name of the package, but it's specifically 
for ruby, again, I was fairly sure that wasn't what you were looking for.  
Also, other distros generally but ruby in the package name of ruby libraries.  
Down to 12 packages.

I threw out packages in dev-perl and perl-python, again, because of other 
distros naming practices.  1 package was in sec-policy which is definitely 
not the place for a lib.  1 package was a plugin for something else, so I 
decided that was also probably not what you want.  Down to 4 packages.

At that point, I decided the most likely package was net-snmp because of the 
name.  bsnmp says it's a library (whereas net-snmp doesn't) so that would 
probably be a good second choice.  snmpmon (a tool) and snmptt could also 
ship that library, but that's probably a stretch.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] using xsane with a network scanner (hp officejet 7310)

2007-01-03 Thread Allan Gottlieb
xsane was working great with my old hp officejet 7130s (note 7130 not
7310) that were connected to my laptop via usb (one 7130 at each of
two sites).  The home 7130 died and is replaced by a 7310, which is a
network device.  It's local IP number is 192.168.1.50 and as a printer
it works great from every machine on our network.

I need to figure out what name I should must when invoking xsane.

If I try just

   xsane

it complains that it can't open an hp1200 (laserprinter), which is not
plugged in and if I plug it in I gent 

[EMAIL PROTECTED] ~/.sane/xsane $ xsane
*** glibc detected *** xsane: munmap_chunk(): invalid pointer: 0xb7419391 ***
=== Backtrace: =
/lib/libc.so.6[0xb773dbab]
/usr/lib/sane/libsane-hpaio.so.1(sane_hpaio_open+0x28d)[0xb740fb09]
/usr/lib/libsane.so.1(sane_dll_open+0xde)[0xb7f4ee36]
/usr/lib/libsane.so.1(sane_open+0x24)[0xb7f4f4c9]
xsane[0x80b5d66]
xsane[0x80b8b35]
xsane[0x80b9d42]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb76f2864]
xsane[0x804ea41]
=== Memory map: 
08048000-080d2000 r-xp  16:03 801781 /usr/bin/xsane
080d2000-080d7000 rw-p 00089000 16:03 801781 /usr/bin/xsane
080d7000-081d2000 rw-p 080d7000 00:00 0  [heap]
[[ more lines deleted ]]

I have hplip-0.9.7-r3 installed

I presume that if I type

   xsane correct-name-here

it would find the scanner, but can't figure out the correct name.

Thanks in advance,

allan
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] usb scanner HP2200c

2007-01-11 Thread Mihamina Rakotomandimby (R12y)
Hi,

I have an USB scanner HP2200c.

It is automatically detected and used with Fedora and Ubuntu.
But on my personnal laptop, I use Gentoo and I would like it to be
detected.
I have installed xsane and its dependencies (sane-backends, hplip,...)

When I launch xsane, it says it does not detect any device.
I launch it as user, I already added me to the scanner group.


# grep mihamina /etc/group
root::0:root,mihamina
disk::6:root,adm,mihamina
wheel::10:root,mihamina
audio::18:mihamina
cdrom::19:mihamina
cdrw::80:mihamina
portage::250:portage,root,mihamina
mihamina:x:1000:
scanner:!:1002:mihamina


I did not touch any of the files under /etc/sane.d/.
And last:


[EMAIL PROTECTED] ~ $ sane-find-scanner -q
found USB scanner (vendor=0x03f0 [Hewlett-Packard], 
product=0x0605 [HP ScanJet 2200C], chip=LM9832/3) at libusb:003:003
found USB scanner (vendor=0x05e1, product=0x0501) at libusb:001:003


The second found device is an embeded webcam. Nothing to do with a
scanner.
What should I do to make my scanner detected by xsane?

Thank you.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Uncle: qt-*:4 dependencies/blocks preventing world update

2009-10-25 Thread Alan McKinnon
On Sunday 25 October 2009 14:49:29 Alan E. Davis wrote:
 I finally was able to emerge -NuDav world, and revdep-rebuild passed the
 system as clean.  However, when I try emerge -uDav world again, that same
 message, or some permutation of it, is presented.
 
 I have set the flags dbus qt3support qt3 qt4 and so on.  So that's not
 it.
 
 I unmerged a number of the involved packages, that looked something like
 qt-*.  I did this just before running the more or less successful emerge
 -NuDav world.  A week ago, I ran emerge -e world.  Perhaps I need to do
 this again.
 
 I've read a plethora of postings, such as a sticky post on the Gentoo
 Forums, and some of these emails, as well as googling, and tried several
 things.
 
 When this all began, about three weeks ago, or longer, I noticed problems
 with
 
hplip
python
 
 I have python 3.1 and python 2.6 installed,  Some advice was seen to make
 sure eselect is pointing to 2.6.  I also ran python-updater.
 
 A new work week is starting, my system is responding normally, I will avoid
 KDE4, and type this all shakes itself out, over the next week or so.
 
 Thank you to those who have helped.  Good luck to others.

Did you try the most straightforward (albeit lengthy) approach:

unmerge all of Qt
emerge world and let portage figure out what it wants to put back

There is seldom a good reason to have Qt packages in world (dev packages 
excepted) and recent changes in the ebuild have caused lots of mutual 
blockers. When I first went through this, I saw that almost all qt-* packages 
would be rebuilt on my machines. It seemed easier to restart with a clean 
slate. I got a blocker notice which said I had to enable various flags, which 
I did and the merge completed flawlessly.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Running xsane

2010-02-15 Thread J. Roeleveld
On Monday 15 February 2010 00:34:42 CJoeB wrote:
 Hi everyone,
 
 I have purchased an HP C4795 Photosmart All-in-One printer, scanner and
 copier.  I have gotten the printer to work fine after installing the
 unstable version of hplip.  The copy mechanism works also.  However, I
 am having trouble with the scanner.  I again have installed unstable
 versions (i.e. ~x86) versions of sane-backends and xsane).  If I run
 xsane as root, the scanner is recognized.  However, if I run xsane as a
 normal user, the device is not recognized.  I can't seem to figure out
 what to change to rectify this - I've tried changing the owner and group
 on the xsane executable, but this didn't work.  The permissions for the
 xsane executable seem fine.  I have added myself to the scanner group,
 but this doesn't seem to have any affect.  Also, despite the fact that
 the device can be set up wirelessly, I have not done this - I have the
 unit connected to my computer via USB cable.
 
 Any of you gurus have any ideas?

Hi Colleen,

I also have one of those All-In-One printers.
To get it to work, I added the saned user to the following groups:
- lp
- usb
- scanner

I'm not sure, but I think usb is sufficient for the scanner, but with these, 
it works on my system.

--
Joost



Re: [gentoo-user] USB printer and new cups

2010-05-15 Thread Dale

Alex Schuster wrote:

Hi there!

I want to setup an USB printer. So I http://localhost:631/, and notice
that the interface has changed. And when I try to add a printer, the only
options for a local printer are SCSI-printer and HAL printing backend. And
on the next screen, I have to enter the device URI by hand. How should I
know what to enter there? And wasn't there an autodetect feature? Is the
new CUPS (1.4.3) generally behaving like this lately, or is something
wrong with my setup?

The usb use flag is set. lsusb shows the printer as Bus 001 Device 003:
ID 04a9:10a5 Canon, Inc. iP5200.

What is a HAL printing backend? Do I have to add some crazy fdi stuff for
the printer? CUPS does not even have a hal use flag. Dale, help!

Wonko

   


Well I have a HP.  I had trouble the other day, read that as the printer 
was turned off and I didn't know it, so I deleted the printer.  That was 
when I realized it was turned off, so I turned it back on and hplip or 
something just added the printer without me doing anything.  KDE showed 
a little pop up and it was done and it has printed ever since.  This 
could be habit forming tho.  ;-)  I like things that just work.


Do you have ppds and dbus USE flag enabled for cups?  As far as I know, 
that is all I enabled for mine.  Just for reference, this is my USE flags:


USE=X avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl 
tiff zeroconf -acl -kerberos -php -samba -slp -static -xinetd


The two I mentioned above is the main ones I would guess.   Most of mine 
are global flags.


I hope you see something to at least try.

Dale

:-)  :-)



Re: [gentoo-user] Re: emerge --keep-going but it doesn't

2010-05-27 Thread Dale

walt wrote:

On 05/27/2010 02:42 AM, Dale wrote:

Hi folks.

I'm doing a fresh install onto another hard drive. Just felt like 
doing a fresh
one instead of copying. Anyway, I got most everything installed. I 
was doing my
last set of installs, things like seamonkey, firefox, pigdin, gtkam 
and all the
 other programs I use for this and that. I did copy my old make.conf 
over from the

 old install. I have the --keep-going option in there.

Hm. Does it work if you use the --keep-going option on the command 
line instead

of in make.conf?




I haven't tried that.  Your suggestion made me think of something to 
look at tho.  I checked the logs since it records what is being done and 
the options.  I noticed this:


1274924669:  *** emerge --with-bdeps --ask --verbose --buildpkg 
seamonkey gkrellm hddtemp kbackup k3b tkdvd myspell-en screen uptimed 
scribus autounmask elogv elogviewer flagedit mirrorselect pfl porthole 
gimp gtkam hugin alsamixergui avidemux smplayer iftop nettop traceroute 
wireshark pppconfig wvdial iptables pidgin ntp whois hplip 
http-replicator googleearth hdparm hwinfo lshw smartmontools dosfstools 
shake sys-power/nut htop iotop lsof links mozilla-firefox adobe-flash 
gecko-mediaplayer mesa-progs gkrellm-themes

1274924866:  emerge (1 of 137) sys-fs/sysfsutils-2.1.0 to /

So, emerge picks up on the others but not that one.  I then moved it 
from one section in make.conf and put it in the other.  Now it sees the 
option.  I guess it was in the wrong place.  For the record, I had it in 
FEATURES and moved it to the EMERGE_DEFAULT_OPTS.  I guess the last one 
is where it is supposed to be.  I may have copied it to the wrong place 
since portage would never move things in make.conf.  I need better 
glasses.  lol  Funny that emerge didn't print a error tho.


Thanks for shining a light in the dark tunnel.

Dale

:-)  :-)



[gentoo-user] HP Deskjet 3050 no output - no error

2010-10-26 Thread Florian Philipp
Hi list!

I could need some help here: I've bought an HP Deskjet 3050 USB
printer/scanner. Copying works but printing doesn't.

The first odd thing is that the HPLIP application (its qt4-frontend)
doesn't detect the device although dmesg shows a correct identification
on USB. However, the ordinary CUPS web interface allows me to configure
the printer. It is correctly detected there. Then I've selected the
default (and only) deskjet.ppd file.

My problem is: When I print, no error is shown but there is also no
output on the printer. There is no reaction at all. The logs are also clean.

I've tried the same thing with Ubuntu netbook edition. There the printer
was detected (by whatever GUI they use, I guess it was GNOME's). The
application then told me it had no compatible drivers. It had drivers
for a lot of similar HP deskjets and since I guess they all have the
basically same interface, I've chosen one of them. Again, there was no
reaction at all. CUPS seems to think the jobs finished successfully.

Can anyone give me a pointer to a solution? Do I need to configure the
printer in Windows before it reacts?

By the way: The device is reported to have perfect linux support in
the various printer databases ...

Thanks in advance!
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] portage-2.2.0_alpha38 --depclean

2011-06-07 Thread Dale

Alan McKinnon wrote:

OK, now we're tracking.

In the specific case of less, the answer is self-evident - it isn't needed. A
dev would just know that. More likely, he would assume he knows that.

In the general case, they suck their thumbs and guess. Some think more than
others before they guess, they should all do some basic tests to catch severe
errors before committing changes and additions, and all of them rely on
unstable users finding other oddities and bugs.

flameeyes gave some hints and clues into how this works on his blog recently:

http://blog.flameeyes.eu/2011/05/25/psa-packages-failing-to-install-with-new-
openrc-based-stages-missing-users-and-groups

It's specific to openrc, but if you follow his blog it's easy to read between
the lines to see what he's getting at usually.

I don't think I've ever met a dev that releases code any other way :-)

None of the above is fact and all of it is my opinion but I do think I'm close
to the mark.

   


OK.  This is todays version.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   *] sys-apps/portage-2.2.0_alpha38  USE=(ipc) less%* 
-build -doc -epydoc -python2 -python3 (-selinux) LINGUAS=-pl 810 kB
[ebuild   R] net-print/hplip-3.10.9-r1  USE=X hpcups kde libnotify 
parport (policykit) qt4 -acl% -doc -fax -hpijs -minimal -scanner -snmp 
-static-ppds (-udev-acl%) 21,307 kB


So, they added a USE flag to get less back on track.  Does that mean we 
can all remove it from world now?


This is not just for me but for others as well.

Dale

:-)  :-)



[gentoo-user] Epson BX525WD

2011-08-31 Thread Thanasis
Anyone with experience working with epson inkjet printers?

BX525WD is a multifunction device (printer, copier and scanner), and has
ethernet, USB and wifi connectivity.

Can I use it with CUPS? Do I need any special USE flags?
I use the amd64 no-multilib profile.
I am interested in its printing function in the first place.

I looked at epson home site for drivers and it pointed to
http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escp/
where one can find binary .rpm and .deb packages for the diver, and the
source code as
epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.src.rpm

I downloaded the
http://linux.avasys.jp/drivers/lsb/epson-inkjet/stable/RPMS/x86_64/epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.x86_64.rpm
file and used rpm2tbz2 to get the file:
epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.x86_64.tbz2
Among other files it contains a ppd file that seems appropriate for the
printer in question: Epson-Stylus_Office_BX525WD_Series-epson-driver.ppd.gz
I guess I could use that with CUPS, but to connect to the printer via
ethernet, what option (protocol?) should I select?

CUPS web interface (http://localhost:631/admin/)
gives me those options:

Local Printers:
SCSI Printer
HP Printer (HPLIP)

Other Network Printers:
AppSocket/HP JetDirect
Internet Printing Protocol (http)
Internet Printing Protocol (ipp)
Internet Printing Protocol (https)
LPD/LPR Host or Printer
Windows Printer via SAMBA



Re: [gentoo-user] Epson BX525WD

2011-08-31 Thread Jeremy McSpadden
the type depends on how its hooked up, if its ethernet; use IPP.
if its usb, it should detect

--
Jeremy McSpadden
def...@uberpenguin.net




On Aug 31, 2011, at 8:24 AM, Thanasis wrote:

 Anyone with experience working with epson inkjet printers?
 
 BX525WD is a multifunction device (printer, copier and scanner), and has
 ethernet, USB and wifi connectivity.
 
 Can I use it with CUPS? Do I need any special USE flags?
 I use the amd64 no-multilib profile.
 I am interested in its printing function in the first place.
 
 I looked at epson home site for drivers and it pointed to
 http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escp/
 where one can find binary .rpm and .deb packages for the diver, and the
 source code as
 epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.src.rpm
 
 I downloaded the
 http://linux.avasys.jp/drivers/lsb/epson-inkjet/stable/RPMS/x86_64/epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.x86_64.rpm
 file and used rpm2tbz2 to get the file:
 epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.x86_64.tbz2
 Among other files it contains a ppd file that seems appropriate for the
 printer in question: Epson-Stylus_Office_BX525WD_Series-epson-driver.ppd.gz
 I guess I could use that with CUPS, but to connect to the printer via
 ethernet, what option (protocol?) should I select?
 
 CUPS web interface (http://localhost:631/admin/)
 gives me those options:
 
 Local Printers:
 SCSI Printer
 HP Printer (HPLIP)
   
 Other Network Printers:
 AppSocket/HP JetDirect
 Internet Printing Protocol (http)
 Internet Printing Protocol (ipp)
 Internet Printing Protocol (https)
 LPD/LPR Host or Printer
 Windows Printer via SAMBA
 




Re: [gentoo-user] Epson BX525WD

2011-08-31 Thread Michael Mol
On Wed, Aug 31, 2011 at 9:24 AM, Thanasis thana...@asyr.hopto.org wrote:
 Anyone with experience working with epson inkjet printers?

 BX525WD is a multifunction device (printer, copier and scanner), and has
 ethernet, USB and wifi connectivity.

 Can I use it with CUPS? Do I need any special USE flags?
 I use the amd64 no-multilib profile.
 I am interested in its printing function in the first place.

 I looked at epson home site for drivers and it pointed to
 http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escp/
 where one can find binary .rpm and .deb packages for the diver, and the
 source code as
 epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.src.rpm

 I downloaded the
 http://linux.avasys.jp/drivers/lsb/epson-inkjet/stable/RPMS/x86_64/epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.x86_64.rpm
 file and used rpm2tbz2 to get the file:
 epson-inkjet-printer-workforce-635-nx625-series-1.0.1-1lsb3.2.x86_64.tbz2
 Among other files it contains a ppd file that seems appropriate for the
 printer in question: Epson-Stylus_Office_BX525WD_Series-epson-driver.ppd.gz
 I guess I could use that with CUPS, but to connect to the printer via
 ethernet, what option (protocol?) should I select?

 CUPS web interface (http://localhost:631/admin/)
 gives me those options:

 Local Printers:
 SCSI Printer
 HP Printer (HPLIP)

 Other Network Printers:
 AppSocket/HP JetDirect
 Internet Printing Protocol (http)
 Internet Printing Protocol (ipp)
 Internet Printing Protocol (https)
 LPD/LPR Host or Printer
 Windows Printer via SAMBA

Do you want to connect to the printer directly over the network?

Try nmapping its IP address to find out which services it has enabled.
As Jeremy noted, IPP is generally a very good option, but any of the
available services should work if you're bouncing through a CUPS
daemon.

-- 
:wq



Re: [gentoo-user] Re: Why can't I print in landscape?

2012-03-05 Thread Mick
On Monday 05 Mar 2012 23:55:31 walt wrote:
 On 03/05/2012 02:24 PM, Mick wrote:
  Is there some secret setting to allow me to print in landscape from FF,
  or Chromium, or Okular?
  
  No matter what I set in the application my printer (HP 930c) will only
  print in portrait and chop off half the page.  :-(
 
 In FF I see buttons for portrait and landscape in the 'print setup' and
 'print preview' menus.  You don't have those buttons?

Yes I do.  I select landscape and get portrait coming out.  :-(

Also, in a full KDE desktop I select the hplip tooltray applet (or whatever 
its called) and also change in there the settings to print landscape.

Still no success.

Only in libreoffice I can print in landscape a test page, after I change the 
libreoffice print manager settings, but what I want is to print one of the 
google maps in landscape from a browser and can't do it!  Even when I print in 
pdf from the browser (the pdf is landscape) I can't thereafter print it as 
such.  It keeps coming out as portrait.

I stopped printing for now because I'm running out of paper!  :-/
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] HP PSC 1410 USB

2012-03-21 Thread Daniel Pielmeier
2012/3/21 G. Sebastián Pedersen sebas...@gmail.com:
 I have a problem with my printer, wich is a HP psc 1410. It is USB, so
 I plugged in and follow the Gentoo howto:

 http://www.gentoo.org/doc/en/printing-howto.xml

 But I seems that no thing is detected :(

 This is my output os lsusb with the printer attached and on:

 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

 I do use other things usb hot plug, like an mp3 and a cell phone, and
 work fine. So I don't think it is a Kernel misconfiguration.

 The printer I'm sure it's works, but I don't know if it's was ever
 installer on a Linux.

 Any ideas? anybody has expirienced with this printer?


Did you take a look at the hplip section from the printing guide? Is
CONFIG_USB_PRINTER enabled in the kernel configuration?

-- 
Regards
Daniel



Re: [gentoo-user] HP PSC 1410 USB

2012-03-21 Thread Nilesh Govindrajan
On 03/21/2012 07:54 PM, G. Sebastián Pedersen wrote:
 Hi guys,

 I have a problem with my printer, wich is a HP psc 1410. It is USB, so
 I plugged in and follow the Gentoo howto:

 http://www.gentoo.org/doc/en/printing-howto.xml

 But I seems that no thing is detected :(

 This is my output os lsusb with the printer attached and on:

 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

 I do use other things usb hot plug, like an mp3 and a cell phone, and
 work fine. So I don't think it is a Kernel misconfiguration.

 The printer I'm sure it's works, but I don't know if it's was ever
 installer on a Linux.

 Any ideas? anybody has expirienced with this printer?

 I'm kind of stuck...

 Many thanks in advance.

 Sebas


Make sure that you have hplip installed (with hpcups  scanner USE flags
enabled). Also cups with USE flag usb if you have not enabled kernel usb
printer support. I have the same piece and it's working like a charm for
the past four years :D
My printer is seven years old though.

-- 
Nilesh Govindarajan
http://nileshgr.com




Re: [gentoo-user] HP PSC 1410 USB

2012-03-22 Thread Nilesh Govindrajan
On Mar 23, 2012 2:10 AM, G. Sebastián Pedersen sebas...@gmail.com wrote:

 On 3/21/12, Nilesh Govindrajan cont...@nileshgr.com wrote:
  Make sure that you have hplip installed (with hpcups  scanner USE flags
  enabled). Also cups with USE flag usb if you have not enabled kernel usb
  printer support. I have the same piece and it's working like a charm for
  the past four years :D
  My printer is seven years old though.
 
  --
  Nilesh Govindarajan
  http://nileshgr.com
 

 Fantastic! It's looks like not configurin usb printer in the kernel
 and rebuilding cups with USE usb did the job :)

 Final cuestion: when I run hp-setup installed the HP PSC 1400 and not
 1410, is that ok? is that Nilesh the one you have installed and
 working?

 Many thanks to all suggestion, I appreciate your time very much.
 Sebas


Glad that it helped.

Yeah the driver reports 1410 as 1400. No issues. All functions work (except
scan button, which is limited to just 1-2 scanners via scanbuttond).

Also, I don't think you need kernel usb printer support if you enabled usb
in cups, in fact I'm wondering how did the ebuild let you build it, because
it had emitted me an error and I had to disable usb printer in the kernel.

--
Nilesh Govindrajan
http://nileshgr.com


Re: [gentoo-user] My printing's not working. Help, please!

2012-04-13 Thread ny6p01
On Fri, Apr 13, 2012 at 03:39:12PM +, Alan Mackenzie wrote:
 Hi, all.
 
 My printing's not working.  I've got cups-1.4.8-r1 installed.
 
 If I attempt to print from (say) Mozilla, everything appears to go fine
 up to the actual printing.  I do
 
 # lpq
 
 , then I get this:
 
 ML-1450 is ready and printing
 RankOwner   Job File(s) Total Size
 active  acm 44  Lernen im Internet - Anmeldung  94208 bytes
 
 .
 
 However the printer isn't actually printing.  I know there's nothing
 wrong with the printer or USB cable as such, since I can do
 
 $ echo printing^L  /dev/lp0
 
 , and a page with printing on it comes out of my printer.
 
 Any suggestions?
 
 -- 
 Alan Mackenzie (Nuremberg, Germany).
 

Have you checked the cups setup - http://localhost:631 - and looked at all
the setup settings and the Jobs queue? Sounds like a driver issue to me, but
I always use HP printers, and hplip takes care of the drivers. I'm not
familiar with the drivers for Samsung products.

Perhaps someone will come along who has that printer that can assist you.
Also you might ask on freenode IRC, channel #gentoo. That is a very helpful
resource. Good luck!

Terry



Re: [gentoo-user] My printing's not working. Help, please!

2012-04-13 Thread Nilesh Govindrajan
On Apr 14, 2012 4:59 AM, ny6...@gmail.com wrote:

 On Fri, Apr 13, 2012 at 03:39:12PM +, Alan Mackenzie wrote:
  Hi, all.
 
  My printing's not working.  I've got cups-1.4.8-r1 installed.
 
  If I attempt to print from (say) Mozilla, everything appears to go fine
  up to the actual printing.  I do
 
  # lpq
 
  , then I get this:
 
  ML-1450 is ready and printing
  RankOwner   Job File(s) Total Size
  active  acm 44  Lernen im Internet - Anmeldung  94208 bytes
 
  .
 
  However the printer isn't actually printing.  I know there's nothing
  wrong with the printer or USB cable as such, since I can do
 
  $ echo printing^L  /dev/lp0
 
  , and a page with printing on it comes out of my printer.
 
  Any suggestions?
 
  --
  Alan Mackenzie (Nuremberg, Germany).
 

 Have you checked the cups setup - http://localhost:631 - and looked at all
 the setup settings and the Jobs queue? Sounds like a driver issue to me,
but
 I always use HP printers, and hplip takes care of the drivers. I'm not
 familiar with the drivers for Samsung products.

 Perhaps someone will come along who has that printer that can assist you.
 Also you might ask on freenode IRC, channel #gentoo. That is a very
helpful
 resource. Good luck!

 Terry


The backend driver might be failing. See cups error log.

--
Nilesh Govindrajan
http://nileshgr.com


Re: [gentoo-user] My printing's not working. Help, please!

2012-04-14 Thread Mick
On Saturday 14 Apr 2012 01:57:13 Nilesh Govindrajan wrote:
 On Apr 14, 2012 4:59 AM, ny6...@gmail.com wrote:
  On Fri, Apr 13, 2012 at 03:39:12PM +, Alan Mackenzie wrote:
   Hi, all.
   
   My printing's not working.  I've got cups-1.4.8-r1 installed.
   
   If I attempt to print from (say) Mozilla, everything appears to go fine
   up to the actual printing.  I do
   
   # lpq
   
   , then I get this:
   ML-1450 is ready and printing
   RankOwner   Job File(s) Total Size
   active  acm 44  Lernen im Internet - Anmeldung  94208 bytes
   
   .
   
   However the printer isn't actually printing.  I know there's nothing
   wrong with the printer or USB cable as such, since I can do
   
   $ echo printing^L  /dev/lp0
   
   , and a page with printing on it comes out of my printer.
   
   Any suggestions?
   
   --
   Alan Mackenzie (Nuremberg, Germany).
  
  Have you checked the cups setup - http://localhost:631 - and looked at
  all the setup settings and the Jobs queue? Sounds like a driver issue to
  me,
 
 but
 
  I always use HP printers, and hplip takes care of the drivers. I'm not
  familiar with the drivers for Samsung products.
  
  Perhaps someone will come along who has that printer that can assist you.
  Also you might ask on freenode IRC, channel #gentoo. That is a very
 
 helpful
 
  resource. Good luck!
  
  Terry
 
 The backend driver might be failing. See cups error log.

Also, reconfigure the driver in http://localhost:631 because sometimes drivers 
change and your cups set up may still be pointing to the old driver.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: My printing's not working. Help, please!

2012-04-20 Thread Dale
James wrote:
 Alan Mackenzie acm at muc.de writes:
 
 
 I'm glad I wrote down my about-to-be-deleted config first.  
 
 An an upgrade to anything that want to modify *.config,
 
 I so to the dir and save about-2-be-deleted version
 of all config files. For example in /etc/cups/
 
 printers.conf
 printers.conf.31aug11 
 printers.conf.5dec10
 printers.conf.6jun2011
 printers.conf.orig (original)
 
 I could use the optional names during the updates,
 but those names are non sensical to me.
 
 It's saved my bacon on too many occasions, as cups
 it not the only brain_dead software and keeping
 config records that can be date correlated, helps
 on a variety of issues. Occasionally I prune the
 files I asways use hplip with HP printers.
 
 
 ymmv,
 James
 
 
 
 


I think dispatch.conf does this automatically.  I use it here and it has
backups of my config files.  Of course, I also keep a backups manually
from time to time.  Usually if I have a good long uptime and can reboot
with no errors, I make a new backup.  I have never used dispatch.conf to
recover a config tho.

OP, you may want to check into this if you do have issues with updates.
 It may be handy and automatic too.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



Re: [gentoo-user] printer

2012-04-30 Thread Stephane Guedon
Le lundi 30 avril 2012 12:59:10 kwk...@hkbn.net a écrit :
 On Sun, 29 Apr 2012 21:55:08 +0200

 Stephane Guedon steph...@einstein.22decembre.eu wrote:
  Hi everyone
 
  I am now forced to replace my epson printer.
 
  Anyone think of a printer for which ink is quite cheap (contrary to
  the epson) and that allow to have status not only in windows ?
 
  Epson as an utility to have ink status in windows and linux, but I
  have my printer on a server and was in hope some could have ink
  status iin cups ...
 
  So, anyone that have a suggestion is welcome !

 Is it just me?  There is a bad GPG signature (maybe it is due to the
 accent character(s)).

 Anyway, IMO hplip is much nicer than mtink (there is the command-line
 tool hp-level included that displays ink level), and HP ink don't dry
 up if you leave the printer idle for 2 weeks, unlike Epson. Of course,
 if you print a lot you should consider laser printer.

 Kerwin

Anyway, I don't print so much, but I need one !

I don't know why you say I have a bad gpg. I think I put it on the gpg
servers, so It should be ok. Did you try to search for it ?

Thanks

--
Stéphane Guedon  |  www.22decembre.eu

Protegez vos courriers sur internet aussi, utilisez gpg !
http://www.22decembre.eu/2012/02/27/proteger-vos-courriels-avec-gpg/

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] printer

2012-04-30 Thread kwkhui
On Mon, 30 Apr 2012 10:04:10 +0200
Stephane Guedon steph...@einstein.22decembre.eu wrote:

 Le lundi 30 avril 2012 12:59:10 kwk...@hkbn.net a écrit :
  On Sun, 29 Apr 2012 21:55:08 +0200
  
  Stephane Guedon steph...@einstein.22decembre.eu wrote:
   Hi everyone
   
   I am now forced to replace my epson printer.
   
   Anyone think of a printer for which ink is quite cheap (contrary
   to the epson) and that allow to have status not only in windows ?
   
   Epson as an utility to have ink status in windows and linux, but I
   have my printer on a server and was in hope some could have ink
   status iin cups ...
   
   So, anyone that have a suggestion is welcome !
  
  Is it just me?  There is a bad GPG signature (maybe it is due to the
  accent character(s)).
  
  Anyway, IMO hplip is much nicer than mtink (there is the
  command-line tool hp-level included that displays ink level), and
  HP ink don't dry up if you leave the printer idle for 2 weeks,
  unlike Epson. Of course, if you print a lot you should consider
  laser printer.
  
  Kerwin
 
 Anyway, I don't print so much, but I need one !
 
 I don't know why you say I have a bad gpg. I think I put it on the
 gpg servers, so It should be ok. Did you try to search for it ?
 
 Thanks
 

I got the key 0x0403A28B2D8DE8FB from zimmerman.mayfirst.org (one of
the keys.gnupg.net keyserver) but signature verification fails for
both messages.

Kerwin.


signature.asc
Description: PGP signature


Re: [gentoo-user] Printer isn't working. Help, please!

2012-07-21 Thread Nilesh Govindrajan
On Sun, Jul 22, 2012 at 8:46 AM, Nilesh Govindrajan
cont...@nileshgr.com wrote:
 On Sun, Jul 22, 2012 at 5:14 AM, Michael Mol mike...@gmail.com wrote:
 On Sat, Jul 21, 2012 at 1:58 PM, Alan Mackenzie a...@muc.de wrote:
 Evening, Experts!

 My printer isn't printing.

 More precisely, when in CUPS 1.5.2 (localhost:631), CUPS fails to find
 the printer.  When I click on Find New Printers it comes back with
 Available Printers - No Printers Found..

 My system has been like this since I converted back from mdev to udev.
 Though I have just built Linux 3.3.8 in the hope that a new kernel build
 would help.  ;-(.

 Help would be most appreciated.

 What kind of printer? How is it connected to the computer?

 What USE flags do you have enabled for the CUPS build? If you
 re-emerge CUPS, it will spit some warnings at you if it detects
 problems with your kernel configuration.

 --
 :wq


 Personally I prefer enabling USB printer support in kernel instead of
 cups (both of them are mutually exclusive!). Because, cupsd sometimes
 chokes when you shut off and on the printer many times. Once that
 happened I switched to kernel support and never faced the problem
 again.

If you have HP printer, install hplip package. Read cups logs in
/var/log/cups or whatever.



[gentoo-user] layman printer trouble

2012-10-05 Thread Jamse
BACKGROUND
--

OK, so I get a new Brother MFC-6710DW printer, which
includes ethernet. Since there is not (hplip) package
for Brother, I trying to use Layman to first add
an existing Overlay and then set up the printer
via Cups (localhost:631).

Amazingly, I found an overlay that looks to be for a brother 
printer that is identical to mine, except it down not 
have the memory stick slot (brother mfc6490cw).

Here it is on zugaina
(Successfully synchronized overlay zugaina)

http://gpo.zugaina.org/Overlays/printer-drivers/
net-print/brother-mfc6490cw-cups

I thought once that layman is setup you could just update
the tree_list of packages (which I did) and then just 
use emerge to install from a give Overlay repository?
(Yes, I modifies the /etc/make.conf

#LAYMAN
PORTDIR_OVERLAY=/usr/local/portage
source /var/lib/layman/make.conf
(but this layman make.conf file is still empty)

So, I get this error:
# layman -f -a net-print/brother-mfc6490cw-cups-1.1.2_p2

Overlay net-print/brother-mfc6490cw-cups-1.1.2_p2 does not exist.
(I also tried the name net-print/brother-mfc6490cw-cups to no avail)

Next, I've manually downloaded the ebuild to:
/usr/local/portage/net-print/brother-mfc6490cw-cups/



PROBLEM
---
But I cannot use emerge to install it.
# emerge brother-mfc6490cw-cups
Calculating dependencies / * Manifest not found for
'/usr/local/portage/net-print/brother-mfc6490cw-cups/
brother-mfc6490cw-cups-1.1.2_p2.ebuild'

So now I need to hack the manifest and other files into this dir?
Any discussion, ideas, syntax or ebuild support files 
(manifest et. al) are most welcome (Neil?)

Note: it's been a while since I've used the laymen scripts et. al.
so it's entirely possible I missed (fudged_up) the steps I gleaned
from the myriad of wikis  to do this install.

rusty on Overlays,
James







Re: [gentoo-user] Re: Optional /usr merge in Gentoo

2013-08-19 Thread Stroller

On 19 August 2013, at 10:31, pk wrote:
 ... The problem I have, as an engineer, is
 that everybody says that a separate /usr is broken, that sysvinit is
 broken without explaining why. In order to fix a problem you need to
 know what is broken...
   
   Here's a short, very in-comprehensive list of software we are aware of that
   currently are not able to provide the full set of functionality when /usr
   is split off and not pre-mounted at boot: udev-pci-db/udev-usb-db and all
   rules depending on this (using the PCI/USB database in /usr/share),
   PulseAudio, NetworkManager, ModemManager, udisks, libatasmart,
   usb_modeswitch, gnome-color-manager, usbmuxd, ALSA, D-Bus, CUPS, Plymouth,
   LVM, hplip, multipath, Argyll, VMWare, the locale logic of most programs
   and a lot of other stuff. [1]

I honestly don't have a horse in this race, I don't much care one way or the 
other. 

I tend to like things the old fashioned way, I like things simple, and I like 
to keep doing things the way I know.

I hate the whole initrd thing, but I tend to slap most everything on a single 
partition, anyway. 

I could be persuaded either way, were there compelling arguments, but you just 
undermine your own position by pretending that the reasons for the migration 
are somehow fictional.

Stroller.


[1] http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken/


Re: [gentoo-user] Re: Optional /usr merge in Gentoo

2013-08-19 Thread Neil Bothwick
On Mon, 19 Aug 2013 11:17:06 +0100, Stroller wrote:

Here's a short, very in-comprehensive list of software we are aware
 of that currently are not able to provide the full set of functionality
 when /usr is split off and not pre-mounted at boot:
 udev-pci-db/udev-usb-db and all rules depending on this (using the
 PCI/USB database in /usr/share), PulseAudio, NetworkManager,
 ModemManager, udisks, libatasmart, usb_modeswitch, gnome-color-manager,
 usbmuxd, ALSA, D-Bus, CUPS, Plymouth, LVM, hplip, multipath, Argyll,
 VMWare, the locale logic of most programs and a lot of other stuff. [1]

How much of that is needed before the contents of /etc/fstab are
mounted? I certainly don't need to run a desktop, used a 3G modem, play
sounds or load a virtual machine before then. Yes, LVM may be needed, but
the needed parts are in /sbin anyway, so that is a red herring too.

I understand the need, even desire, of binary distros to cover all bases
by taking the safer option, but Gentoo is about choice and all reasonable
choices should be permitted. It comes down to what the council means by
not supported. If it means will not work that will cause problems for
some, but if it means you have to work it out for yourself, well,
what's the point of a community if we can't work it out between us?


-- 
Neil Bothwick

Death to all fanatics!


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Optional /usr merge in Gentoo

2013-08-19 Thread J. Roeleveld
On Mon, August 19, 2013 12:55, Neil Bothwick wrote:
 On Mon, 19 Aug 2013 11:17:06 +0100, Stroller wrote:

Here's a short, very in-comprehensive list of software we are aware
 of that currently are not able to provide the full set of functionality
 when /usr is split off and not pre-mounted at boot:
 udev-pci-db/udev-usb-db and all rules depending on this (using the
 PCI/USB database in /usr/share), PulseAudio, NetworkManager,
 ModemManager, udisks, libatasmart, usb_modeswitch, gnome-color-manager,
 usbmuxd, ALSA, D-Bus, CUPS, Plymouth, LVM, hplip, multipath, Argyll,
 VMWare, the locale logic of most programs and a lot of other stuff. [1]

 How much of that is needed before the contents of /etc/fstab are
 mounted? I certainly don't need to run a desktop, used a 3G modem, play
 sounds or load a virtual machine before then. Yes, LVM may be needed, but
 the needed parts are in /sbin anyway, so that is a red herring too.

It is a red herring.
I currently use an initramfs, but that is because I decided to put / on
LVM as well.
When I had / as a normal partition and /usr on LVM, there were no issues
with booting. Currently, with the initramfs, I get errors about / and /usr
not being able to umount during shutdown.

--
Joost




Re: [gentoo-user] HP officejet pro 8600 printer (all-in-one)

2013-09-02 Thread Bruce Hill
On Mon, Sep 02, 2013 at 07:58:42PM -0400, gottl...@nyu.edu wrote:
 I will be buying a new printer and am considering three members of the
 HP 8600 class
 
 HP officejet pro 8600 (N911a)
 
 HP officejet pro 8600 plus (N911g)
 
 HP officejet pro 8600 premium (N911n)
 
 The first two are listed on the hplip site as having full support and
 recommended.  The third is not listed, which I found surprising.
 
 Any recommendations/suggestions/experiences would be appreciated.
 
 thanks,
 allan

Not exactly what you asked about, but want to comment that we're using a
HP Officejet Pro 8500 A910 for over 2 years with great results. We use it
wired, and everything on the LAN can print to it at 192.168.100.5. It has a
web interface for scanning that beats everything I've used before. IIRC the
8600 is an upgrade of the 8500. We've used HP exclusively since switching to
Linux OSes in 2003, because HP provides drivers for Linux systems, and the
quality of their product for the price beats the competition (IMO).

I once did a fax from it, but refuse to use fax in the 21st century.

Cheers,
Bruce
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] HP officejet pro 8600 printer (all-in-one)

2013-09-05 Thread Frank Steinmetzger
On Wed, Sep 04, 2013 at 07:25:51PM -0700, Thomas Mueller wrote:

 from Walt:
 
  On 09/02/2013 08:17 PM, Thomas Mueller wrote:
   Given my ill luck with HP LaserJet M1212nf MFP, I don't want to buy
   anything more from HP, unless I get this printer working, and then
   I'd need toner.
 
   I do intend to try with Linux, and also try the MS-Windows drivers on
   FreeBSD with wine.
 
  I've found that the postscript-printer-definition (ppd) files included
  in net-print/gutenprint work much better for me than the ones included
  in net-print/hplip, which is published by HP.

Thanks for the tip, I'll try that, too for by Laserjet 1000. I used to
use foo2zjs, which got masked at some point. I'm annoyed by hplip's tray
area program.

  I've also heard other people grumble about the quality of HP printer
  drivers not being as good as HP printers, but that's just hearsay :)
 
 I see I don't have guenprint installed, maybe I ought to.
 
 Bigger problem may be that HP LaserJet M1212nf MFP requires a proprietary 
 plugin download.

That plugin download is what was broken for me. If you use python 3 in
your system, then the download will silently fail because the script is
written in python 2, but its shebang says only python.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

“I’m working on than.” -- Stephen Hawking
(When visiting the set of the Starship Enterprise’s engine room)


signature.asc
Description: Digital signature


Re: [gentoo-user] New Gnome Systemd Upgrade Question

2013-12-22 Thread Alan McKinnon
On 23/12/13 01:56, Lee wrote:
 Hi, I installed Gentoo a long time ago with the desktop/gnome profile
 set. Now, I don't use gnome (i use fluxbox). However since I have the
 use tags, many gnome libraries were pulled in over time.
 
 Now, since the upgrade to gnome 3.8, Portage updates result in a
 conflict because the gnome libs need systemd, which conflicts with udev.
 
 Instead of making the switch to systemd, I decided to change my profile
 to plain desktop (no gnome). Since I don't have gnome desktop, it was
 relatively simple for the system to update itself.
 
 My only questions are, will cups and hplip function in a 'gnomeless'
 system, and are there any other gotchas to be aware of?
 

printing will work regardless of whether you have gnome or not.
cups is what it is, it is not a gnome app.

I don't know of any gotchas with removing gnome (I usually call that a
feature with huge benefits...). All that a profile is, is a bunch of
pre-configured settings. It's a starting point and the contents of your
settings in /etc/portage modifies them. Portage will sort everything out
when you emerge -avuND world and give you what you need according to
your config

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] New Gnome Systemd Upgrade Question

2013-12-22 Thread ny6p01
On Mon, Dec 23, 2013 at 02:07:06AM +0200, Alan McKinnon wrote:
 On 23/12/13 01:56, Lee wrote:
  Hi, I installed Gentoo a long time ago with the desktop/gnome profile
  set. Now, I don't use gnome (i use fluxbox). However since I have the
  use tags, many gnome libraries were pulled in over time.
  
  Now, since the upgrade to gnome 3.8, Portage updates result in a
  conflict because the gnome libs need systemd, which conflicts with udev.
  
  Instead of making the switch to systemd, I decided to change my profile
  to plain desktop (no gnome). Since I don't have gnome desktop, it was
  relatively simple for the system to update itself.
  
  My only questions are, will cups and hplip function in a 'gnomeless'
  system, and are there any other gotchas to be aware of?
  
 
 printing will work regardless of whether you have gnome or not.
 cups is what it is, it is not a gnome app.
 
 I don't know of any gotchas with removing gnome (I usually call that a
 feature with huge benefits...). All that a profile is, is a bunch of
 pre-configured settings. It's a starting point and the contents of your
 settings in /etc/portage modifies them. Portage will sort everything out
 when you emerge -avuND world and give you what you need according to
 your config
 

That's a relief! I didn't think the upgrade to systemd was worth the
trouble. 


signature.asc
Description: Digital signature


[gentoo-user] Re: scanner supported

2013-12-25 Thread James
Philip Webb purslow at ca.inter.net writes:


  Philip Webb wrote:
  I recently bought an HP 2510 printer-copier-scanner.
  It prints  copies, but Xsane can't find it as a scanner.
  I suspect the problem is that Sane-backends doesn't support it :
  how do I find out whether that is the case ?

Sane, hplip and cups, sometimes work together well and sometimes
don't even thou devices may be supported. Testing is the answer.

It stubborn cases, I've found it easier to take a singular device,
and set it up as if it were multiple devices. For example I had
one hp printer that when swithcing between color and bw the software
(driver, api?) would get confused and hang the software (driver).
So I just set it up as 2 different printers, one bw and one color.
Easy, and no issues.

 Does anyone have any further comments or suggestions ?

Using the internal functions, such as settting the IP address, wireless,
routes, dns, folders etc etc on a printer is a security concern that needs
vetting, imho. There are very few wireless interfaces that the NSA has not
forced the hardware manufactures to add backdoors into. Wireless sniffing,
what the NSA refers to as signal intercept, has long been
the bread and butter of the NSA, since marconi did his thing.
Amatures can easily comprimise most wireless interfaces, so caveat emptor!.


Some only set the usb or ip address on a printer and never the wireless,
routes or other embedded OS features, as a baseline to establish security.
Note, the wireless interfaces can be activated remotely, despite what
you set, so isolate most modern printers. Adding those (printer) embedded 
OS feature-sets, makes it so a rank_amature can comprise your
devices, if you are not very careful. Unlike mrsnow, I have no
problem with the NSA; but, I think folks should be aware (educated?) and
make logical decisions based on their security model.


hth,
merry Christmas,
James





[gentoo-user] Re: HP scanner is no longer found

2014-03-24 Thread James
Dale rdalek1967 at gmail.com writes:

 
 Howdy,
 
 This is confusing.  A month or so ago, my HP 5300C scanner worked just
 fine.  


Hello Dale,

I always keep old (very old) backups of the config file in 
/etc/cups to see if when a software upgrade occurs, or
I have to use the admin page of cups to update/modify/test
print/scanner hardware. So it's an easy check therein, if
you kept old copies in /etc/cups. Sometimes newer versions
of cups do not work well with older or obscure features of
various printers/scanners.

As far as USB goes, the device's device driver could have been
change or it, as a legacy (usb) device became a new part of 
one of the unified device drivers. You'll have to research that
or build a new/test kernel with all sorts of USB drivers enabled.
You definately have a usb issue, at the very least.

If those (2) ideas do not bear fruit, find a usb sniffer and use
that. You might have to go to a windows box to test the scanner too.
Not likely, but the usb chip could have went bad

http://vusb-analyzer.sourceforge.net/
http://sourceforge.net/projects/usbsnoop/

or general usb tools (may) help:
app-admin/usbview
sys-apps/usbmon
sys-apps/usbutils
etc..
many more usb sniffer too.

Just eliminate the possibilities.
I'd test it on a windows box if necessary too.


This all begs the question of how it was set up :
(after the usb issue is resolved).

hplip, cups,  *sane*, ???

hth,
James




[gentoo-user] Re: HP printing query

2014-04-17 Thread James
Philip Webb purslow at ca.inter.net writes:


 I ran into a problem trying to print yesterday -- solved for now -- ,
 but would like to simplify things for the next occasion.
 What appears to have happened is that when I updated Hplip + Cups,
 one of them created a new printer, so that the list now appears as :

In my experiences with Cups over the years, it's flaky setup issues are
always different. So what I do is backup all of the config files in
/etc/cups. After an upgrade, you may have to set up printers again.
What I find, after diffing old config file with new ones, is each
new version of cups screws up one or more of the config files, or forgets
to keep options you have set or whatever you have not seen before as a cups
config problem. The cups team is very diligent at creating new issues, while
addressing old ones, imho. So I just manually look at the old config
files, fix/enhance what I want and restart cupsd.

Cups hacking is different every time, imho. I often just copy printer
config files from /etc/cups to other machines and manually edit therein.
Easy, quick and mostly fool_proof. Occasionally there is actually something
new in cups, but it has mostly been the external (web-gui) interfaces
and not the underlying options; mostly. A working config file, is usually
good for years and years; mostly.


hth,
James









Re: [gentoo-user] Re: Lable Printer for gLabels

2014-05-10 Thread Joseph


On 05/10/14 16:57, James wrote:

Joseph syscon780 at gmail.com writes:



Does anybody know if there is any label printer that will work with gLabels



It's been a while since I used stick-on labels. But we use to by
letter sized papers, covered on one side with stick-on labels all
of the same size. We mostly put mailing address on each label. We
used an hp printer and the particular sheets we used where coded,
with I believe was a 4 digit number, as I think avery and others make
litterally thousands of choices for these sheets (at least they use to).
The open source software could recognize the sheet template number and the
software did the rest.

Sorry I could not be more specific, but it was an all open source solution.
The trick was to match the sheet template number to the correct
software setting, much like what you do with cups hplip..

It was a over a decade ago, so I'm quite certain those solutions
have just morphed into one of the currently maintained sofware
packages. Sorry I could not be more specific. Perhaps someone else will
chime in.


hth,
James


I just ordered Seiko SLP 650, apparently it support Linux.
It has Linux CUPS Driver
http://labelprinters.sii-thermalprinters.com/t/Support%20Software%20and%20Driver%20Downloads

--
Joseph



[gentoo-user] Re: Please help me get my printer working again.

2014-06-01 Thread James
Alan Mackenzie acm at muc.de writes:



 So, thanks for the email, it brought me back to sanity.


A few things to remember. Always check that cupsd is running.
(# rc-status). You may need to stop and start the cupsd.

Go to the /etc/cups dir and make a second copy of the *.conf files
and any others that you use. I give mine a .date actual date
string, so as to make recovery trivial in the future. Also it's
easy to 'scp' those files around to machines if/when necessary.
The cups gui interface just modifies those files.

Last, become familar with http://localhost:631/
 to use the everychanging cups interface to manage your 
networked and printing resources.

If you have HP printers, install this:  net-print/hplip

One last nuance with cups. Sometimes cupsd is running but the cups
software has stop printing. Go to the admin section of cups
(http://localhost:631/) and just start the printer again; it's
a bug_anomoly I have seen too many times.

Really, it's not that difficult with these tidbits to manage and recover
functional printing.  Using dbus as a flag setting never hurts either
and check your cups flag settings. Use the ethernet port in lieu
of the usb port, imho, if you have both on any given printer..


hth,
James








[gentoo-user] portage summary logs not rotated any more

2015-04-04 Thread Alexander Kapshuk
My portage summary logs don't seem to be rotated any more.

ls -lt `pwd`/summary.log*
-rw-rw-r-- 1 portage portage 96581 Apr  3 19:47
/var/log/portage/elog/summary.log
-rw-rw-r-- 1 portage portage  5927 Jan 10 07:50
/var/log/portage/elog/summary.log-20150112
-rw-rw-r-- 1 portage portage  2281 Jan  4 21:14
/var/log/portage/elog/summary.log-20150104.gz
-rw-rw-r-- 1 portage portage   565 Dec 26 20:53
/var/log/portage/elog/summary.log-20141228.gz
-rw-rw-r-- 1 portage portage  1842 Dec 22 17:52
/var/log/portage/elog/summary.log-20141222.gz

grep Messages summary.log | sed '1h;$!d;x;G;q'
 Messages generated by process 3399 on 2015-01-13 17:47:47 EET for
package dev-python/reportlab-3.1.8-r2:
 Messages generated by process 4080 on 2015-04-03 19:47:54 EEST for
package net-print/hplip-3.14.1:

grep Messages summary.log-20150112 | sed '1h;$!d;x;G;q'
 Messages generated by process 2637 on 2015-01-04 22:02:00 EET for
package app-office/libreoffice-4.2.8.2:
 Messages generated by process 3483 on 2015-01-10 07:50:04 EET for
package dev-libs/openssl-1.0.1k:

cat /etc/logrotate.d/elog-save-summary
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Rotate the log created by the save_summary elog module.

/var/log/portage/elog/summary.log {
su portage portage
missingok
nocreate
delaycompress
}

/etc/logrotate.conf:6,8
# rotate log files weekly.
weekly
#daily

What could be wrong here? Or am I misreading something?

Thanks.


Re: [gentoo-user] Re: Printer margins

2015-07-06 Thread Daniel Frey
On 07/06/2015 06:40 PM, walt wrote:
 On Mon, 06 Jul 2015 19:41:07 -0500
 Dale rdalek1...@gmail.com wrote:
 
 walt wrote:
 On Mon, 06 Jul 2015 16:01:44 -0500
 Dale rdalek1...@gmail.com wrote:

 Howdy,

 I finally got around to ordering some ink cartridges.  Now I want
 to do some printing.  Thing is, it tries to print ALL the way to
 the bottom which ends up blurred and unreadable.  I've looked in
 Seamonkey settings, nothing.  I've looked in Hplip, nothing
 there.  I've even looked in cups, well, nothing that makes sense.
 I don't like the new cups interface.
 cups, bah!  Every time cups is updated my printer 'breaks'.  From
 painful years of experience I now know to 'delete' whatever
 printer/fax devices cups knows about and use hp-setup (not cups) to
 recreate them.

 By 'delete' I'm referring to the cups interface I access by visiting
 localhost:631 in a web browser.  Is that the cups interface you're
 using?



 It used to do the same with me but that stopped a long time ago.
 
 Dale, did you try it *this* time?  If not, please try the
 same-ole-same-ole tired remedy just one more time.  The price is
 right :)
 
 

Have you tried lpadmin?

I seem to recall my old printer I had this problem and was able to use:

`lpadmin -o page-bottom-default=36 -o page-top-default=36`

That set a system-wide default. IIRC it's set by dpi, but it's been a
while. Might have to experiment to see if it still works.

To see options you can use `lpoptions -l`

My new printer uses foomatic drivers and it works properly without
messing around with options to set the margins.

If that doesn't help then I don't have a clue...

There should be man pages for both lpadmin and lpoptions.

Dan



Re: [gentoo-user] Re: Printer margins

2015-07-06 Thread Dale
walt wrote:
 On Mon, 06 Jul 2015 19:41:07 -0500
 Dale rdalek1...@gmail.com wrote:

 walt wrote:
 On Mon, 06 Jul 2015 16:01:44 -0500
 Dale rdalek1...@gmail.com wrote:

 Howdy,

 I finally got around to ordering some ink cartridges.  Now I want
 to do some printing.  Thing is, it tries to print ALL the way to
 the bottom which ends up blurred and unreadable.  I've looked in
 Seamonkey settings, nothing.  I've looked in Hplip, nothing
 there.  I've even looked in cups, well, nothing that makes sense.
 I don't like the new cups interface.
 cups, bah!  Every time cups is updated my printer 'breaks'.  From
 painful years of experience I now know to 'delete' whatever
 printer/fax devices cups knows about and use hp-setup (not cups) to
 recreate them.

 By 'delete' I'm referring to the cups interface I access by visiting
 localhost:631 in a web browser.  Is that the cups interface you're
 using?


 It used to do the same with me but that stopped a long time ago.
 Dale, did you try it *this* time?  If not, please try the
 same-ole-same-ole tired remedy just one more time.  The price is
 right :)





Yes I did.  The printer works fine.  It's just the margins that I need
to change.  There used to be a way to set the margins but that is gone. 
Anyway, before when I did a update, the printer wouldn't work at all. 
It would generally just sit there claiming it is going to print but
never does.  Deleting and adding it again would fix that.  That was a
long time ago.  When I have printer problems, that it what I try first. 

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] printing problems

2015-11-03 Thread Philip Webb
151102 Daniel Frey wrote:
> I had so many problems with hplip I stopped using it.  I found another way
> to use my hp CP1025nw with foomatic and that works trouble-free.
> It's a driver for Laserjet printers, it won't work on deskjets AFAIK.
> The driver is foo2zjs: http://foo2zjs.rkkda.com/ , wh uses Ghostscript.
> I looked and it looks like that won't help you.

Yes, they all seem to be for laser printers.  I do very little printing,
but once or twice a year need to print something,
so my cheap little HP DJ 2510 is adequate.

The basic problem is now clear : this printer won't print draft quality,
but leaves blank bands across the output (no, it's not an old cartridge).
Therefore, something has to tell it to print 'high-quality' or 'best'.

In Mint, when that is set via the 631 menu, printing works correctly :
I can print text files via Gvim (icon or  :ha ) & Gedit,  .odt  via LO
& PDF via Evince ; Gedit & Evince have their own quality settings.

In Gentoo, the 631 setting has no effect, so all printing is draft.
Only Kwrite has its own quality setting, which does work properly for text.
In addition, the icon doesn't work in Gvim, tho'  :ha  does.

So for everyday purposes, I can print anything by rebooting into Mint.
However, I'm not happy that there's a bug (or more) of some sort in Gentoo.
I'm not at all sure where it could be or how to report it.
It cb caused by the difference in desktops, Xfce on Mint, Fluxbox on Gentoo :
perhaps the bigger desktop managers do the job themselves,
whereas something else needs fixing with the lightweight Fluxbox.

Further comments mb useful to everyone.

PS thankyou to Dale, whose general experience is similar to my own.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] printing problems

2015-11-03 Thread Mick
On Tuesday 03 Nov 2015 18:33:58 Philip Webb wrote:
> 151102 Daniel Frey wrote:
> > I had so many problems with hplip I stopped using it.  I found another
> > way to use my hp CP1025nw with foomatic and that works trouble-free.
> > It's a driver for Laserjet printers, it won't work on deskjets AFAIK.
> > The driver is foo2zjs: http://foo2zjs.rkkda.com/ , wh uses Ghostscript.
> > I looked and it looks like that won't help you.
> 
> Yes, they all seem to be for laser printers.  I do very little printing,
> but once or twice a year need to print something,
> so my cheap little HP DJ 2510 is adequate.
> 
> The basic problem is now clear : this printer won't print draft quality,
> but leaves blank bands across the output (no, it's not an old cartridge).
> Therefore, something has to tell it to print 'high-quality' or 'best'.
> 
> In Mint, when that is set via the 631 menu, printing works correctly :
> I can print text files via Gvim (icon or  :ha ) & Gedit,  .odt  via LO
> & PDF via Evince ; Gedit & Evince have their own quality settings.
> 
> In Gentoo, the 631 setting has no effect, so all printing is draft.
> Only Kwrite has its own quality setting, which does work properly for text.
> In addition, the icon doesn't work in Gvim, tho'  :ha  does.
> 
> So for everyday purposes, I can print anything by rebooting into Mint.
> However, I'm not happy that there's a bug (or more) of some sort in Gentoo.
> I'm not at all sure where it could be or how to report it.
> It cb caused by the difference in desktops, Xfce on Mint, Fluxbox on Gentoo
> : perhaps the bigger desktop managers do the job themselves,
> whereas something else needs fixing with the lightweight Fluxbox.
> 
> Further comments mb useful to everyone.
> 
> PS thankyou to Dale, whose general experience is similar to my own.

Is your gentoo user a member of lp & lpadmin group?

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] printing problems

2015-11-02 Thread Philip Webb
151101 Daniel Frey wrote:
> On 11/01/2015 04:08 PM, Philip Webb wrote:
>> I am trying to get printing to work properly in my recently built machine.
>> 'hp-probe' identifies my printer as 'HP Deskjet 2510 series'.
>> When I print a text file from Gvim or a ps file from LO,
>> there are blank bands across the page, omitting lines or parts of letters.
>> 
>> I have managed to get Kwrite to print properly
>> via  file -> print -> options -> layout -> schema :
>> when set to 'normal' 'KDE' 'Vim dark', everything comes out as it should
>> (there are some amusing color effects, but it's all there).
>> 
>> Alongside Gentoo, I installed Mint 17.2 (Xfce),
>> which started printing properly via Gedit + LO
>> after I set print quality to 'high' via the 'http://localhost:631' menu
>> 
>> Finally, I've never got the print icon in Gvim to work :
>> I use the 'prtdialog' plug-in, which prints, but only badly as above.
 
> Have you tried with foomatic-ppd-install on Gentoo ?
> It's the `static-ppds` USE flag, which may also need the `hpijs` USE flag.

I've had  USE="hpijs"  all along & have now tried "static-ppds" too,
but there's no change with Gvim or LO ; Kwrite continues to print ok.

> I had so many problems with hplip I stopped using it.  I found another way
> to use my hp CP1025nw with foomatic and that works trouble-free.

Don't be coy ! -- What did you actually do which works (smile) ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Printer margins

2015-07-07 Thread Dale
Dutch Ingraham wrote:
 On Tue, Jul 07, 2015 at 12:27:56PM -0500, Dale wrote:
 Stroller wrote:
 On Mon, 6 July 2015, at 10:01 pm, Dale rdalek1...@gmail.com wrote:

 …  it tries to print ALL the way to the bottom
 which ends up blurred and unreadable.  … 

 So, how does one change the bottom margin to say 1/2 or even 3/4 inch or
 something?  Is there a way? 
 Are you using A4 printer settings on US letter sized paper?

 Stroller.



 Nope.  That was my first thought.  I was hoping.  I checked everything
 that can affect the printer, the apps setting, hplip and cups.  All set
 correctly. 

 Good idea tho.  ;-)

 Thanks.

 Dale

 :-)  :-) 

 I've lost track of all the details of this thread, so please excuse me
 if this has been suggested already.  If I recall, you are using CUPS,
 and if so, this document[1] explains how to set margins from the command
 line.  It seems to be document-specific, and not global, though.

 I remember doing the required math for this a couple of years ago, and
 ended up just going with something like a2ps and being done with it.


 [1] http://www.cups.org/documentation.php/options.html




I ended up editing the ppd file and it seems to be working.  That could
change any moment tho.  ;-)

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] Re: Gentoo net0 - auto resetting - very impressed

2015-09-15 Thread thelma
On 09/15/2015 01:58 PM, Alan McKinnon wrote:
> On 15/09/2015 21:53, the...@sys-concept.com wrote:
[snip]
>
>>> Yea, I almost had mine working but I just got tired of hacking
>>> away at it. It would be more straightforward to take an rpm or deb
>>> package and use it. Folks have made specific models work, but, it
>>> is a bit of work.
>>>
>>> 'eix -R brother' shows quite a few overlays (ebuilds) that cover
>>> a range of brother printers, should you desire to hack that route.
>>
>>
>> To install brother printer just follow these steps from Gentoo forum:
>> https://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html
> 
> 
> 
> Or just don't install Brother printers. They are utter crap and why
> anyone gives them desk space is beyond me. It's not like they are
> expensive either, toss 'em and buy something real.
> 
> Recent Samsung, Epson and everything supported by hplip all work great.

I had a different experience with Samsung printers.  I bought one model
and it had a big bold letters that it works with Linux.
When I try to install printer driver, it was impossible. It came with
some kind of script the relied on an old/obsolete library so it was
impossible to install it.

On Fedora, script installs brother printer base on Brother source
web-page driver, it works perfectly.  On Gentoo it is a manual/painful
setup if you doing it the first time.

Thelma



Re: [gentoo-user] Re: Gentoo net0 - auto resetting - very impressed

2015-09-15 Thread Alan McKinnon
On 15/09/2015 21:53, the...@sys-concept.com wrote:
> On 09/15/2015 01:47 PM, james wrote:
>>   sys-concept.com> writes:
>>
>>
>>
>>> Lately I've installed Fedora core on my old eeepc and I very impressed
>>> with the printer installation.  Fedora automatically recognized my
>>> Brother HL-5730 printer and installed printer driver for it.
>>
>> I have a brother J6710-DW printer that I have tried, unsuccessfully
>> in the past to set up on Gentoo. Brother is borked on Gentoo. Don't believe
>> me read the recent post from Patrick Lauer on planet.gentoo.org. Patrick
>> offer up a simplified way that he was able to get his brother printer
>> running via IPP and a postscript filter.
>>
>>
>>> I wish Gentoo would be able to do it as well some day.
>>
>> Yea, I almost had mine working but I just got tired of hacking
>> away at it. It would be more straightforward to take an rpm or deb
>> package and use it. Folks have made specific models work, but, it
>> is a bit of work.
>>
>> 'eix -R brother' shows quite a few overlays (ebuilds) that cover
>> a range of brother printers, should you desire to hack that route.
> 
> 
> To install brother printer just follow these steps from Gentoo forum:
> https://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html



Or just don't install Brother printers. They are utter crap and why
anyone gives them desk space is beyond me. It's not like they are
expensive either, toss 'em and buy something real.

Recent Samsung, Epson and everything supported by hplip all work great.


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] BTRFS problem? [WAS Quick check on net-print/hplip-3.14.10]

2015-09-19 Thread J. Roeleveld
On 19 September 2015 22:24:19 CEST, Mick  wrote:
>On Saturday 19 Sep 2015 21:14:00 Stefan G. Weichinger wrote:
>> Am 2015-09-18 um 23:58 schrieb Mick:
>> >> The main reason for doing a scrub is to detect latent issues, and
>> >> if you have redundancy that means you can auto-correct them
>> >> today, rather than discovering them a month from now when the
>> >> drive containing the only good copy fails.  Even if you don't
>> >> have redundancy maybe you rotate your backups every 30 days and
>> >> detecting the error might mean having the ability to go back and
>> >> restore a good copy of the file before it is completely replaced
>> >> with bad copies.
>> > 
>> > Thank you Rich, I ran 'btrfs scrub start /" and it found zero
>> > problems.  dmesg and syslog clean too.
>> 
>> I wrote (= googled something and adapted it a bit) some
>> btrfs-scrub.service and .timer for doing that once a week (systemd
>> environment):
>> 
>> $ cat btrfs-scrub.service
>> [Unit]
>> Description=Check volume for errors
>> Documentation=man:btrfs-scrub
>> After=fstrim.service
>> 
>> [Service]
>> Type=oneshot
>> ExecStart=/bin/sh -c 'for i in $(grep btrfs /proc/mounts  | cut -d" "
>> -f1 | sort -u | grep dev); do echo scrubbing $i; btrfs scrub start
>-Bd
>> $i; done'
>> IOSchedulingClass=idle
>> CPUSchedulingPolicy=idle
>> 
>> $ cat btrfs-scrub.timer
>> [Unit]
>> Description=Check volume for errors once a week
>> Documentation=man:btrfs-scrub
>> 
>> [Timer]
>> OnCalendar=weekly
>> AccuracySec=1h
>> Persistent=true
>> 
>> [Install]
>> WantedBy=timers.target
>
>Thank you Stefan, I will probably look into doing the same for openrc.

Crontab (or one of its alternatives) would be your friend here. :)

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] BTRFS problem? [WAS Quick check on net-print/hplip-3.14.10]

2015-09-19 Thread Mick
On Saturday 19 Sep 2015 21:14:00 Stefan G. Weichinger wrote:
> Am 2015-09-18 um 23:58 schrieb Mick:
> >> The main reason for doing a scrub is to detect latent issues, and
> >> if you have redundancy that means you can auto-correct them
> >> today, rather than discovering them a month from now when the
> >> drive containing the only good copy fails.  Even if you don't
> >> have redundancy maybe you rotate your backups every 30 days and
> >> detecting the error might mean having the ability to go back and
> >> restore a good copy of the file before it is completely replaced
> >> with bad copies.
> > 
> > Thank you Rich, I ran 'btrfs scrub start /" and it found zero
> > problems.  dmesg and syslog clean too.
> 
> I wrote (= googled something and adapted it a bit) some
> btrfs-scrub.service and .timer for doing that once a week (systemd
> environment):
> 
> $ cat btrfs-scrub.service
> [Unit]
> Description=Check volume for errors
> Documentation=man:btrfs-scrub
> After=fstrim.service
> 
> [Service]
> Type=oneshot
> ExecStart=/bin/sh -c 'for i in $(grep btrfs /proc/mounts  | cut -d" "
> -f1 | sort -u | grep dev); do echo scrubbing $i; btrfs scrub start -Bd
> $i; done'
> IOSchedulingClass=idle
> CPUSchedulingPolicy=idle
> 
> $ cat btrfs-scrub.timer
> [Unit]
> Description=Check volume for errors once a week
> Documentation=man:btrfs-scrub
> 
> [Timer]
> OnCalendar=weekly
> AccuracySec=1h
> Persistent=true
> 
> [Install]
> WantedBy=timers.target

Thank you Stefan, I will probably look into doing the same for openrc.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] BTRFS problem? [WAS Quick check on net-print/hplip-3.14.10]

2015-09-19 Thread Stefan G. Weichinger
Am 2015-09-18 um 23:58 schrieb Mick:

>> The main reason for doing a scrub is to detect latent issues, and
>> if you have redundancy that means you can auto-correct them
>> today, rather than discovering them a month from now when the
>> drive containing the only good copy fails.  Even if you don't
>> have redundancy maybe you rotate your backups every 30 days and
>> detecting the error might mean having the ability to go back and
>> restore a good copy of the file before it is completely replaced
>> with bad copies.
> 
> Thank you Rich, I ran 'btrfs scrub start /" and it found zero
> problems.  dmesg and syslog clean too.

I wrote (= googled something and adapted it a bit) some
btrfs-scrub.service and .timer for doing that once a week (systemd
environment):

$ cat btrfs-scrub.service
[Unit]
Description=Check volume for errors
Documentation=man:btrfs-scrub
After=fstrim.service

[Service]
Type=oneshot
ExecStart=/bin/sh -c 'for i in $(grep btrfs /proc/mounts  | cut -d" "
-f1 | sort -u | grep dev); do echo scrubbing $i; btrfs scrub start -Bd
$i; done'
IOSchedulingClass=idle
CPUSchedulingPolicy=idle

$ cat btrfs-scrub.timer
[Unit]
Description=Check volume for errors once a week
Documentation=man:btrfs-scrub

[Timer]
OnCalendar=weekly
AccuracySec=1h
Persistent=true

[Install]
WantedBy=timers.target




Re: [gentoo-user] BTRFS problem? [WAS Quick check on net-print/hplip-3.14.10]

2015-09-18 Thread Mick
On Friday 18 Sep 2015 19:15:50 Rich Freeman wrote:
> On Fri, Sep 18, 2015 at 1:56 PM, Mick  wrote:
> > On Friday 18 Sep 2015 17:16:54 Marc Joliet wrote:
> >> On Friday 18 September 2015 10:31:01 Mick wrote:
> >> >A couple of months ago the akonadi DB went sideways and kmail played up
> >> >as a result.  Again I was suspicious of btrfs, but neither the logs
> >> >nor fsck showed up anything.
> >> 
> >> I take it "btrfs scrub" didn't turn up anything, or is that what you
> >> meant by fsck?
> > 
> > Am I supposed to run scrub with I do not have a RAID running?  I thought
> > scrub was meant for comparing checksums between mirrored fs - have I got
> > this wrong?
> 
> You can actually run scrub on a non-raid btrfs setup.  Btrfs will
> report any errors that it detects (using the checksumming in the
> filesystem), but it would not be able to fix errors unless you have it
> storing redundant data somewhere (even on non-raid it still stores
> redundant metadata by default, and you can choose to do this with data
> as well which protects against block-level failures but not disk-level
> failures, obviously).
> 
> However, you'd have gotten the same errors in dmesg just trying to
> read the files - btrfs checks the checksum on all file read
> operations.  That is a big part of the value of both btrfs and zfs.

Ah!  V interesting ... can I run scrub with mounted partitions, or do I have 
to do it from a LiveCD?

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] BTRFS problem? [WAS Quick check on net-print/hplip-3.14.10]

2015-09-18 Thread Mick
On Friday 18 Sep 2015 17:16:54 Marc Joliet wrote:
> On Friday 18 September 2015 10:31:01 Mick wrote:
> >A couple of months ago the akonadi DB went sideways and kmail played up as
> >a result.  Again I was suspicious of btrfs, but neither the logs nor fsck
> >showed up anything.
> 
> I take it "btrfs scrub" didn't turn up anything, or is that what you meant
> by fsck?

Am I supposed to run scrub with I do not have a RAID running?  I thought scrub 
was meant for comparing checksums between mirrored fs - have I got this wrong?


> >The OS is on a single SSD (no RAID), with some caches and busy fs mounted
> >on a  spinning disk.  I have some backups in case of DR, but after a
> >while a corrupted fs will have migrated to the back ups.
> 
> With btrfs, if there really was silent corruption, you wouldn't be able to
> access the file in the single disk case, so no, I don't think it actually
> would propagate to the backup (although perhaps you don't use btrfs
> exclusively, in which case it of course could).  Though keep in mind that
> corruption can happen in a variety of ways, e.g., application-level or
> firmware bugs.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] BTRFS problem? [WAS Quick check on net-print/hplip-3.14.10]

2015-09-18 Thread Rich Freeman
On Fri, Sep 18, 2015 at 1:56 PM, Mick  wrote:
> On Friday 18 Sep 2015 17:16:54 Marc Joliet wrote:
>> On Friday 18 September 2015 10:31:01 Mick wrote:
>> >A couple of months ago the akonadi DB went sideways and kmail played up as
>> >a result.  Again I was suspicious of btrfs, but neither the logs nor fsck
>> >showed up anything.
>>
>> I take it "btrfs scrub" didn't turn up anything, or is that what you meant
>> by fsck?
>
> Am I supposed to run scrub with I do not have a RAID running?  I thought scrub
> was meant for comparing checksums between mirrored fs - have I got this wrong?
>

You can actually run scrub on a non-raid btrfs setup.  Btrfs will
report any errors that it detects (using the checksumming in the
filesystem), but it would not be able to fix errors unless you have it
storing redundant data somewhere (even on non-raid it still stores
redundant metadata by default, and you can choose to do this with data
as well which protects against block-level failures but not disk-level
failures, obviously).

However, you'd have gotten the same errors in dmesg just trying to
read the files - btrfs checks the checksum on all file read
operations.  That is a big part of the value of both btrfs and zfs.

-- 
Rich



Re: [gentoo-user] Printer

2018-03-11 Thread J. Roeleveld
On Thursday, March 1, 2018 2:52:59 PM CET Wols Lists wrote:
> On 01/03/18 10:33, Roger Cahn wrote:
> > Hi,
> > 
> > For my birthday (!) my children want to offer me a multifunction
> > printer, copier.
> > 
> > I ask you for an idea which one they could buy.
> > 
> > For example:  Multifonction A3 HP Officejet Pro 7612
> > 
> > -gentoo amd64 compatible
> > 
> > -inkjet color (4colors)
> > 
> > -ethernet
> 
> I use these people
> 
> https://www.ijtdirect.co.uk/?sct=printerdeals
> 
> As you're in France it shouldn't be a problem, just watch for the
> currency conversion. They've been about for years dealing in refurbished
> kit, although I think these printers are new.
> 
> All our lasers have been Dell, and there's been minimal problems with
> them. Our current one is the Dell 1765 multi-function, which isn't on
> the list :-( I think our current printers are the 4th and 5th we've had
> from them.
> 
> HPs and Epsons are allegedly linux-friendly.

HPs work really well from linux, the hplip-software does all the configuring 
for you.

> One thing to look out for - do you do a lot of scanning? One of the
> reasons I like the Dells is that they have what I call "push scanning" -
> configure them to connect via Samba, then you can put the original in
> the feeder, select "scan" on the front panel, and the scan appears
> automagically on the computer. With both HP and Epson, you usually have
> to put the document in the scanner, then go to the computer and run the
> scan software. A pain in the arse.

My current HP one can scan and print directly to/from USB drives. No need for 
a computer.
Newer HP printers can also scan to fileshares, email, just like most other 
"advanced" units.

--
Joost



<    1   2   3   4   5   >