[Xprint] xplsprinters OK but xphellloworld fails

Gernot Hassenpflug gernot at kurasc.kyoto-u.ac.jp
Wed Sep 14 14:49:14 EDT 2005


Dear list-members,

I am using SPARC Solaris 2.8 with GISWXprint. Before now, I used the 
downloadable tarball for Solaris with the run_xprint_tarball.sh script 
as normal user. This method worked well, using Xprt and the lpr system 
(we use lpc control-based printing). However, I wished to use the 
GISWxprint package, so I patched my Solaris box ("fukao21") with the 
relevant SunSolve patch clusters and installed. So far so good. After 
reboot script /etc/init.d/xprint starts Xprt.

Mozilla and Firefox show me a long list of printers in the print dialog 
select box. However, nothing actually prints (except the 
xp_ps_spooldir_tmp_Xprintjobs at fukao21:33, and printing to file). I get 
the error message "psfukaop1: unknown printer". On the other hand, lpc 
shows me that the printers are enabled, and furthermore I can print with 
lpr command to any printer. I tried the xplsprinters command and I see 
all the printers listed, such as psfukaop1 at fukao21:33, and 
xp_ps_spooldir_tmp_Xprinterjobs at fukao21:33.

However, typing "xphelloworld -printer psfukaop1" gives the same error 
as when I try to print with Mozilla or Firefox. It is true that on this 
Solaris setup lpc is used instead of lpstat  to get the list of 
available printers from /etc/printcap (and not from /etc/printers.conf), 
but Xprint >=009 apparently has the ability to use a number of commands 
and select the one which gives a valid spool as output: as indicated by 
the printer list I get in Mozilla.

The old method of using the tarball also no longer works now! So I 
suspect that the patches also managed to change something that Xprt 
expects to find, which was OK before....

So I respectfully ask - where can I continue looking for the issue here? 
I do not lay the blame at the feet of Xprt, since the older tarball 
version worked before


More information about the Xprint mailing list