Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [printing]

Printing to Postscript, PDF and other formats

3
votes
0answers
28 views

Can vim mark (highlight) page breaks?

I'd like to see where page breaks are going to occur when I print (either using :hardcopy or a2ps). Is there something analogous to :set colorcolumn=78 ? Except that the line count should get reset ...
1
vote
1answer
203 views

Make hardcopy without a header

I am using Debian 9 and am running Vim in Xfce4 Terminal. I would like to print to hardcopy, :ha or :hardcopy without printing the header. By default the header has the file name and page number at ...
2
votes
2answers
293 views

Printing unicode chars?

Is there a solution to printing unicode characters from gvim? See this: Results in this print result (Using a Linux setup and Vim 8.0.)
1
vote
1answer
767 views

How to change Vim's :hardcopy printfont?

I would like to be able to print in other than Courier font using the :ha command. Investigating more closely, I found that it is documented that the Courier font is always used: - 'printfont' - The ...
3
votes
1answer
270 views

How can I force a page break in MacVim's printed output?

I've discovered the :hardcopy command, which is the equivalent of the Command-P command in MacVim. I've also found that it accepts ranges. For instance, in my markdown file, I can split the sections ...
3
votes
2answers
227 views

Where does MacVim send its printed files?

I found out about printing using the :hardcopy command, and on my Mac it opens up the output in a PDF named "0.pdf", then the next printing from that file opens "1.pdf", etc. I can save these files, ...
1
vote
1answer
282 views

vim doesn't print the header in hardcopy

For some reason when I execute a hardcopy command vim doesn't print the header, only text. Here are my setting for printoptions as well as printheader printoptions=left:3pc,number:y,syntax:n,header:2 ...
10
votes
1answer
255 views

To print with search results highlighted

When we search a pattern in vim, the matches are usually highlighted. However, when we print it out, the highlights disappear. I tried both :hardcopy > my_file.pdf and :TOhtml. Neither retains the ...
6
votes
2answers
631 views

How can I print from vim using the native KDE print dialogue?

I'm using vim from a terminal emulator, and I'd like to be able to print using KDE's native print dialogue. This would let me select options such as printer, collating, number of copies and pages per ...