Bug 239054 - Xerox Phaser 6300 doesn't print
Summary: Xerox Phaser 6300 doesn't print
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Final
Hardware: x86 SUSE Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Michal Zugec
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords: printing
Depends on:
Blocks:
 
Reported: 2007-01-25 22:24 UTC by Shawn Sonnentag
Modified: 2007-01-30 14:53 UTC (History)
2 users (show)

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/var/log/YaST2/y2log (360.74 KB, application/x-bzip)
2007-01-29 13:59 UTC, Shawn Sonnentag
Details
/etc/cups tar ball (8.92 KB, application/x-bzip)
2007-01-30 14:22 UTC, Shawn Sonnentag
Details
/var/log/cups/*_log (4.70 KB, application/x-bzip)
2007-01-30 14:43 UTC, Shawn Sonnentag
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Sonnentag 2007-01-25 22:24:31 UTC
I have a clean installation of SuSE 10.2, with all available patches installed.  I can configure printers, printers are detected, but nothing prints.  Everything acts like normal, but nothing is sent to the printers.  I've tried both USB and direct network (TCP) printing.  I've been using SuSE for many years now and CUPS has worked well, what is broken all of a sudden?

Help!
Comment 1 Shawn Sonnentag 2007-01-25 22:28:18 UTC
HARDWARE: Intel Core 2 Duo
OS: SuSE 10.2 32-bit
Comment 2 Cyril Hrubis 2007-01-26 10:48:57 UTC
Please attach y2logs. If you are in doubt please follow:

http://en.opensuse.org/Bugs/YaST


Thanks!
Comment 3 Shawn Sonnentag 2007-01-29 13:59:58 UTC
Created attachment 115893 [details]
/var/log/YaST2/y2log
Comment 4 Shawn Sonnentag 2007-01-29 20:15:22 UTC
NOTE:  When I send a job to the printer (Xerox Phaser 6300 using Tektronix Phaser 850 drivers, which has worked for the past 3 or so SuSE distros) the printer briefly wakes up indicating that SOMETHING hit the printer, but the message panel never says anything about a job and nothing prints.  I've tried this on two separate Phaser 6300 printers with the same results.  Numerous other SuSE 10.1 systems in the area all continue to print normally using these settings.
Comment 5 Michal Zugec 2007-01-30 09:00:45 UTC
could you attach also content of /etc/cups/* as a tarball?
Comment 6 Michal Zugec 2007-01-30 09:02:17 UTC
decreasing of serverity to major (no data crash, or coruption)
Comment 7 Johannes Meixner 2007-01-30 09:37:03 UTC
Please provide exact facts about your printer setup.
Otherwise it is totally impossible for us to have a chance
to reproduce your problem.

I changed the subject from "SuSE 10.2 - Can't Print - CUPS is Broken"
to something meaningful: "Xerox Phaser 6300 doesn't print".

How exactly is your printer connected?
I.e. which exact DeviceURI do you use?
The DeviceURI is in /etc/cups/printers.conf

Which exact PPD file (i.e. which exact printer driver) do you use?
The PPD file is /etc/cups/ppd/<queuename>.ppd

What is in the CUPS error_log - see
http://portal.suse.com/sdb/en/2004/05/jsmeix_print-cups-in-a-nutshell.html
---------------------------------------------------------------------------
If problems are encountered:

1. Set the "LogLevel debug" in /etc/cups/cupsd.conf.
2. Stop cupsd.
3. Move /var/log/cups/error_log* to another location (or delete it)
   in order to avoid having to search through gigantic log files.
4. Start cupsd.
5. Retry the action leading to the problem.
6. Now /var/log/cups/error_log* contains many messages that are useful
   for troubleshooting. 
---------------------------------------------------------------------------

Attach the PPD file and the error_log for exactly one failed printout
as mime type "text/plain" to this bug.
Comment 8 Klaus Singvogel 2007-01-30 09:52:57 UTC
Additional question: did you install 10.2 from scratch or did you do an update?
Please answer above questions (comment#7) too / attach requested files.
Comment 9 Shawn Sonnentag 2007-01-30 14:22:21 UTC
Created attachment 116224 [details]
/etc/cups tar ball
Comment 10 Shawn Sonnentag 2007-01-30 14:42:08 UTC
Printer: Xerox Phaser 6300
Static TCP - 128.37.4.200
Netmask: 255.255.255.0
Gateway: 128.37.4.254

Spool is named: c32 (short for color printer in room 32)
Port number: 9100

Printer works fine from numerous SuSE 10.1 systems.

Printer is also connected directly to my 10.2 system via a USB 2.0 port.  SuSE 10.2 detected the USB connection and added the printer to the Cups configuration.

SuSE does not contain a specific Xerox Phaser 6300 driver.  I'm using a Tektronix Phaser 850 driver that SuSE DOES include with the distribution.

The /etc/cups/ppd/[queuename].ppd files are included in the tarball above.


----------------

OK, here's what I did:
  deleted all configured printers
  stopped cupsd
  removed the /var/log/cups log files
  restarted cupsd
  added 1 direct connection TCP network printer
  tried printing 1 page from Mozilla Firefox (Foxnews.com)

The printer spooled up for a second and then went idle again.

As far as I can tell the logs say the job was created and sent successfully to the printer.
Comment 11 Johannes Meixner 2007-01-30 14:42:52 UTC
We don't have a Tektronix Phaser printer therefore we cannot reproduce
it 100% but I did set up a queue "p850" which prints into a file
with your phaser6300n.ppd

I printed with "echo Hello | lp -d p850" and I got no errors in /var/log/cups/error_log and the file contains good looking PostScript
which I can display without errors with "gs" and which prints well
on my HP LaserJet 1220.

Therefore we need your /var/log/cups/error_log for exactly one failed
attempt.

By the way1:
As your printer is a PostScript printer, why don't you use a PPD
from the manufacturer of this printer which should match exactly
to your model?

By the way2:
Did you ever try out the "PreFilter/GhostScript pre-filtering"
option in your phaser6300n.ppd to enforce PostScript Level1 or Level2?
For background information see
http://en.opensuse.org/SDB:Using_Your_Own_Filters_to_Print_with_CUPS
"PostScript Preprocessing with Ghostscript on PostScript Printers"
Comment 12 Shawn Sonnentag 2007-01-30 14:43:28 UTC
Created attachment 116237 [details]
/var/log/cups/*_log

These are the cups log files that were created after the aforementioned steps were taken.
Comment 13 Johannes Meixner 2007-01-30 14:51:46 UTC
When the job was created and sent successfully to the printer,
it is the printer itself which cannot process the PostScript.

To verify, enable PostScript error messages in the printer
(see the printer's manual).

I assume enforce Level1 via the "PreFilter/GhostScript pre-filtering"
may help.

For testing print simple ASCII text via comand line like

echo Hello | lp -d phaser6300n -o PreFilter=Level2
echo Hello | lp -d phaser6300n -o PreFilter=Level1
echo Hello | lp -d c32 -o PreFilter=Level2
echo Hello | lp -d c32 -o PreFilter=Level1

Please provide a CUPS error_log and report if the "PreFilter" works.
Comment 14 Johannes Meixner 2007-01-30 14:52:13 UTC
Thanks for the CUPS error_log!
Comment 15 Shawn Sonnentag 2007-01-30 14:53:53 UTC
OK, now I feel like an idiot.  :-)

I didn't know how ppd files worked, how they were installed, or that manufacturers (Xerox) even provided them.  I downloaded the proper ppd file from Xerox and added the driver to cups' list of installed drivers and now the printer works fine.  Apparently the ppd file for the Tektronix Phaser 850 that had been working for a few years changed just enough to make it not work with the Phaser 6300 anymore.

Thanks for all your help guys.

Shawn