Benji Fisher wrote:
On Thu, Nov 16, 2006 at 12:05:31PM -0700, Marlin Unruh wrote:
[snip]
I can print to the printer from OpenOffice or any other program but Vim.
I get "E365: Failed to print PostScript File".
I can't remember what I did once awhile back and it worked. I entered
something like ":set printdevice=lp0" and it worked. I checked the cmd
history list but I can't find what cmd I used that time.
Since you got an error message, read
:help E365
This one is related to the 'printexpr' option, so what does
:verbose set printexpr?
tell you?
HTH --Benji Fisher
Benji,
:verbose set printexpr? give the following, all in one line.
printexpr=system('lpr' . (&printdevice == '' ? '' : ' -p' .
&printdevice) . ' ' . v:fname_in) . delete(v:fname_in + v:shell_error
Is this any help?
--
Marlin