How do I convert a mozilla.ps to html or some extention that can be read in a Microsoft OS?

Art Alexion art.alexion at gmail.com
Thu Nov 20 15:36:23 UTC 2008


On Tuesday 11 November 2008 11:11:08 am Steven Vollom wrote:
> >>    
> >
> > to get a listing of all files, try "ls"
> > the Desktop is "Desktop" iirc
> >  
>
> I have deleted previous comments; I was told by the moderator that my
> post was getting too long.
>
> The attachment shows the result of ls, mozilla.pdf appears, but not when
> I look at my desktop.  the file extension is .ps on my desktop.  The
> attachment shows my desktop with the most recent terminal picture.

I can see from your screen shot that you are running the command from your 
home directory (~ or /home/steven), but your question reveals that the 
mozilla.ps file is on your Desktop (~/Desktop or /home/steven/Desktop).  So, 
ps2pdf can't find the mozilla.ps file and errors out.

You have to tell ps2pdf where to find the file.  There are two ways to do 
this.  One way is to give it a path.  Instead of 

	steven at Studio25:~$ ps2pdf mozilla.ps mozilla.pdf

use

	steven at Studio25:~$ Desktop/ps2pdf mozilla.ps Desktop/mozilla.pdf

or just change to the directory and execute the command.

	steven at Studio25:~$ cd Desktop/
	steven at Studio25:~/Desktop$ ps2pdf mozilla.ps mozilla.pdf

By the way, you don't need to specify the output file for ps2pdf if you just 
want to change the extension.  So

	ps2pdf mozilla.ps

gives the same result as

	ps2pdf mozilla.ps mozilla.pdf

You only need to specify the output file if (1) you want to give it a 
different name, or (2) you want it created in a different location.  An 
example of both: 

	steven at Studio25:~/Desktop$ ps2pdf mozilla.ps ../Documents/meaningful_name.pdf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20081120/2fe710e8/attachment.sig>


More information about the kubuntu-users mailing list