Re: CUPS printer hangs on remote print. Suggestions? (long)



John,

Thanks for the reply.

On Sat, 16 Jun 2007 18:43:24 -0700, John Bowling <johnlb2002@xxxxxxx> wrote:
Frnak McKenney wrote:

My freshly-installed CUPS prints to an Ethernet-attached printer
just fine if the output comes from a (local) linux app. Print
jobs from another machine printed via Samba to the same CUPS
printer never complete.

<snip>

The printer for Linux, the Win2K development machine, and my OS/2
system 'office' is an Ethernet-attached Brother MFC-420CN (printer /
FAX / scanner). Under SuSE 9.1 I used the Brother-supplied Linux
drivers with CUPS; the only problem was that CUPS seemed to "time
out" on the Samba interface and needed to be restarted, especially
if the printer was powered down at the time.

With openSuSE 10.2 and the "latest" CUPS and Brother software I can
print with no problems from "local" Linux apps (e.g. those running
on 'manticore') such as 'gedit' (Gnome text editor) or 'Inkscape'
(vector graphics drawing).

<snip>
However, when I attempt to print from my 'office', my OS/2 machine,
every printout "hangs". The PostScript output (from an OS/2
Textronix Phaser 550 driver) makes it to 'manticore', a print job is
queued for the MFC420CN by CUPS, a spool file appears, the MFC420CN
reports "Receiving Data" on its LCD panel, and that's all.


If all of your computers are connected on the same LAN or subnet, they
should all be able to talk to the LAN printer directly. I'm using a
Lantronics print server with two printers and as many as 5 Linux and 3
Win machines all able to print on either without going through any
computer to get there.

Yup. The good news is that Brother offers drivers for Linux. The bad
news is that it doesn't offer drivers for OS/2. Hence the Postscript
driver on the OS/2 side.

The other problem may be in the actual data that reaches the printer.
If you send some printer formatted data out via samba to the printer
server on Linux, it will then go through the driver in Cups and get
converted into ??? and the printer can go crazy or reject it.

If it is Postscript coming through Samba, it needs to pass through Cups
with no changes. Same with some bit image of the page.

Well, it's Postscript in the CUPS spool file created by these "hanging"
jobs (see original post).

But... I don't know what the printer's _native_ "language" is: some
binary stream? Built-in postscript? I didn't see anything in the
MFC420CN docs, but somewhere I picked up the impression that it wasn't
Postscript.

Thank you. That's a good place to start looking.

The first solution is the easiest - never any dual formatting wierdness.

Agreed. Now if I can just find someone with the time and resources
who would stumble onto this posting and say to themselves "Wow! I
always wanted to write an OS/2 printer driver for the Brother MFC420CN!
This is the opportunity of a lifetime!" <grin!>

_Well_? I mean, it _could_ happen! <grin also!>

In any case, thanks for the feedback.


Frank McKenney, McKenney Associates
Richmond, Virginia / (804) 320-4887
Munged E-mail: frank uscore mckenney ayut minds pring dawt cahm (y'all)
--
ÿIf you're going through hell, keep going. -- Winston Churchill
--
.



Relevant Pages

  • Re: advice: writing a printer driver
    ... > very specialized vector graphics printer i am building. ... > have any info regarding postscript driver source code? ... Is there a single postscript driver? ... Linux apps emit postscript to the printer subsystem. ...
    (comp.os.linux.hardware)
  • Re: advice: writing a printer driver
    ... >> very specialized vector graphics printer i am building. ... >> have any info regarding postscript driver source code? ... Is there a single postscript driver? ... > Linux uses ghostscript to translate postscript to other printer ...
    (comp.os.linux.hardware)
  • Re: HP Deskjet
    ... on a networked windows machine. ... Are the other Linux programs sending text or a postscript type file? ... Double check the driver being used by Linux and its ...
    (alt.linux)
  • Re: need help regarding text printing on linux
    ... >>We need your help regarding the text printing on Linux system. ... >>We are developing thermal printer driver on Linux platform. ... > either understand postscript, or understand PCL. ... and PCL don't map well onto the simple built-in control languages. ...
    (uk.comp.os.linux)
  • Re: Suse 9.1 CUPS Samba Samsung GDI-driver printer and Windows
    ... > that uses a GDI driver and is attached to a suse 9.1/samba box, ... > Does samba need to be configured to print in RAW format? ... PostScript into the language your printer understands. ...
    (alt.os.linux.suse)