Openning a png file in ubuntu, I can see the menu item for 'print to file'. How can I do the same on shell? PS: I prefer installing no extra package, due to lack of root access.
EDIT: the operating system is ubuntu 11.10
convert xyz.png xyz.pdf should do the trick.
man convert for more options.
As mentioned in a comment below, if you get a security error, you may need to edit the security policy file. For additional details see: