LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-16-2007, 01:42 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Fail to print


Hi folks,

FC6
HP Deskjet 5740-USB printer
GnomeDesktop

My printer can't print document but it printed "testpage". I have the printer properly setup, http://localhost:631 showing the printer "CUP/HPDeskjet_5740"and CUP/Cups-PDF".

On terminal ran;
# lpq
Code:
lpq: error - no default destination available.
Last time, several days ago, I encountered the same problem. I can't remember exactly how I fixed it. What I can remember is "I have to delete the printer and reinstall it". It seems to me each time I have to repeat this step. But this time it fails even after delete/reinstall the printer.

Please help. TIA


B.R.
satimis
 
Old 03-16-2007, 08:38 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Have you tried configuring the printer from the Fedora GUI setup?

Have you tried printing from any applications?
 
Old 03-16-2007, 09:01 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by pixellany
Have you tried configuring the printer from the Fedora GUI setup?

Have you tried printing from any applications?
Hi pixellany,

Whether you meant on GnomeDesktop (in my case)
System --> Administration --> Printing

Yes, I tried it. I can print a testpage but not a .pdf document.

This is not the first time I encountered the same problem, at least 2~3 times before. After working around deleting the printer and reinstalling the printer several times I can get the printer to print again.

$ lpq
showing the job number.
NOT like now.

I do hope to find out the cause, not coming to the same problem again in future. I trust if deleting the printer and reinstalling the printer the 2nd time, I can get the printer work again.

B.R.
satimis
 
Old 03-16-2007, 09:20 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
What applications are you printing from? eg what app did you use to try and print the .pdf?
 
Old 03-16-2007, 09:32 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by pixellany
What applications are you printing from? eg what app did you use to try and print the .pdf?
Sorry I don't follow.

I just clicked the .pdf file on "Home Folder" to start it and print the file by clicking;
File --> Print

It worked for me for prolonged time. I have Adobe Reader installed on FC6.

Tks.


B.R.
satimis

Last edited by satimis; 03-16-2007 at 09:34 AM.
 
Old 03-16-2007, 10:52 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
The Linux version of Acroread does not give a dialog to choose printers--it just shows "lp" command--to which you can add options. Perhaps your printer setup is not assigning the default correctly???

Try:

Printing a simple text file from the CLI using "lp <filename>"

Printing from some other application--eg OpenOffice or one of the GUI text editors.
 
Old 03-16-2007, 11:45 AM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by pixellany
The Linux version of Acroread does not give a dialog to choose printers--it just shows "lp" command--to which you can add options. Perhaps your printer setup is not assigning the default correctly???

Try:

Printing a simple text file from the CLI using "lp <filename>"

Printing from some other application--eg OpenOffice or one of the GUI text editors.
Hi pixellany,

GnomeDesktop


I re-setup 2 printers with different Device URL

Printer-1
Device URI: hp:/usb/Deskjet_5700?serial=MY4B5131V9049M

Printer-2
Device URI: lpd://host/queue

On Firefox stared yahoo mail and clicked a mail --> printabe view
File --> Print
Now this time printer-1 can print the doc but not printer-2.


This discovery amazes me. Last time I setup the printer according to Printer-l Device URI. Because it did not print when I started FC6. Then I modified the printer according to Printer-2 Device URI. It can't print. I created a new printer as Printer-1. It printed.


On Terminal
$ lp burning_dvd.txt
Code:
lp: Error - no default destination available.
B.R.
satimis
 
Old 03-16-2007, 12:30 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
satimis;

As of right now, you know more about how this works than I do....

somewhere there is a way to set the default which lp looks for?? (Time for the CUPS manual maybe...)
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
EPSON Stylus Photo R200 - CUPS+Gimp-Print v4.2.7 does not print anymore Harp00 Linux - Newbie 1 05-24-2006 10:59 AM
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 04:15 PM
Print jobs repeat infinetly on lpd printer attached to axis print server linux-who? Linux - Hardware 0 03-28-2006 11:24 AM
HP PS7150: text doesn't print in OOO and Abiword!, but I can print test page & w MzFF gabba Mandriva 6 10-31-2005 11:10 AM
Mozilla problems: Print/print preview doesn't work, not recording sites in history... andy_g_gray Linux - Software 3 01-23-2004 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:51 AM.

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
Open Source Consulting | Domain Registration