sponsor Vim development Vim logo Vim Book Ad

basic Tip #313: printing using kprinter (unix + kde)

 tip karma   Rating 84/34, Viewed by 2333 

Read and edit this tip on the Vim tip wiki. The wiki may have a more recent version of this tip.

created:   August 14, 2002 3:47      complexity:   basic
author:   tom regner      as of Vim:   6.0

just add
set printexpr=system('kprinter'\ .\ '\ '\ .\ v:fname_in)\ .\ delete(v:fname_in)\ +\ v:shell_error
to your ~/.vimrc; further on all your printing will be piped through the nice and consistent print-dialog of kde.

lg,
tomte

 rate this tip  Life Changing Helpful Unfulfilling 

<< Copy, Cut, and Paste | Insert and back... >>

Additional Notes

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo