LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-04-2010, 08:06 PM   #1
josephj
Member
 
Registered: Nov 2007
Location: Northeastern USA
Distribution: kubuntu
Posts: 72

Rep: Reputation: 28
Setting default printer margins in kate


I use kate for almost all my text editing (not word processing).
I love it, but it defaults to margins that don't work on my printers. Things get cut off at the top and bottom of the page.
The printer works fine with all my other applications - most of those allow the margins to be set in the application.

In kate, I can go to printer properties and set the margins to something that will work, but I have to do it every time I print.

Is there some way around this?

I read some posts elsewhere about using enscript. I know how to do that, but not from within kate.

TIA

Joe
 
Old 10-06-2010, 12:27 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,782

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Assuming you are using CUPS print server, you can do something about it.

Cups allows you to set up multiple virtual printers, even though there is only one physical printer available. You set up the printer definition for the print task, such as landscape, photo, draft greyscale, normal color, etc.

So, go into Cups setup and define a new printer, perhaps Kate-print would be a good name. Set the margins as you need them for Kate and test the setup. In the future, when you need to print using Kate, just select your Kate-print as the printer to use.
 
Old 10-08-2010, 04:00 AM   #3
josephj
Member
 
Registered: Nov 2007
Location: Northeastern USA
Distribution: kubuntu
Posts: 72

Original Poster
Rep: Reputation: 28
I always Print To File so I can run the output through my duplex printing emulator for non-duplex printers (duplexpr on Sourceforge). When I do that, it doesn't go through CUPS until later. I'll try sending the postscript file through an instance (I already defined one, but I think it got bypassed by the way I print) and see what it does.

I don't know how to create an instance or set margins directly in CUPS, but I use xpp and it lets me set just about anything I want to and then save the instance (or just print).

Thanks.

Joe
 
  


Reply

Tags
kate, layout, print


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
changing default margins in OO WP newbiesforever Linux - Software 1 06-21-2009 08:25 PM
OpenOffice Writer: Default margins too wide apachedude Linux - Software 3 11-28-2006 10:20 AM
Setting Default Printer in Mandrake 9.1 Rundi Mandriva 2 12-29-2004 11:56 AM
Setting default printer from command line mihailolja Linux - Newbie 1 03-19-2004 02:49 PM
setting default printer in Gnome? freddieB Linux - Software 0 02-25-2002 01:28 PM


All times are GMT -5. The time now is 04:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration