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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
03-16-2008, 06:43 AM
|
#1
|
Member
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432
Rep:
|
printer command lp options -o
Have anyone ever use lp to print? Anyone know if it support printing multipages like 2 pages to 1
|
|
|
03-16-2008, 08:07 AM
|
#2
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
|
Yes, been using lp for about 30 years or so. Yes, it'll support multiple pages... but, much easier, a2ps (look at at /etc/a2ps.cfg and set the Medium (paper) value, if I remember correctly it defaults to A4).
If you've got CUPS set up for your printer(s) (so all the features are available), then lp and a2ps will work just fine.
|
|
|
03-16-2008, 10:13 PM
|
#3
|
Member
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432
Original Poster
Rep:
|
I got CUPS running, but still can not find what I need. The a2ps can generate ps type file.
My questions is, how to print multi pages (like 2) into a single page.
This feature is available in a document viewer program in Debian, how about command lpr and lp ?
|
|
|
03-17-2008, 03:31 PM
|
#4
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
|
CUPS should be able to handle output from a2ps, converting from PostScript to your printer (when you have CUPS installed you have a different version of lp).
An easy test is to
Code:
echo "Hello, world!" | a2ps
and see what you get.
|
|
|
03-17-2008, 04:11 PM
|
#5
|
Member
Registered: Mar 2008
Posts: 101
Rep:
|
this should help...
psnup -2 | lpr
See man psnup for more.
Fedora Development
Last edited by prad77; 04-17-2008 at 04:10 AM.
|
|
|
09-19-2014, 10:04 PM
|
#6
|
Moderator
Registered: Aug 2002
Posts: 26,459
|
|
|
|
09-20-2014, 06:57 AM
|
#7
|
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,196
|
For some reason this fairly long time member fhleung is necroposting in a considerable number of threads. In threads he posted before. Posts are incoherent sometimes. Given the number of posts it cannot be a newly created spam bot. But it looks a lot like a hijacked identity.
Reported for attention of the moderators.
jlinkels
|
|
|
All times are GMT -5. The time now is 03:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|