[Xprint] printing PCL

John E Hein jhein at timing.com
Tue Jan 18 21:16:33 EST 2005


Roland Mainz wrote at 03:57 +0100 on Jan 19, 2005:
 > > When I try to print (xphelloworld), I get:
 > > 
 > > xphelloworld: Error: no DPI set (or no default DPI provided by server) while trying to print.
 > 
 > Either set the resolution via the "-printerargs resultion=600" option of
 > "xphelloworld" or edit ${XPCONFIGDIR}/C/print/attributes/document and
 > add a resolution entry for the HPLJ4050-PCL5 model (note that you can
 > only add values here which are supported by the PCL*-DDX, any
 > unsupported value will be dropped by the verication step in the driver).

Thanks for the reply.  I reported in a later email that I tried the
following (with the resolution entry you described for the model):

===========
HPLJ4050-PCL5.default-printer-resolution: 600

... in /usr/X11R6/lib/X11/xserver/C/print/attributes/document
===========

But I still got the same error message and no print.  Maybe 600 is not
supported - I could try a different value, but I'd only be guessing at
what might be supported.  I didn't see any error messages about that
specifically, however, and didn't crack the source yet.

That said, I haven't looked to see if there have been updates in CVS
since I tried this in October.

I'll try the 'resolution' option to xphelloworld and report back how
that goes and maybe try alternate res. values.


 > > Is printing to PCL supposed to be working?
 > 
 > The answer is somewhere between "yes" and "no". Development of the
 > current PCL driver versions in the Xorg tree has stopped a couple of
 > months ago in favor of waiting for the versions in HP/UX - we're hoping
 > that HP donates these drivers back to Xorg soon (the HP/UX drivers are
 > far more advanched than anything we have in the Xorg tree right now -
 > the HP/UX drivers are more or less perfect as they had five years of
 > active development and bugfixing to become mature...).

That'll be nice.  Is there an active dialog with someone at HP about
this?


More information about the Xprint mailing list