Audi A5 / S5 / RS5 Coupe & Cabrio (B9) Discussion forum for the B9 Audi A5, S5 and RS5 Coupe and Cabriolet 2018 model year and up

2019 A5/S5 Owner Manual - Digital Copy

Thread Tools
 
Search this Thread
 
Old 01-06-2019, 06:59 AM
  #11  
AudiWorld Member
 
John Harry's Avatar
 
Join Date: May 2018
Location: Pittsburgh, Pennsylvania
Posts: 147
Received 15 Likes on 14 Posts
Default

Originally Posted by heymoe
No problem.. It was a fun little project for me to work on this morning.
Thanks, heymoe. Care to share how you created it? I know there are methods for converting html to pdf but don't know anything about them.
Old 01-06-2019, 07:13 AM
  #12  
AudiWorld Senior Member
Thread Starter
 
garberfc's Avatar
 
Join Date: Nov 2018
Location: Central, CT
Posts: 1,137
Received 371 Likes on 230 Posts
Default

Originally Posted by John Harry
Thanks, heymoe. Care to share how you created it? I know there are methods for converting html to pdf but don't know anything about them.
+1
Old 01-06-2019, 11:16 AM
  #13  
AudiWorld Senior Member
 
heymoe's Avatar
 
Join Date: Jul 2004
Posts: 991
Received 175 Likes on 99 Posts
Default

Originally Posted by John Harry
Thanks, heymoe. Care to share how you created it? I know there are methods for converting html to pdf but don't know anything about them.
I'm sure there are other ways of doing this but here are the steps at a high level.
_
  • Load up Audi Online Owner's Manual site with a VIN for the manual you want to convert
  • Click the Zoom button and slide the slider to max zoom on single page
  • Next, explore the page source code looking for the link / URL that is used to load the image of the currently zoomed in page (Developer Tools in Chrome)
    • The name of the image file increments for each page of the manual (page0001_4.jpg - page0408_4.jpg for example)
  • Now download the JPG for each page of the manual (curl in linux)
  • Then converted each of the page JPG files into a PDF version (img2pdf in linux) Can skip this step since pdfjoin can do the JPG to PDF + Merge itself
  • Then merged each of the PDF page files into a single PDF file (pdfjoin in linux)
  • Finally ran the merged PDF file though OCR to make it searchable (ocrmypdf in linux)
Can create others if there are requests.

Last edited by heymoe; 01-07-2019 at 08:35 AM.
The following users liked this post:
2DaLab (09-04-2021)
Old 01-06-2019, 11:40 AM
  #14  
AudiWorld Member
 
John Harry's Avatar
 
Join Date: May 2018
Location: Pittsburgh, Pennsylvania
Posts: 147
Received 15 Likes on 14 Posts
Default

Thanks!
Old 01-06-2019, 08:04 PM
  #15  
AudiWorld Senior Member
Thread Starter
 
garberfc's Avatar
 
Join Date: Nov 2018
Location: Central, CT
Posts: 1,137
Received 371 Likes on 230 Posts
Default

Thanks! Are all the pdf programs standard with linux?

Signed, a suffering, measly, windoze user
Old 01-07-2019, 04:22 AM
  #16  
AudiWorld Senior Member
 
heymoe's Avatar
 
Join Date: Jul 2004
Posts: 991
Received 175 Likes on 99 Posts
Default

Originally Posted by garberfc
Thanks! Are all the pdf programs standard with linux?

Signed, a suffering, measly, windoze user
I can't speak for all the different Linux distributions but it looks like Arch, Debian and Ubuntu have all the different PDF programs in their software repository. Even if the apps are not included in the distro's software repo, you can always install them from source too.
Old 01-07-2019, 05:06 AM
  #17  
AudiWorld Member
 
ChrisBWJ's Avatar
 
Join Date: Oct 2015
Location: SE MI
Posts: 114
Received 8 Likes on 7 Posts
Default

Were you able to automate the jpg download process, or did you have to do each one manually? Same with the PDF conversion process?

If you did it all page by page, I think there are a number of us who owe you an adult beverage of your choice!
Old 01-07-2019, 06:00 AM
  #18  
AudiWorld Senior Member
 
heymoe's Avatar
 
Join Date: Jul 2004
Posts: 991
Received 175 Likes on 99 Posts
Default

Originally Posted by ChrisBWJ
Were you able to automate the jpg download process, or did you have to do each one manually? Same with the PDF conversion process?

If you did it all page by page, I think there are a number of us who owe you an adult beverage of your choice!
I did write a small script that generated a batch file with all the curl commands to download all the page JPGs. The other apps for the PDF conversion and OCR could be run using a single command-line with wildcards or linux command-line shortcuts / stacking.

So over all not a fully automated process but also not a completely manual and time consuming one command at a time per page type of thing either.
Old 01-07-2019, 07:02 AM
  #19  
AudiWorld Member
 
ChrisBWJ's Avatar
 
Join Date: Oct 2015
Location: SE MI
Posts: 114
Received 8 Likes on 7 Posts
Default

Still an effort worthy of an adult beverage on me if our paths ever cross!!

Thank you for doing this!
Old 01-07-2019, 04:07 PM
  #20  
AudiWorld Senior Member
Thread Starter
 
garberfc's Avatar
 
Join Date: Nov 2018
Location: Central, CT
Posts: 1,137
Received 371 Likes on 230 Posts
Default

Originally Posted by ChrisBWJ
Still an effort worthy of an adult beverage on me if our paths ever cross!!

Thank you for doing this!
+1


Quick Reply: 2019 A5/S5 Owner Manual - Digital Copy



All times are GMT -8. The time now is 02:51 AM.