[Xprint] Xprint and Canon
Roland Mainz
roland.mainz at nrubsig.org
Thu Jun 24 09:54:52 EDT 2004
"Reinfried O. PETER" wrote:
>
> Peter Macarthur wrote:
> > --- "Reinfried O. PETER" <Reinfried.O.Peter at tugraz.at>
> > wrote: > Roland Mainz wrote:
> >> > replace
> >> > -- snip --
> >> > *default-printer-resolution: 300
> >> > -- snip --
> >> > with
> >> > -- snip --
> >> > *default-printer-resolution: 600
> >> > -- snip --
> >>
> >> Now it's printing - but only the last page!
> > What is the output of xplsprinters?
Peter:
I am not sure whether "xplsprinters" is really usefull in this case...
:)
> # ./xplsprinters
> ./xplsprinters: no printers found for printer spec "".
>
> # ./xplsprinters -printer canon
> ./xplsprinters: no printers found for printer spec "canon".
>
> ("canon" is one of the printers I've installed via CUPS,
> "lp" is the other one)
Erm... normally the XPSERVERLIST environment variable should be setup.
Which desktop do you use ? OpenWindows, CDE, Gnome, KDE ?
As workaround this should help:
% export XPSERVERLIST="$(/bin/sh /etc/init.d/xprint get_xpserverlist)"
What does "xplsprinters" output then ?
> >> When I print a longer document to the HP printer, it
> >> is
> >> e.g. about 4 pages - when I print it to the Canon, I
> >> get only page 4 - very strange ...
> > Maybe CUPS is now the problem - replacing the SYSV lp
> > with CUPS on Solaris is not recommended - it breaks
> > StarOffice and many other Solaris applications.
> >
> > Can you please run these three tests for us?
> > a1. print to file
> > a2. send that PS file to the printer via /usr/bin/lp
> > a3. how many pages do you get?
>
> that has been one of my first tests within the last days:
> my HP printer prints 2 pages, the Canon only the last one
>
> >
> > b1. print to file
> > b2. run ps2ps over the file
>
> I get an error:
>
> Error: /invalidfont in findfont
> Operand stack:
> 0 88 (Times-BoldISO) Times-Bold Font Times-Bold 421938
> Times-Bold --nostringval-- Courier NimbusMonL-Regu
> (NimbusMonL-Regu) NimbusMonL-Regu (NimbusMonL-Regu) NimbusMonL-Regu
> Execution stack:
> %interp_exit .runexec2 --nostringval-- --nostringval--
> --nostringval-- 2 %stopped_push --nostringval-- --nostringval--
> --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1
> 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval--
> --nostringval-- --nostringval-- 2 %stopped_push
> --nostringval-- --nostringval-- --nostringval-- --nostringval--
> 4 3 %oparray_pop 5 3 %oparray_pop --nostringval--
> --nostringval-- --nostringval-- --nostringval-- --nostringval--
> false 1 %stopped_push 8 4 %oparray_pop --nostringval--
> --nostringval-- --nostringval-- 5 -1 1 --nostringval--
> %for_neg_int_continue --nostringval-- --nostringval--
> Dictionary stack:
> --dict:1050/1417(ro)(G)-- --dict:0/20(G)-- --dict:206/302(L)--
> --dict:17/17(ro)(G)-- --dict:1050/1417(ro)(G)--
> Current allocation mode is local
> Last OS error: 2
> Current file position is 16797
> ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1
Can you please attach the PostScript job to your reply that we can have
a look at it (gzip'ed or bzip2'ed) ?
> > b3. send the output of ps2ps to /usr/bin/lp
> > b4. how many pages do you get?
>
> because of the error:
> 1 empty page on each of the printers
>
> >
> > c1. print using xphelloworld
> > c2. how many pages do you get with it?
> >
>
> # xphelloworld -printer canon
> xphelloworld: no printers found for printer spec "canon"
>
> So maybe i've misconfigurated something?
See above - XPSERVERLIST isn't set... ;-(
----
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