My work has a combo copy-machine/fax/printer that works great with windows (and seems really fast), but I can't seem to get it working properly with debian/cups.
The printer model is: "Canon iR C4580F" I managed to locate it on the net, and configured it with cups' webpage-configuration stuff, and even found a .ppd file for it on Canon's website (no easy task, as naturally they distribute everything as windows installable archives...). The printer seems to use the "IPP" protocol, with a URL of "ipp://dhypr434:631/ipp" (I've attached the /etc/cups/printers.conf entry to this message). The problem is that when I print to this printer, while it _does_ print something, it prints the _postscript souce code_ for whatever I'm trying to print! This seems to happen no matter what input I feed cups (postscript file, pdf file, ...) or what frontend I use (lpr command from .ps file, mozilla print command, evince print command etc). So, for instance, a very simple 1 page postscript file (see "test.ps" attached to this message) results in the printer printing about 8 pages of postscript source code. Upon examining the postscript source code thus printed, I see two things: (1) It's obviously the same postscript I fed it, but has been "augmented" by some filter along the way, fleshing out the various magic comments and adding some setup code etc. I assume cups does this, but I don't think it's the problem. (2) The source code is "stair-stepped", with newlines only moving vertically. This suggests that whoever converted the postscript into text for printing was expecting a windows line-ending convention. I suppose (2) could be part of the problem, if somebody along the way is expecting postscript using windows line-endings, and gets confused because it gets only unix-style newlines. If anybody has read this far, do you have any suggestions on where I could look for the problem? [Using wireshark, I can see lots of negotiation between cups and the printer when I print something, but I'm not really sure what's correct and what's not...] Thanks, -Miles test.ps:
test.ps
Description: test.ps
cups printer.conf entry:
dhypr434.xml
Description: cups printers.conf for dhypr434
-- The secret to creativity is knowing how to hide your sources. --Albert Einstein