Print .eps files in linux, ubuntu

aboSamoor | November 28, 2008 | 2:59 pm

Eps files are outdated formats, designed to be included in other ps or pdf files. However, printing such files will produce white pages to overcome this problem I find this solution.

printing normal documents from terminal
lpr filename -H printerServerIPAddress:printerServerPort

to be sure that you server is running a printer server

eid@eid-laptop:~/Desktop$ nmap eid-desktop
Starting Nmap 4.53 ( http://insecure.org ) at 2008-11-28 16:51 EET
Interesting ports on eid-desktop.lan (192.168.1.64):
Not shown: 1708 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
139/tcp open netbios-ssn
445/tcp open microsoft-ds
631/tcp open ipp
5900/tcp open vnc
Nmap done: 1 IP address (1 host up) scanned in 0.083 seconds

you can note that printer server is running on port 631.

To print EPS file run this command

(cat file.eps; echo showpage) | lpr -H printerServerIPAddress:printerServerPort
in my case
(cat dsdv.eps; echo showpage) | lpr -H eid-desktop:631

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>