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

Martin Laberge mlsoft at videotron.ca
Thu Nov 20 21:59:49 UTC 2008


On Thursday 20 November 2008 10:36:23 Art Alexion wrote:
> 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

Correct this by:

 	steven at Studio25:~$ ps2pdf Desktop/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
> 



-- 
Martin Laberge
mlsoft at videotron.ca
Tel:(418)521-6823
30 Years of Unix Admin, and still learning...





More information about the kubuntu-users mailing list