PostScript Files & HP DJ520 Printer

PostScript Files & HP DJ520 Printer

Post by Byron A Je » Sat, 06 Aug 1994 10:22:03



-Dear Linuxers,
-
-I have just bought an HP DeskJet 520 printer for my linux box. I couldn't get it
-to print PostScript files, no even with gs. Is there anybody who has succeded
-printing PostScript files on the same type of printer or who can help me out?
-
-Please reply with e-mail.

I decided to post because others might be interested.

I do just fine with GhostScript on my 520. Even wrote a little script that
runs gs and dumps to the printer. Here it is:
----------------- Cut Here -----------------------------
if [ -z "$1" ] ; then
   echo "Usage gsdj <filename>"
   exit 1
fi
gs -sDEVICE=deskjet -sOutputFile="|lpr" -dNOPAUSE $1 - < /dev/null > /dev/null
----------------- Cut Here -----------------------------

Hope this helps,

BAJ
--
Another random extraction from the mental bit stream of...
Byron A. Jeff - PhD student operating in parallel - And Using Linux!

 
 
 

PostScript Files & HP DJ520 Printer

Post by Feriel Mour » Sat, 06 Aug 1994 03:38:27


Dear Linuxers,

I have just bought an HP DeskJet 520 printer for my linux box. I couldn't get it
to print PostScript files, no even with gs. Is there anybody who has succeded
printing PostScript files on the same type of printer or who can help me out?

Please reply with e-mail.

Thanks in advance.

Feriel

--
   _____                          _______
  /  /  )                        /                 /)
 /  /  /  _       _  o __       /-- _   _  o  _   //
/  /  /__(_)_/_/_/__/_(_(      /   (<__/__/__(<__(/_

         MOURIA Feriel      CRIN/CNRS & INRIA Lorraine
                            BP 239, F54506 VANDOEUVRE-LES-NANCY CEDEX
                            tel:  83 59 20 85 / fax:  83 41 30 79


 
 
 

PostScript Files & HP DJ520 Printer

Post by <IC.. » Wed, 10 Aug 1994 05:16:58


I had a problem printing a ps file on my dj520, too.  So, I tried one
suggestion as follows:

    gs -sDevice=deskjet -sOutputfile=|lpr <filename.ps>

This gave me an error message saying, "Broken pipe".  So I still have a
problem.  I don't know what's wrong.  Can anyone help me out, please?

 
 
 

PostScript Files & HP DJ520 Printer

Post by Byron A Je » Thu, 11 Aug 1994 01:07:55



>I had a problem printing a ps file on my dj520, too.  So, I tried one
>suggestion as follows:

>    gs -sDevice=deskjet -sOutputfile=|lpr <filename.ps>

try this:

    gs -sDevice=deskjet -sOutputfile="|lpr" <filename.ps>

The double quotes around the pipe is necessary so that the shell won't
interpret it.

Good Luck.

BAJ
--
Another random extraction from the mental bit stream of...
Byron A. Jeff - PhD student operating in parallel - And Using Linux!

 
 
 

PostScript Files & HP DJ520 Printer

Post by Daniel Bodo » Thu, 11 Aug 1994 07:19:31





>>I had a problem printing a ps file on my dj520, too.  So, I tried one
>>suggestion as follows:

>>    gs -sDevice=deskjet -sOutputfile=|lpr <filename.ps>
>try this:

>    gs -sDevice=deskjet -sOutputfile="|lpr" <filename.ps>

If that doesn't work, try this:

     gs -sDEVICE=deskjet -dNOPAUSE -sOutputFile=/dev/lp1 <filename.ps>

Dan

--

--------------------------------------------------------------------------------
           "I do know something about nature; I know nothing about                          humankind."                     -- Albert Einstein