aboutsummaryrefslogtreecommitdiff
path: root/plugin/printing-hardcopy.vim
blob: ad51b02705616a09d55659e213b3d4dd5a93bcd0 (plain)
1
2
3
4
5
6
7
8
9
10
let default_expr=&printexpr

" if filereadable("/usr/bin/a2ps")
"     let &printexpr = "system('a2ps -1gEmail --borders=no --strip=3')"
" endif
"
set printoptions=portrait:y,number:n,syntax:n,left:25mm,right:20mm,top:27mm,bottom:25mm

let &printfont    = "monospace 11"
let &printexpr    = "system('lpr -p' . (&printdevice == '' ? '' : ' -P' . &printdevice) . ' ' . v:fname_in) . delete(v:fname_in) + v:shell_error"
..