[Ilugc] Tips of the day (Printing PostScript files)

  • From: vishnukraj007@xxxxxxxxx (Vishnu Raj)
  • Date: Sat Jan 9 18:30:17 2010

Printing (.ps) files
Most linux applications can generate postscript files, which usually have
the extension '.ps'.

Postscript is a language that describe how things should be drawn on pages;
this language is understood by postscript printers. Non-postscript printers
needs special drivers that convert from postscript onto their own format.

If the ghostcript package is installed on your system, it is possible to
convert pdf files in postscript with the pdf2ps command:

*pdf2ps paper.pdf*

creates paper.ps.

You can preview a postscript file on the screen with gv or kghostview:

*gv file.ps

kghostview file.ps*

To put the 'file.ps' into the printing queue of the printer known as
'printername':

*lpr -P printername file.ps *

The printers can be attached to the local system via a parallel, serial, or
USB port, or available over the network. To get a list of available
printers:

*lpstat -p -d*

To check the status of all printers:
*
lpstat -a*

To remove a printing job:

*lprm job-id*

(job-id is the number reported by the lpr or lpstat commands).

If your system uses the printing system 'CUPS', you can access its
documentation by opening the following address in a browser:

*http://localhost:631/documentation.html*

*To install ghostscript & gv*

sudo apt-get install ghostscript
sudo apt-get install gv
--
??????????. ?

Kanchi Linux User Group Rocks !

http://kanchilug.wordpress.com

My Experiments In Linux are here

http://gnutuxfollower.wordpress.com

Other related posts:

  • » [Ilugc] Tips of the day (Printing PostScript files) - Vishnu Raj