Tag Info

Hot answers tagged

3

The important part of that wikia link is: :set t_Co=256 Entering this in normal mode (or putting it in your ~/.vimrc) will force vim to try to use 256 colors, which should override gnome-terminal's color scheme. Apparently, while gnome-terminal is capable to 256 colors, it doesn't advertise that fact in a way that vim can detect, which is why setting ...


1

No, if it's connecting directly to the printer, you cannot set "defaults" unless the program that is making the connection has some way to do so. (This is not OS-dependent.) You would need to do something much more complex, such as using iptables to intercept the connection and redirect it to a program which filtered the data.


1

Save a python script like this: #!/usr/bin/python from PIL import Image, ImageFont, ImageDraw import sys im = Image.new('CMYK', (1000,1000), (0, 0, 0, 255)) f = ImageFont.load_default() d = ImageDraw.Draw(im) d.text((500, 500), sys.argv[1], font = f, fill = (0, 0, 0, 0)) del d im.save(sys.argv[2]) Dependencies are python and the python imaging library. ...



Only top voted, non community-wiki answers of a minimum length are eligible