vim E365: Failed to print Postscript File

I don't print from vim often, so I am not sure when this happened.

I cannot print (ha[rdcopy] from vim or gVim.

I get the error

E365: Failed to print Postscript File

I am running on Ubuntu 10.04.

I am looking for ideas on things to configure as well as anyone who has had experience with this problem and might have an answer.

Not a lot of clues there...

Starting Vim with verbose turned on gvim -V and doing :hardcopy might produce some clues.

Also, this might also be useful :set printexpr?

You can also check if the regular command lps is working, and whether you have the default printer set up correctly. Another useful command is set pdev=printer_name

E365: Failed to print PostScript file (using :hardcopy in VIM , Wondering why when I try to do a hardcopy, I get this error message. lpr printing works fine. echo "hello world" | lpr -P bjork. does as expected. vim E365: Failed to print Postscript File. I don't print from vim often, so I am not sure when this happened. I cannot print (ha[rdcopy] from vim or gVim.

:hardcopy command fails with "E365: Failed to print PostScript file , Information VIM version VIM - Vi IMproved 8.1 (2018 May 17, compiled Jun 30 2018 07:01:05) macOS version Included patches: 1-100  Re: E365: Failed to print PostScript file (using :hardcopy in VIM) So does plain 'lpr' work for you? If not, you might want to try setting up the printdevice variable in Vim to be bjork.

I had the same error when my system had two printers configured with no default. Setting a default resolved the problem.

vim E365: Failed to print Postscript File, Member. Registered: Feb 2005. Distribution: Ubuntu, CentOS. Posts: 585. Rep: Reputation: 35. vim E365: Failed to print Postscript File  vim E365: Failed to print Postscript File . I don't print from vim often, so I am not sure when this happened. I cannot print (ha[rdcopy] from vim or gVim.

vim E365: Failed to print Postscript File?, vim E365: Failed to print Postscript File? Not a lot of clues there Starting Vim with verbrose turned on gvim -V and doing :hardcopy might produce some clue. Then you can print to file by issuing: :hardcopy filename.ps or to printer by just issuing: :hardcopy Comments Edit. So far this could be considered a bit insecure, as the filename isn't escaped at all. Probably fnameescape or something like that should be used. Why not just using the builtin ":hardcopy >file.ps"?

Another vim :hardcopy => E365: Failed to print PostScript file, Another vim :hardcopy => E365: Failed to print PostScript file - vim. Install the libcups pckage (done - version 1.7.5-1.1) 2. insert the printer's IP Address under ServerName in file /etc/cups/client.conf I've done that, but any attempt to print this file (from within VIM) gets the message ERROR E365 : Failed to print Postscript file.

General - Failed to print PostScript file, to print PostScript file. Hi, Until now I could print my files from Vim using the ":ha​" command. E365: Failed to print PostScript file. In my shell  Environment: Linux Mint 14 MATE amd64 Desktop (Ubuntu 12.10 like) cscope 15.7a-3.6 (Ubuntu source) vim 7.3 (Ubuntu source) mate-terminal Description: When I command "vim xx.c" in mate-terminal,