[Xprint] printing PCL
Roland Mainz
roland.mainz at nrubsig.org
Wed Jan 19 03:57:05 EST 2005
David Schweiger wrote:
>
> xprint at mozdev.org schrieb am 02.11.04 13:41:49:
> >
> > x.org 6.8.1
> > I copied the HPLJ4050-PS model configuration to HPLJ4050-PCL5 and
> > changed instances of "POSTSCRIPT 2" to "PCL 5".
> >
> > When I start Xprt, I get:
> >
> > No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes = 8
> > No matching visual for __GLcontextMode with visual class = 2 (32773), nplanes = 8
> > No matching visual for __GLcontextMode with visual class = 4 (32770), nplanes = 8
> > No matching visual for __GLcontextMode with visual class = 4 (32770), nplanes = 8
> > No matching visual for __GLcontextMode with visual class = 4 (32770), nplanes = 8
> > No matching visual for __GLcontextMode with visual class = 4 (32770), nplanes = 8
> > No matching visual for __GLcontextMode with visual class = 5 (32771), nplanes = 8
> > No matching visual for __GLcontextMode with visual class = 5 (32771), nplanes = 8
> > No matching visual for __GLcontextMode with visual class = 5 (32771), nplanes = 8
> > No matching visual for __GLcontextMode with visual class = 5 (32771), nplanes = 8
> > No matching visual for __GLcontextMode with visual class = 0 (32775), nplanes = 8
>
> Something is going horribly wrong with the OpenGL support ;-(
No, it just means that the OpenGL engine can't find a matching GL visual
for that Xserver visual. It's a warning, nothing fatal.
> > When I try to print (xphelloworld), I get:
> >
> > xphelloworld: Error: no DPI set (or no default DPI provided by server) while trying to print.
>
> Well, that's more a problem of xphelloworld not being able to pick a resolution itself when there is no default set by the printer. I remember it has an oprtion to set the resolution via command line (like Mozilla now as a GUI item for resolution/quality in the print options dialog) but I do not remember the details.
See "xphelloworld" usage:
-- snip --
% xphelloworld -h
usage: ./xphelloworld [options]
-printer printernname printer to use
-printargs args [ arg=value , ... ]
args: tofile=<filename>
papersize=<paper name>
orientation=<orientation>
resolution=<DPI>
plex=<plex>
title=<string>
-- snip --
> > Is printing to PCL supposed to be working?
>
> Half and half. I remember that someone said here that we're waiting for HP to donate their PCL driver code back to XOrg/Xprint.org but I don't know what the status currently is. PCL printing works from the HP machines but the PCL drivers in the XOrg tree are buggy. Very buggy. :-((
Maybe Paul can clarify that situation a little bit (CC:'ing him for
that) ...
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
More information about the Xprint
mailing list