[SOLVED] printing with lp, what package to install?
Linux - SoftwareThis 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.
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.
Specifically, I need the functionality provided by lpforms to handle various types of paper like letterhead, etc. I have been able to find tons of information on using lp as a print service, but I cannot find what package I need to install to use it.
Can anyone tell me what package this stuff is in and where I can find it? This would be for Redhat.
Alternatively, can anyone tell me if CUP has an lpforms equivalent?
Red Hat Enterprise Linux Server release 5.6 (Tikanga)
We are transitioning our Oracle server from VMS to Linux. On VMS we used 'forms' to manage printing on... well, forms. It sets certain margins and vertical spacing for printing on letterheads or bills, that sort of thing. Basically sets unprintable areas so the text goes where you want it to.
From my research, the Linux equivalent is lpforms, which according to the man pages is pretty much the same thing. Trouble is, lpforms does not exist on our server.
It's looking like what I want just doesn't exist any more. cups replaced lp with a superset of lp commands that does not include lpforms. The closest thing I can find is partial functionality provided by lpoptions.
Quote:
The "good old" UNIX SYSV printing system knows about forms in a manner quite similar
to what good old line printer spooling systems on mainframes support.
In essence, a SYSV forms definition contains things like
Page length: scaled-decimal-number1
Page width: scaled-decimal-number2
Number of pages: integer
Line pitch: scaled-decimal-number3
Character pitch: scaled-decimal-number4
Character set choice: character-set/print-wheel [mandatory]
Ribbon color: ribbon-color
Comment:
comment
Alignment pattern: [content-type]
content
(copied from the lpforms man page of Solaris 9). As you see, the attributes
only apply to plain text printing.
AFAIK, CUPS has no equivalent to this, but you could emulate most of this by using
the lpoptions command and setting up printer instances. But assigning a specific form
to a printer in such a way that only jobs using the specified form are printed (and all others
suspended) cannot easily emulated using CUPS (except perhaps by "mis"using the classes concept).
Red Hat Enterprise Linux Server release 5.6 (Tikanga)
We are transitioning our Oracle server from VMS to Linux.
I know nothing about VMS, but I suspect that it is very different from linux. Your previous tools with VMS may not apply.
Linux generally has all the tools to do whatever you'd like to do, but you need to discover them and then learn about how to use them.
When I last used Oracle (20+y ago), Oracle could/would format the reports as I wished (that was with SCO unix) and I suspect that things will have improved a lot since then. I suggest that you read the more recent Oracle documentation, because there'll probably be an answer to your problems.
I know nothing about VMS, but I suspect that it is very different from linux. Your previous tools with VMS may not apply.
Linux generally has all the tools to do whatever you'd like to do, but you need to discover them and then learn about how to use them.
When I last used Oracle (20+y ago), Oracle could/would format the reports as I wished (that was with SCO unix) and I suspect that things will have improved a lot since then. I suggest that you read the more recent Oracle documentation, because there'll probably be an answer to your problems.
Best wishes.
Unfortunately, the print jobs are coming out of SCT Banner, not Oracle.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.