[clug] GVIM paper size

Bryan Kilgallin (iiNet) kilgallin at iinet.net.au
Tue Aug 22 11:31:24 UTC 2017

Indeed, Scott:

>> I am typing in this graphical version of the Vim text editor.
>> https://lists.samba.org/archive/linux/2017-August/036302.html
>> 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.

11 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=
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
  	set pfn=courier
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
  	set penc=
printmbcharset	the CJK character set to be used for CJK output from 
  	set pmbcs=
printmbfont	list of font names to be used for CJK output from :hardcopy
  	set pmbfn=

> What does:-
> less /etc/papersize
> say?


More information about the linux mailing list