[clug] GVIM paper size
Bryan Kilgallin (iiNet)
kilgallin at iinet.net.au
Tue Aug 22 11:31:24 UTC 2017
>> I am typing in this graphical version of the Vim text editor.
>> But when I print, my printer objects, saying that US letter sized paper
>> was requested. How can I stop this problem, which seems unique to GVIM?
> I'm guessing you read the fine documentation?
I now have in GVIM the following window open.
option-window (~) - GVIM1
Of which, section 11 says the following.
printoptions list of items that control the format of :hardcopy output
printdevice name of the printer to be used for :hardcopy
printexpr expression used to print the PostScript file for :hardcopy
set pexpr=system('lpr'\ .\ (&printdevice\ ==\ ''\ ?\ ''\ :\ '\ -P'\
.\ &printdevice)\ .\ '\ '\ .\ v:fname_in)\ .\ delete(v:fname_in)\ +\
printfont name of the font to be used for :hardcopy
printheader format of the header used for :hardcopy
set pheader=%<%f%h%m%=Page\ %N
printencoding encoding used to print the PostScript file for :hardcopy
printmbcharset the CJK character set to be used for CJK output from
printmbfont list of font names to be used for CJK output from :hardcopy
> What does:-
> less /etc/papersize
More information about the linux