[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: printer setup




Gudjon, Matt, Len,

Thanks for the feedback, I have made real progress up to now.

I commented out everything in /etc/cups/cupsd.conf to do with authentication, and that trouble is gone.

On http://127.0.0.1:631 I reset the port to lpt1. Now I can send a normal test page to the printer, and it warms up. Still no test page output, though.

I used dpkg-configure cupsys, and the only option that seems relevant is backend. Parallel seems right, for lpt1.

Another possible problem dealt with is that initial setup seems to have found the same printer over at its former host, so I commented out that line in /etc/lpoptions.

Thanks, Don

On Mon, 5 Mar 2007, Lennart Sorensen wrote:

Date: Mon, 5 Mar 2007 10:51:27 -0500
From: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
To: Don Montgomery <donm@methodbydesign.com>
Cc: debian-amd64@lists.debian.org
Subject: Re: printer setup

On Sat, Mar 03, 2007 at 12:12:43PM -0600, Don Montgomery wrote:

Hello list,

I have been migrating an i386 system to a debian testing
amd64 workstation.  Debian testing netinstall of 1/4/7
installed perfectly (mobo: MSI-K8T Master2-FAR; two
opterons).  I then set up a KDE desktop, migrated /home,
set up all the apps I need for my essential tasks.  Thank
you all very much for your excellent work.

At this point, I disconnected the printer (Samsung
ML-1430, fully supported by foomatic/gdi, according to
linuxprinting.org) from the i386 box, and reconnected it
to the new amd64 box.  I attempted to configure the
printer through the KDE kprinter application.  I
eventually got to the point that I could send a print job
from gv, the printer would go through the warming up
cycle, and then sit idle.  The failed printjob did not
show up where I could see it.  lpq shows nothing, lpr does
not work.

My best guess as to my miss-step is that I accepted
encyption and authentication in the kprinter setup as
defaults, and muddled the choices involved.  I expect that
I compounded my errors by subsequently using apt-get to
try to remove cups and install lprng, and later to undo
those actions.  I understand that cups is preferred.

Below are the last 50 lines of /var/log/cups/error_log.

I need to be able to print textfiles and postscript from
the commandline, and to print from within windowed apps as
well.  I wonder if there is a way to re-run
debian-installer for nothing but the printer installation?
I would like to have a clean slate for printer
installation, without undoing the work I have done on the
rest of the system.  Thanks in advance for any ideas.

I apologize if this is the wrong list for this issue.

Don

D [02/Mar/2007:19:04:54 -0600] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [02/Mar/2007:19:04:54 -0600] cupsdReadClient: 8 GET /printers/samsung.ppd
HTTP/1.1
D [02/Mar/2007:19:04:54 -0600] cupsdAuthorize: No authentication data
provided.
D [02/Mar/2007:19:04:54 -0600] write_file: 8 file=9
D [02/Mar/2007:19:04:54 -0600] cupsdAcceptClient: 9 from localhost (Domain)
D [02/Mar/2007:19:04:54 -0600] cupsdReadClient: 9 POST / HTTP/1.1
D [02/Mar/2007:19:04:54 -0600] cupsdAuthorize: No authentication data
provided.
D [02/Mar/2007:19:04:54 -0600] Get-Jobs ipp://localhost:631/printers/samsung
D [02/Mar/2007:19:04:54 -0600] cupsdProcessIPPRequest: 9 status_code=0
(successful-ok)
D [02/Mar/2007:19:04:54 -0600] cupsdCloseClient: 9
D [02/Mar/2007:19:04:56 -0600] cupsdAcceptClient: 9 from localhost (Domain)
D [02/Mar/2007:19:04:56 -0600] cupsdReadClient: 9 POST /printers/ HTTP/1.1
D [02/Mar/2007:19:04:56 -0600] cupsdAuthorize: No authentication data
provided.
D [02/Mar/2007:19:04:56 -0600] CUPS-Get-Printers
D [02/Mar/2007:19:04:56 -0600] cupsdProcessIPPRequest: 9 status_code=0
(successful-ok)
D [02/Mar/2007:19:04:56 -0600] cupsdCloseClient: 9
D [02/Mar/2007:19:04:56 -0600] cupsdAcceptClient: 9 from localhost (Domain)
D [02/Mar/2007:19:04:56 -0600] cupsdReadClient: 9 POST /classes/ HTTP/1.1
D [02/Mar/2007:19:04:56 -0600] cupsdAuthorize: No authentication data
provided.
D [02/Mar/2007:19:04:56 -0600] CUPS-Get-Classes
D [02/Mar/2007:19:04:56 -0600] cupsdProcessIPPRequest: 9 status_code=0
(successful-ok)
D [02/Mar/2007:19:04:56 -0600] cupsdCloseClient: 9
D [02/Mar/2007:19:04:56 -0600] cupsdAcceptClient: 9 from localhost (Domain)
D [02/Mar/2007:19:04:56 -0600] cupsdReadClient: 9 POST /printers/ HTTP/1.1
D [02/Mar/2007:19:04:56 -0600] cupsdAuthorize: No authentication data
provided.
D [02/Mar/2007:19:04:56 -0600] CUPS-Get-Default
D [02/Mar/2007:19:04:56 -0600] CUPS-Get-Default client-error-not-found: No
default printer
D [02/Mar/2007:19:04:56 -0600] cupsdProcessIPPRequest: 9 status_code=406
(client-error-not-found)
D [02/Mar/2007:19:04:56 -0600] cupsdCloseClient: 9
D [02/Mar/2007:19:04:56 -0600] cupsdAcceptClient: 9 from localhost (Domain)
D [02/Mar/2007:19:04:56 -0600] cupsdReadClient: 9 POST /printers/ HTTP/1.1
D [02/Mar/2007:19:04:56 -0600] cupsdAuthorize: No authentication data
provided.
D [02/Mar/2007:19:04:56 -0600] Get-Printer-Attributes
ipp://localhost:631/printers/samsung
D [02/Mar/2007:19:04:56 -0600] cupsdProcessIPPRequest: 9 status_code=0
(successful-ok)
D [02/Mar/2007:19:04:56 -0600] cupsdAcceptClient: 10 from localhost (Domain)
D [02/Mar/2007:19:04:56 -0600] cupsdCloseClient: 12
D [02/Mar/2007:19:04:56 -0600] cupsdCloseClient: 9
D [02/Mar/2007:19:04:56 -0600] cupsdReadClient: 10 POST / HTTP/1.1
D [02/Mar/2007:19:04:56 -0600] cupsdAuthorize: No authentication data
provided.
D [02/Mar/2007:19:04:56 -0600] Get-Printer-Attributes
ipp://localhost/printers/samsung
D [02/Mar/2007:19:04:56 -0600] cupsdProcessIPPRequest: 10 status_code=0
(successful-ok)
D [02/Mar/2007:19:04:56 -0600] cupsdReadClient: 10 GET
/printers/samsung.ppd HTTP/1.1
D [02/Mar/2007:19:04:56 -0600] cupsdAuthorize: No authentication data
provided.
D [02/Mar/2007:19:04:56 -0600] write_file: 10 file=9
D [02/Mar/2007:19:04:56 -0600] cupsdAcceptClient: 9 from localhost (Domain)
D [02/Mar/2007:19:04:56 -0600] cupsdReadClient: 9 POST / HTTP/1.1
D [02/Mar/2007:19:04:56 -0600] cupsdAuthorize: No authentication data
provided.
D [02/Mar/2007:19:04:56 -0600] Get-Jobs ipp://localhost:631/printers/samsung
D [02/Mar/2007:19:04:56 -0600] cupsdProcessIPPRequest: 9 status_code=0
(successful-ok)
D [02/Mar/2007:19:04:56 -0600] cupsdCloseClient: 9

Why is it complaiing that you have no default printer?  The
authentication issue looks like a bigger problem though.  What is your
cupsd.conf got in it and how does it compare to your i386 machine's copy
of the file?

--
Len Sorensen


--



Reply to: