LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2005, 07:26 PM   #31
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910

Quote:
i`ve got "LogLevel info"
Quote:
i did so!
stopped CUPS, changed to debug2, started CUPS, lpr command
i did all like you said or not ........?
Can I see the output of egrep -C 3 then, please?



Cheers,
Tink
 
Old 09-27-2005, 07:36 PM   #32
chstani
Member
 
Registered: Aug 2005
Posts: 42

Original Poster
Rep: Reputation: 15
oh, that was terminal command, i just manualy find line with an e in that error_log
so, when "LogLevel info"
Quote:
I [28/Sep/2005:02:31:38 +0000] LoadPPDs: Read "/etc/cups/ppds.dat", 13 PPDs...
I [28/Sep/2005:02:31:38 +0000] LoadPPDs: No new or changed PPDs...
I [28/Sep/2005:02:31:38 +0000] Full reload complete.
E [28/Sep/2005:02:31:48 +0000] print_job: resource name '/printers/1' no good!
and when "LogLevel debug2"
Quote:
d [28/Sep/2005:02:34:25 +0000] print_job(0x40342008[5], ipp://localhost:631/printers/1)
D [28/Sep/2005:02:34:25 +0000] print_job: auto-typing file...
D [28/Sep/2005:02:34:25 +0000] print_job: request file type is text/plain.
E [28/Sep/2005:02:34:25 +0000] print_job: resource name '/printers/1' no good!
d [28/Sep/2005:02:34:25 +0000] send_ipp_error(0x40342008[5], 406)
D [28/Sep/2005:02:34:25 +0000] Sending error: client-error-not-found
D [28/Sep/2005:02:34:25 +0000] ProcessIPPRequest: 5 status_code=406
 
Old 09-27-2005, 07:44 PM   #33
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Rrrright. Now lets start again :}

That printer is connected locally to a USB port. Why are you
pointing CUPS at an IPP share? It should say something like:

usb:/dev/usb/lp0
instead of
ipp://localhost:631/printers/1


Cheers,
Tink
 
Old 09-27-2005, 08:03 PM   #34
chstani
Member
 
Registered: Aug 2005
Posts: 42

Original Poster
Rep: Reputation: 15
how i can change it then??
because i added my printer in KDE control center: those options are
1. parallel/serial/usb,
2.IPP/HTTP
3.other

so i chose first, and there was my printer at USB list, so i chose it, and that all.
i tried to chose something else now, but how i can see i have got "URL: ipp://pocketlinux:631/printers/MY-PRINTER

Last edited by chstani; 09-27-2005 at 08:04 PM.
 
Old 09-27-2005, 09:02 PM   #35
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Use CUPS own interface, then. I don't use KDE or their
printer-tool, so can't really tell you anything about it.

Point any old browser at http://localhost:631/printers ,
click on "modify printer" and on the second page change
the appropriate bits to what I suggested.


Cheers,
Tink
 
Old 09-28-2005, 03:28 AM   #36
chstani
Member
 
Registered: Aug 2005
Posts: 42

Original Poster
Rep: Reputation: 15
probably i miss something,
so what i do,
1. open in Firefox http://localhost:631/printers
2. click on "printers", then on "modify printer"
3. Name: MY-PRINTER
Location: usb:/dev/usb/lp0
Description: EPSON Stylus C42UX
4. press Continue
5. Device --> i open menu and choce "USB Printer #1 (EPSON Stylus C42)"
6. Continue
7. Make: EPSON
8. Continue
9. Model: EPSON Stylus Color Series CUPS v1.1 (en)
10. Continue
Quote:
Printer MY-PRINTER has been modified successfully.
What I did wrong or is there something that i miss?
 
Old 09-28-2005, 04:18 AM   #37
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Looks correct to me - are you still getting the same error?


Cheers,
Tink
 
Old 09-28-2005, 04:57 AM   #38
chstani
Member
 
Registered: Aug 2005
Posts: 42

Original Poster
Rep: Reputation: 15
yes!
is there a way i can change ipp://localhost:631/printers/1 to usb:/dev/usb/lp0 in terminal?

Last edited by chstani; 09-28-2005 at 04:58 AM.
 
Old 09-28-2005, 05:08 AM   #39
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Yeah.
man lpadmin

For usage examples read "CUPS Software Administrators Manual"
on http://localhost:631/documentation.html


Cheers,
Tink
 
Old 09-28-2005, 01:48 PM   #40
chstani
Member
 
Registered: Aug 2005
Posts: 42

Original Poster
Rep: Reputation: 15
i read that all, but i don`t get it
and that is this:
Quote:
lpadmin [ -E ] [ -h server ] -d destination
lpadmin [ -E ] [ -h server ] -p printer option(s)
lpadmin [ -E ] [ -h server ] -x destination
which command should i type in terminal
i`m newbie in linux world!
 
Old 09-28-2005, 02:28 PM   #41
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
http://localhost:631/sam.html
Code:
Run the lpadmin command with the -p option to add a printer to CUPS:

/usr/sbin/lpadmin -p printer -E -v device -m ppd ENTER

For a HP DeskJet printer connected to the parallel port this would look like:

/usr/sbin/lpadmin -p DeskJet -E -v parallel:/dev/lp1 -m deskjet.ppd ENTER

Similarly, a HP LaserJet printer using a JetDirect network interface at IP 
address 11.22.33.44 would be added with the command:

/usr/sbin/lpadmin -p LaserJet -E -v socket://11.22.33.44 -m laserjet.ppd ENTER

As you can see, deskjet.ppd and laserjet.ppd are the PPD files for the HP DeskJet 
and HP LaserJet drivers included with CUPS. You'll find a complete list of PPD files
and the printers they will work with in Appendix C, "Printer Drivers".
And sorry, I'm not going to read Appendix C to find your
model. Another alternative for you may be to download
foomatic, and use foomatic-configure. Foomatic has a
much bigger printer-database and will allow you to choose
from a very rich list of models (foomatic can configure
CUPS printers very well).


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 05:15 PM
HP PS7150: text doesn't print in OOO and Abiword!, but I can print test page & w MzFF gabba Mandriva 6 10-31-2005 12:10 PM
Can't print to print server (RH8 + LPRng) ivanscheers Linux - Networking 1 10-08-2004 07:37 AM
OfficeJet G85, CUPS Web based Admin test print works, lpr/lp dose not. ptal-print OK. NLR Linux - Hardware 2 09-20-2004 03:59 PM
Mozilla problems: Print/print preview doesn't work, not recording sites in history... andy_g_gray Linux - Software 3 01-23-2004 07:27 AM


All times are GMT -5. The time now is 03:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration