From: Shen-Wei X Li (sxl5151@cs.rit.edu)
Date: 04/14/93


From: sxl5151@cs.rit.edu (Shen-Wei X Li)
Subject: Re: [Q] Printing question
Date: Thu, 15 Apr 1993 01:53:10 GMT

Here is the meesage when I tried to print out a regular acsii file by lpr:

        # lpr Xconfig
        lpr: connect: Invalid argument
        jobs queued, but cannot start daemon.
        #

The other one is by using GhostScript:

        GS> (ljet2p) selectdevice
        GS> (chess.ps) run

Both of the above can not print out anything, but if I tried to print out
a PostScript file to a 'file', that works:

        # gs -sDEVICE=ljet2p -sOutputFile=myfile.out chess.ps

But if I use the lpr pipe, then it will die....

        # gs -sDEVICE=ljet2p -sOutputFile=|lpr chess.ps

Please help me, any pointer or comment will be greatly appreciated.

Thanks,