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: 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
==========================================================================
Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)
| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 1 | 2 | 8 | 118 | 851 |
/Bofcusm/1693.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.
Add your comments
Installation and light training Boston and New England
Reliable and experienced, punctual and professional.