David Hudgens writes:

 > I executed a simple "lpr /etc/printcap" to test it and it printed the 
 > text just fine.  However, when I tried to print from StarOffice 5.1 
 > (only prints to postscript printers) or Netscape Navigator (graphical 
 > page), it printed what seems to look like the contents of a script 
 > (ghostscript I think).  Here is a sample of the text it printed:
 > 
 > %!PS-Adobe-3.0

It's printing the raw unfiltered Postscript.  PS is really a
programming language, and for some reason it's printing the source
code.  Probably because Magicfilter doesn't know what exactly to do
with it.

What you need to look at now is your file
/usr/lib/magicfilter/bj200-filter and make sure that it's set to deal
with Postscript files correctly.  It should have something like the
following line:

# PostScript
0       %!              filter  /usr/bin/gs  -q -dSAFER -dNOPAUSE -r360 -sDEVICE=bj200 
-dMonochromePrint=true -sOutputFile=- - 

Then, assuming you have that, you should make sure Ghostscript
(/usr/bin/gs) is working correctly.  Get Netscape to save a print a
page to a file (let's say ~/test.ps).  Then open the file in
Ghostscript to make sure everything's kosher.

$ gs test.ps

If you're in X, you should see the document pop up on your screen
(correctly formatted) shortly.

The main thing is to make sure that magicfilter's definition for your
printer knows to invoke Ghostscript, and with the correct arguements
(the ones listed above will probably work for you.)

If you're still having trouble write me back.

yours,

---Preston

---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to