APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > FAQ > How can I print from Netscape without a Postscript printer?
Printer Friendly Version




SCO Unix ® FAQ section

Printing FAQ



This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open Desktop or Openserver.

There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

How can I print from Netscape without a Postscript printer?



This is an ancient post with no relevance to modern systems.

If you don't have a Postscript printer, you might be able to use Ghostscript (available from SCO's Skunkware Page ) to get some functionality. Ghostscript is slow and has had a few problems now and then, but you might find that you can live with it.

You can install ghostscript from the Skunkware CD; don't forget that you also need the Glib (Graphics Library) package.

To see the printers that ghostscript supports, type

gs -?
 

You may have to experiment a bit to find out what works best with your printer; for example I found that "ljet4" was good for my LaserJet 6L. I suggest that you create a simple Postscript file for testing:

echo "testing" | text2post > /tmp/test.ps
 

so that you don't get page after page of junk if your first try doesn't work.

My script looks like this:

#!/bin/sh
/usr/local/bin/gs -q -sDEVICE=ljet4 -r600 \
-sPAPERSIZE=letter -dNOPAUSE -dSAFER -sOutputFile="-" \
- | lp -dlaser -o raw
 

I call that "webprint", and once you've told Netscape to use it instead of "lp",that's what continues to pop up in the Netscape print dialog.

Or, you can get fancy and build gs support into your interface script, even to the point of automatically recognizing Postscript files. That can be a little tricky, and really has no advantage over the shell script, but some people like to do it that way.



From - Tue Jun 27 06:27:32 2000
Newsgroups: comp.unix.sco.misc
Path: news.randori.com!hermes.visi.com!news-out.visi.com!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!enigma.xenitec.on.ca!news.xenitec.on.ca!news
From: Tom Parsons <cis@tegan.com>
Subject: Re: Securing the Root account
Resent-From: mmdf@xenitec.on.ca
Submit-To: scomsc@xenitec.on.ca
Content-Type: text/plain; charset=us-ascii
Organization: [resent by] The SCOMSC gateway and Propagation Society
Date: Sun, 25 Jun 2000 13:33:44 GMT
Message-ID: <20000625083344.64992@tegan.com> 
X-Mailer: Mutt 0.88e
To: scomsc@xenitec.on.ca
Mime-Version: 1.0
In-Reply-To: <395340A1.F6FDFFD0@aplawrence.com>; from Tony Lawrence on Fri, Jun 23, 2000 at 06:49:05AM -0400
Sender: cis@tegan.com
Precedence: list
Xref: news.randori.com comp.unix.sco.misc:62238
X-Mozilla-Status: 8010
X-Mozilla-Status2: 00000000

Tony Lawrence enscribed:
| Jean-Pierre Radley wrote:
| > 
| > Wayne Jackon propounded (on Fri, Jun 23, 2000 at 08:18:22AM +1000):
| > | Because I am being difficult.  And that was the pages that I went for as I
| > | was curious as to see how it would be done myself, plus I am sitting on a
| > | Win2K machine and don't have access to a OSR box.
| > |
| > | But seriously, it give him a printable version if coming from a Windows
| > | machine.
| > 
| > Why is it any more less printable than if he'd pointed Netscape on his
| > OSR 5 box to his local help files?
| 
| 
| Because SCO systems don't install by default configured to
| be able to print anything from Netscape (unless you happen
| to have a Postscript printer) ?  Because a SCO user who
| wants to print from Netscape needs to first *know* that they
| need gs, then download it (ppp configured yet? DNS?),
| install it, and then figure out how to make it work-
| starting, of course, with getting the newly installed man
| page to work.
| 
| I'd say that makes it slightly less printable from SCO for
| the average user.

Well, if one is going to use ghostscript, there is a good chance they
have a HP compatible laser and probably be using the HPLaserJet
interface script, in which case:

 man cat | lp -o nroff

is much cleaner.  'Course you need the tools and the knowledge of the
less than well known option.  :-)

--tom 
==========================================================================
 Tom Parsons            tom@tegan.com          
==========================================================================    


If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?




More Articles by Tony Lawrence - Find me on Google+



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



ad

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.

Publishing your articles here

Jump to Comments



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.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide




 I sell and support
 Kerio Mail server
pavatar.jpg

This post tagged:

       - FAQ
       - Printing
       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here