Tech Support > Operating Systems > Linux / Variants > postscript printing problem.
postscript printing problem.
Posted by Sean G Gilley on October 16th, 2003


Using RedHat 8 (I think, it's either 8 or 9). We have an HP Laserjet
8000 on the network.

I've set up the printer via the printconf tool. Both plain text and
postscript test pages print fine.

From the command line, 'lpr /etc/hosts' and 'lp /etc/hosts' works just
fine. However, if I try to print a postscript file using either lp
or lpr, nothing seems to happen. An lpq seemingly shows the same
behavior, but nothing ever comes out of the printer.

Any ideas?

Thanks,

Sean.
s l g i l l e y a t y a h o o d o t c o m

Posted by Paul Lutus on October 16th, 2003


Sean G Gilley wrote:

There's something in my barn. It's either a horse chestnut, or a chestnut
horse. Doesn't matter, does it?

Read your logs?

--
Paul Lutus
http://www.arachnoid.com


Posted by Sean G Gilley on October 17th, 2003


Paul Lutus <nospam@nosite.zzz> wrote in message news:<votuulfvhe6a1f@corp.supernews.com>...
Sigh. The difference between RH 7, 8, and 9, in lpd is, at best minimal.
Want to know my kernel level? I really think it's 8, because I don't believe
nine had come out when I loaded this system. But I also don't believe
it matters much, if at all. Especially in this problem as I've described
it.

I run a heavily modified RH6 at home, RH9 at home, and this version at
work. I'm sorry if I couldn't figure out which it is. If it matters
that much, tell me why.

Yeah, well, if the logs had said anything pertinent I would've mentioned
it. The log file listed on the man page doesn't exist. The log file
created when I originally set up the printer has length zero. Nothing
in /var/spool/lpd/lj8000 has information except the two status* files,
and they repeat the same information that an lpq gives.

Maybe I should start adding my Linux Counter user ID to these postings
(from 1994) so that people won't treat me like an idiot like this person
did.

Sean.
s l g i l l e y a t y a h o o d o t c o m

Posted by Paul Lutus on October 17th, 2003


Sean G Gilley wrote:

Untrue, but if you believe this, then you have what can fairly be described
as a minimal problem, one not meriting the posting of accurate, complete
information.

No, you would have said "I already read the logs". But if you had done that,
you would also have taken the time to post all the relevant information.

--
Paul Lutus
http://www.arachnoid.com


Posted by Bill Unruh on October 17th, 2003


uem@mycroft.cmhnet.org (Sean G Gilley) writes:

]Paul Lutus <nospam@nosite.zzz> wrote in message news:<votuulfvhe6a1f@corp.supernews.com>...
]> Sean G Gilley wrote:
]>
]> > Using RedHat 8 (I think, it's either 8 or 9).
]>
]> There's something in my barn. It's either a horse chestnut, or a chestnut
]> horse. Doesn't matter, does it?

]Sigh. The difference between RH 7, 8, and 9, in lpd is, at best minimal.
]Want to know my kernel level? I really think it's 8, because I don't believe
]nine had come out when I loaded this system. But I also don't believe
]it matters much, if at all. Especially in this problem as I've described
]it.

]I run a heavily modified RH6 at home, RH9 at home, and this version at
]work. I'm sorry if I couldn't figure out which it is. If it matters
]that much, tell me why.

]> > From the command line, 'lpr /etc/hosts' and 'lp /etc/hosts' works just
]> > fine. However, if I try to print a postscript file using either lp
]> > or lpr, nothing seems to happen. An lpq seemingly shows the same
]> > behavior, but nothing ever comes out of the printer.

Redhat sends the files to a filter in /var/spool/lpd/lp/filter
which interprets the file type and decides what to do with it.
If it cannot figure out what to do, it usually just prints it. In your
case, since your pritner probably is not a postscript printer, it will
usually send the file to ghostscript to interpret and send to the
printer. If you do not have ghostscript, or your ghostscript is broken
in some way, when the filter calls ghostscript, it will die since there
is nothing to call.

So, try to figure out what /var/spool/lpd/lp/filter does to your file.

You can set options in the file to have it put out debugging ingo into
/tmp. (NOte this may well have changed in later versions of Redhat. It
is ALWAYS useful to tell us what version of the OS you run, as things do
change.)


Similar Posts