Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: about ResumeToPDF #439

Open
vikramsoni2 opened this issue May 8, 2022 · 6 comments
Open

question: about ResumeToPDF #439

vikramsoni2 opened this issue May 8, 2022 · 6 comments

Comments

@vikramsoni2
Copy link

I just noticed that the ResumeToPDF repo has been archived. How are you guys planning to provide the pdf version of the resume if needed to be printed?

  • Can we just use browser print function?
  • and add the print specific styles in the theme's css ?

I am curious as I would like to include small autogenerated QR code when you print the resume. Only provide this QR code for print style which points to the registry.jsonresume.org to your resume. What are your thoughts?

@SethFalco
Copy link
Member

I wasn't around at the time, but I assume it was archived because it wasn't used in this repo.

We can see here that they just run it through a browser and call print.

I haven't tested this, but I'm betting if your theme just used a media query for print and set the QR code to visible, it'd work just fine.

More info: https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries#targeting_media_types

@vikramsoni2
Copy link
Author

I see the point. Its easier to just use the browser's native print to pdf function.
About the QR code, my question was not how to add QR code, but more like would you like a pull request to automatically generate and provide qr code for the resumes generated from registry ?

@nricardo
Copy link

Hi all,

I agree that's easier to just use the print on the browser and save it as PDF, but in reality you get something that's far optimised for the purpose. There's still very little support for CSS Paged Media (@page).
Take a look at https://developer.mozilla.org/en-US/docs/Web/CSS/@page#browser_compatibility and https://caniuse.com/css-paged-media.
That being said, it would be great to have support to create our resume with quality output for PDFs. I had to struggle quite some time to make page breaks work with decent outcome and also keep the background flow when that happens.
BTW: good idea for the QR code... will put that one for sure in my own CV.

@rvdwegen
Copy link

For anyone interested in this functionality you can also use the HTML to PDF action from fifsky.
https://github.com/marketplace/actions/html-to-pdf

@DustinWehr
Copy link

@rvdwegen is there any way for me to very quickly see how well the action will work for my resume, if I've never used github actions? I'm willing to take the time to learn github actions, but only if I know it'll work for my current resume (with, say, at most a few hours tinkering with my html/css). Maybe I could pass you some bucks in exchange for running my html resume through your setup and showing me the results? dustin-wehr-resume.html

@rvdwegen
Copy link

rvdwegen commented May 1, 2023

@DustinWehr open up in chrome and print to A4 PDF, that should be pretty much what you get.

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

No branches or pull requests

5 participants