Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

How can we use resumeToPDF? #1

Open
ansdma opened this issue Nov 12, 2014 · 7 comments
Open

How can we use resumeToPDF? #1

ansdma opened this issue Nov 12, 2014 · 7 comments

Comments

@ansdma
Copy link

ansdma commented Nov 12, 2014

This might be a bit silly, but I couldn't figure out how to use this module!
I tried:

resumeToPDF("resume.json", function function_name(pdf) {
  fs.writeFile("a.pdf", pdf, function(err) {
    if(err) {
        console.log(err);
    } else {
        console.log("resume was saved!");
    }
  });
});

with no luck, would really appreciate any examples.

@shohan4556
Copy link

Same here I could not found how to use it please give us an example

@Niefee
Copy link

Niefee commented Feb 7, 2017

me too. I can not save as pdf

@sapioit
Copy link

sapioit commented Jun 22, 2017

Please, fix this, I don't want to give up on your service!

@ansdma
Copy link
Author

ansdma commented Jun 23, 2017

For some reason resume export resume.pdf works for me now.

Anyhow, if anyone still have an issue with this, maybe try wkhtmltopdf to convert html to pdf, it is as simple as wkhtmltopdf resume.html resume.pdf. Alternativly check hackmyresume out.

Nevertheless, I guess resumeToPDF is deprecated, jsonresume now lives here.

@sapioit
Copy link

sapioit commented Jun 24, 2017

Thanks!

@Rob-Rychs
Copy link

Just a heads up it seems that some themes play nicer with the resume export resume.pdf command than others... also make sure you install the theme your trying to use globally

@Suncatcher
Copy link

So now this module is working? On the main site it is reported as broken

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants