[Xprint] Blank pages on Canon ir3300i

Alf B Lervaag alfborge at stud.ntnu.no
Tue Jan 25 16:35:49 EST 2005


I've been trying to get printing from firefox 1.0 to work in Solaris 9.
This proved to be difficult, since all I can print is blank pages.

The printer I use is a Canon ir3300i, so it should handle postscript
level 2.  Sending a regular postscript file to the printer works
perfectly.  

Using the "xp_ps_spooldir_tmp_Xprintjobs" and selecting "print to file"
on my test page [1] generates a postscript file [2] that displays ok in
gv.  Sending the postscript file to the printer using lpr makes the
printer spit out a blank sheet of paper.

Since I suspected that the problem was related to the fonts, I edit the
postscript file by hand and remove the font definitions in it, resulting
in [3].  The edited file print the text, but the resulting page is not
formatted correctly.

If I try the same procedure with [4], the result is different.  The
original file [5] prints a blank page, as does the edited file [6].  I
suspect that this is because the printer doesn't have the font that is
specified in the postscript file.

Removing the font definitions was done with the command:
  $ vim -c "g/BeginFont/.,/EndFont/d" \
        -c "wq test-txt-edited.ps" test-txt-orig.ps

I hope someone can make sense out of this problem and help me fix it.

[1]. http://www.stud.ntnu.no/~alfborge/test.txt
[2]. http://www.stud.ntnu.no/~alfborge/test-txt-orig.ps
[3]. http://www.stud.ntnu.no/~alfborge/test-txt-edited.ps
[4]. http://www.stud.ntnu.no/~alfborge/test.html
[5]. http://www.stud.ntnu.no/~alfborge/test-html-orig.ps
[6]. http://www.stud.ntnu.no/~alfborge/test-html-edited.ps

-- 
Alf B Lervåg


More information about the Xprint mailing list