From: Tom Parsons <cis@tegan.com> Subject: Re: Printing of Image Files Date: Fri, 1 Nov 2002 18:45:25 GMT References: <t4b5su8fgnfdg50r78r1c9pipu9o3ojupg@4ax.com>
<20021101172726.GJ9443@jpradley.jpr.com>
<20021101120354.38750@tegan.com>
<20021101181512.GN9443@jpradley.jpr.com> Jean-Pierre Radley enscribed: | Tom Parsons propounded (on Fri, Nov 01, 2002 at 06:03:54PM +0000): | | Jean-Pierre Radley enscribed: | | | DL propounded (on Fri, Nov 01, 2002 at 11:35:04AM -0500): | | | | Anyone know of a way to printer image files (ie a Company Logo) to a | | | | Standard HP Laserjet via ' lp ' ? | | | | | | | | Do I need to convert the image (.jpg in this case) to PCL for the | | | | Printer? | | | | | | Yes. | | | | | | I just now opened a .jpeg with xv, saved it as postscript, then printed | | | that using ghostscript. | | | | I'm finally gonna get you for the excessive keystoke award. | | OK, I'm caught out! | | | I opened the file with xv, clicked on print, entered the name of the | | printer that pipes the print job through gs. | | | | # cat /usr/spool/lp/admins/lp/interfaces/gs | | : | | # @(#) gs | | PATH=$PATH:/usr/local/bin | | gs -q -sDEVICE=laserjet -dNOPAUSE -sOutputFile=- "$6" -c quit | lp -o raw -o -d laser1 | | exit 0 | | What's the second '-o' for? The dreaded editing of a script before posting. My script has -o lm9 because my standard paper is pre-punched with 3 holes. I removed only the lm9 -- ========================================================================== Tom Parsons tom@tegan.com ==========================================================================
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