If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From: Jeff Liebermann <jeffl@comix.santa-cruz.ca.us> Subject: Re: Info about rlp Date: Wed, 21 Mar 2001 23:52:42 -0800 References: <slrn9bh8es.ig0.paulj@slave.jollyp.demon.co.uk> On 21 Mar 2001 12:43:08 GMT, paulj@slave.jollyp.demon.co.uk (Paul Jolliffe) wrote: >I have used SCO for many years now and have not needed to use rlp, but >our software has changed and ideally needs to print to rlp based printers. >(JSB multiview controlled PC printers). The problem that I have is that >out application has no concept as to what a printer is, it puts out as many >lines as it wants per page (56-72) and then throws a formfeed. It >does not use fixed page lengths as our customers have a variety of >stationary that they want to print on. > >I have rlp configured and working, but I need for it to control page >formatting info such and page orientation and pitch, is this possible.
Sigh. It is NOT the job of the print spooler to do your formatting. It's the job of your application or perhaps some filters, but not the spooler. lpr/lpd include the absolute minimum of format control needed to deal with very simple printers. Anything more complex, such as page control, is not in the print spoolers capabilities. If your unspecified application, has no concept of what your unspecified printer happens to be, my guess is that it's assuming that you have an ancient dot-matrix or "teletype" type printer and doing its heroic best to format the page for its illusion of page size. The apparent random range of lines per page (56-72) implies that your unspecified printer is adding a line feed when the line extends past some unspecified number of characters per line, and therefore affecting the line count. Eventually, it runs off the bottom of the page. Methinks the best approach is to disarm the "auto line feed" feature of your printer and let it run off the right side of the page. That should fix the lines per page. If your unspecified printer is a laser printer, adjust the lines per page, LPI, etc so that it agrees with your unspecified application. My guess would be either 60 or 66 lines per page. Once that's working, then deal with the character spacing and margin sizes so that everything fits on the page. Again, post mortem print formatting isn't going to solve this one. It needs to be fixed in the application and possibly the printer settings.
-- Jeff Liebermann jeffl@comix.santa-cruz.ca.us 150 Felker St #D Santa Cruz CA 95060 831-421-6491 pager 831-429-1240 fax http://www.cruzio.com/~jeffl/sco/ SCO stuff

/Bofcusm/1053.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar