Enrico Forestieri <[EMAIL PROTECTED]> writes:

> please attached find an archive containing both source and
> executable of lp.exe. Put it in the LyX\bin directory, reconfigure
> LyX and then try printing from within LyX. You simply need gsview
> and ghostscript.
> 

It doesn't work for me.  LyX gives the output below:


  Prints the given files to a windows printer by using gsprint.
  
  Usage: lp [-h] [-d|-P printer] <files>...
  All switches are accepted for compatibility with lp or lpr but are ignored.
  If gsprint is found, its printer dialog is shown, otherwise an error is 
issued.
  Error: Print document failed
  ----------------------------------------
  Could not print the document C:\Program 
Files\LyX\Resources\examples\splash.lyx.
  
  Check that your printer is set up correctly.


If I try to run it directly using "lp c:\file.ps" I get a different error:

  'C:\\Program' is not recognized as an internal or external command,
  operable program or batch file.

Yes, gsprint is in a path with spaces.

Reply via email to