The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 09-05-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,189
One way is to convert the file to other formats.

Here are suggestions for how to do this:

http://www.intelligraphics.com/artic...g_article.html

Also look at this example :

Quote:
You need to create an entry in the /etc/printcap file, something like this:


hplj5n|lp1:\
:rm=hostname:\
:rp=printername:\
:sd=/var/spool/lpd/hplj5n:\
:lf=/var/spool/lpd/lpd.log:\
:if=/var/spool/lpd/filter:


The first line is the printer name you can use either hplj5n or lp1 with 'lpr -Pname'.

The rest of the lines are as follows:

rm - remote machine, this is typically the same as the printer name with network printers other wise it's the machine name of the system the printer is connected to.


rp - remote printer, this is typically the same as the machine name
with network printers other wise it would the print name such as
'hplj5n' if the printer is attached to a remote system.


sd - the spool directory where print jobs are spooled


lf - the log file


if - the interface filter, used to convert formatted/unformatted
text (ASCII, TEX DIV, POSTSCRIPT, PCL, etc.) and image data (BMP, PPM, JPEG, GIF, TIFF, etc.) to POSTSCRIPT or PCL format.