Pagina 1 di 1

Stampare con Vim

Inviato: ven 16 nov 2007, 0:41
da samiel
Nel mio ~.vimrc, nella sezione per la stampa, ho questo:

Codice: Seleziona tutto

" Printing
" printoptions	list of items that control the format of :hardcopy output
set popt=paper:a4
" printdevice	name of the printer to be used for :hardcopy
set pdev=hp6122
" printexpr	expression used to print the PostScript file for :hardcopy
set pexpr=system('lpr'\ .\ (&printdevice\ ==\ ''\ ?\ ''\ :\ '\ -P'\ .\ &printdevice)\ .\ '\ '\ .\ v:fname_in)\ .\ delete(v:fname_in)\ +\ v:shell_error
" printfont	name of the font and the width to be used for :hardcopy
set pfn=courier
" printheader	format of the header used for :hardcopy
set pheader=%<%f%h%m%=Pagina\ %N
" printencoding	encoding used to print the PostScript file for :hardcopy
set penc=iso-8859-1[code]
Vorrei perĂ² aumentare il carattere per non diventare cieco,
e so che si dovrebbe aggiungere una stringa alla riga:
[code]set pfn=courier[code]
Ho provato vari formati, ma il carattere resta sempre
quello piccolo di default. Ne sapete qualcosa?

Grazie
M.

Inviato: ven 16 nov 2007, 1:54
da samiel
Si vede che mi mancava la combinazione buona:
set pfn=courier:h11


M.