A.J.Mechelynck wrote:
Marlin Unruh wrote:
Hi,
In Linux how do I configure Vim to print a hard copy?
Please include syntax example.
I am running Ubuntu and the printer is named Laserjet-4 on LPT #1.
I located the info once and did this but now it eludes me.
Thank You!
What Windows calls LPT1 is usually called something else on Linux -- maybe
/dev/lp0 or something.
On systems other than Windows, Vim prints in PostScript format. If your
printer doesn't understand PostScript, you need some program like
ghostscript
to translate the PostScript file to whatever it is that your printer can
use.
Of course, your system must also recognise your printer and be able to
interface with it. If no program is able to print on your LJ-4, don't
expect
that Vim will be.
See ":help printer.txt".
Best regards,
Tony.
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.
--
Marlin