LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-18-2005, 03:01 AM   #1
cigarstub
Member
 
Registered: Sep 2005
Posts: 145

Rep: Reputation: 15
enscript: How can I define the printout left margin


I would like to economize my blank papers so I print with this command according to the enscript man page: enscript -r -2 --margins=4
The option explained as following :
--margins=left:right:top:bottom
Adjust page marginals to be exact left, right, top and bottom
PostScript points. Any of arguments can be left empty in which
case the default value is used.

but the printout's margins dit not get smaller. And there are some escape character that is replaced by octal number, enscript can not handle UTF-8.

I understand nothing about duplex, seeing the prospect of losing a lot of toner and paper, I am so afraid to try it with enscript. Being coward, I normally use the -a option to print 0dd pages firstand then return the printed pages to print the even pages. It is so robot.

Could you tell me your experience with enscript and duplex printing ?
 
Old 09-18-2005, 08:22 PM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
For the margins command you still need the colons : even if no argument is given. So

--margins=4:::

will change the left margin to 4 points, leaving others at default. Works for me.

I think duplex printing depends entirely on the capabilities of the printer and the settings in the printer driver. Enscript knows nothing about this. It just assembles the pages in the order you specify.

You can always print to file (-p file.ps) and look at the output with ghostscript to save toner if you are experimenting.

Don't know what you can do about non ASCII characters if the -X option does not work. The HOWTO

http://www.tldp.org/HOWTO/Unicode-HOWTO-5.html

has some alternatives to enscript.
 
  


Reply



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
use of special escapes with enscript gato Linux - Software 5 12-06-2011 03:13 AM
c/c++ replacable printout R00ts Programming 8 07-24-2005 08:19 PM
Printing gets cut off at the left margin kkempter Linux - General 1 03-31-2005 02:03 PM
85% profit margin on Windows!? annehoog General 3 11-20-2002 02:12 AM
can someone help with dmesg printout ? ... purpleburple Linux - General 3 07-30-2002 10:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration