A couple of hours ago I tried to print to my HP laserjet network printer, and it failed, demanding I change the paper to A4. I have no A4, only letter. So, I cycled the printer power to make that A4 demand go away. Now it won't even try to print from SuSE any more, even after rebooting and cycling the printer power. It worked several hours ago, before that one job demanded the A4 paper. OS/2 has no problem printing to this printer even now. I opened first the printing manager, and found that all jobs were queued. I tried to get all jobs moved to the printer, but nothing happens. I tried upping priority, but no change. Then I closed the printing manager and opened KJobViewer. It looks and fails about the same, and also fails to move any jobs from the /var/spool/cups to the printer. I deleted all jobs, then closed KJobViewer, then went to var/spool/cups and deleted everything that remained. Then I tried printing a new job, but that too gets stuck in the queue and won't come out. Job report shows job state 0x3, no-hold, and printer-stopped. Selecting "print" from job report just adds another copy to the queue. How do I get it to print again? Once that's done, where are all the places I need to go to make sure A4 is never requested again? -- "All have sinned & fall short of the glory of God." Romans 3:23 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/
On 20/05/06 22:10, Felix Miata wrote:
A couple of hours ago I tried to print to my HP laserjet network printer, and it failed, demanding I change the paper to A4. I have no A4, only letter. So, I cycled the printer power to make that A4 demand go away. Now it won't even try to print from SuSE any more, even after rebooting and cycling the printer power. It worked several hours ago, before that one job demanded the A4 paper. OS/2 has no problem printing to this printer even now. I opened first the printing manager, and found that all jobs were queued. I tried to get all jobs moved to the printer, but nothing happens. I tried upping priority, but no change. Then I closed the printing manager and opened KJobViewer. It looks and fails about the same, and also fails to move any jobs from the /var/spool/cups to the printer. I deleted all jobs, then closed KJobViewer, then went to var/spool/cups and deleted everything that remained. Then I tried printing a new job, but that too gets stuck in the queue and won't come out. Job report shows job state 0x3, no-hold, and printer-stopped. Selecting "print" from job report just adds another copy to the queue. How do I get it to print again?
I'm not clear if you restarted cups at any point. If the default papersize is still letter in the printer definition, this should clear up the problem. First, though, delete any old print jobs to make sure none of them are going to ask for A4. Setting the pagesize in Yast is a complete PITA -- Yast/Hardware/Printer/twirl thumbs a bit while it finishes initializing the configuration; then for an existing printer, click the "Change" button, highlight the printer, click "Edit", highlight "Printing filter settings", click "Edit", highlight "Media size" in the top window, then select "Letter" in the bottom. Click "Next", click "OK". Finally (!!) click "Finish". Easier is just to add yourself to the cups admin list. As root, in a console run "lppasswd -a <username>", resulting in a prompt for a password followed by a prompt to verify it. The password must be 6 characters long and must contain at least one letter and one number. Then, as that user, connect to the cupsd admin port, http://localhost:631. (It is not necessary to restart cups after creating the cups account for this user.) Click on "Printers", black button along the top row of the page. Find the appropriate printer, and click on the "Configure printer" button; you will be prompted for a username/password, which you have just added with lppasswd. Once you are authenticated, select the proper mediasize from the drop-down menu, click "Continue" to finish the task.
Once that's done, where are all the places I need to go to make sure A4 is never requested again?
Perhaps the answer to this is "everywhere you want to print". There is a paper size selection in the KDE Control Center, which in KDE 3.4.0 is under Regional/Country/Other (maybe this is one of the very few things that does not move around between different versions of KDE). I don't use Gnome, so I do not know how/where to set the paper size there. I believe Mozilla applications take their information directly from cups, but please do not quote me on that. OOo also probably uses its own setting, but I haven't used that in so long I do not remember. If you are really brave, you could edit the printer definition file directly; for recent versions of cups, these are stored in /etc/cups/ppd. If you want to do this (eg. to delete any references to A4), there are several different sections (4, I believe) where information is stored about various paper formats. Each section has its own default, so if you are editing this file, make sure to set them all to the same page format, eg. Letter. Restart cups after you are done. This may or may not get rid of A4 everywhere. Please do not blame me if you do this and cups breaks :-)
Hello, On May 21 00:10 Felix Miata wrote (shortened):
... I cycled the printer power ... ... Then I tried printing a new job, but that too gets stuck in the queue and won't come out. Job report shows job state 0x3, no-hold, and printer-stopped. How do I get it to print again?
See http://en.opensuse.org/SDB:CUPS_in_a_Nutshell "The Backends" Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2006-05-21 at 00:10 -0400, Felix Miata wrote:
out. Job report shows job state 0x3, no-hold, and printer-stopped. Selecting "print" from job report just adds another copy to the queue. How do I get it to print again?
Read Johannes answer. Probably the quick way will be: http://localhost:631/printers Select "Start Printer" (the button that replaces "Stop Printer").
Once that's done, where are all the places I need to go to make sure A4 is never requested again?
Next time, stop the job on the computer, don't power cycle the printer. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFEcYhFtTMYHG2NR9URAinSAJ9w2AgM3bjnKwvw/g1QsNhFgMI8wgCdHPOd vKqEDLKf3QEM438CiXFkOpk= =Fxhj -----END PGP SIGNATURE-----
participants (4)
-
Carlos E. R.
-
Darryl Gregorash
-
Felix Miata
-
Johannes Meixner