On Sun, Apr 16, 2006 at 03:58:10PM +0000, lyxuser wrote: > Enrico Forestieri <[EMAIL PROTECTED]> writes: > > > Now it should work even when gsprint lives in a path with spaces. > > If not, please report it back to me, as this time I will use an axe > > to convince the command interpreter to do what it should do > > > > The space error when I call lp directly from the command line is fixed, but I > still get an error when trying to print from Lyx: > > > lp: unknown option -- t > lp: unknown option -- o > lp: unknown option -- s > lp: unknown option -- p > lp: unknown option -- l > lp: unknown option -- a > lp: unknown option -- s > lp: unknown option -- . > lp: unknown option -- p > lp: unknown option -- s > 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.
This is because you use a file name beginning with a '-'. Now it should be fixed. -- Enrico
lp.tar.gz
Description: application/tar-gz
