Linux Apps stripping format data from text sent to printer???
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Linux Apps stripping format data from text sent to printer???
Ubuntu 8.04 apps (gedit and vim) display properly on screen - fonts and font size look good, but when sent to a printer, print out with about an 8 and some generic font???
Heh well that seems reasonable. I just found out that formatting font and size added or changed in gedit and saved to disk, retains that formatting as far as gedit is concerned, but only for screen display. Turns out there is a separate Font setting in the File > Print menu.
Additionally, I just found that data with a large font saved from gedit does not show the saved formatting when printed to the printer using the lpr note syntax.
So that looks like gedit creates pseudo plain test files, where formatting is retained for use by the saving program, but appears to be plain text to other apps!
strange stuff. :-)
You may even find gedit adds that new formatting to every file it gets, and that its changed in a config file stored in ~/.gconf/apps/gedit-2/preferences somewhere
AFAIK, basic editors, eg vim, gedit, kate(?) may show format/font layouts for your convenience, but they do not save them, as they are usually used for editing plain text eg shell files. The system would get very confused if you tried to run a file that has embedded font codes.
If you want a fancy printout, use OpenOffice - Writer.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.