How to use Flyingbee PDF Conversion SDK.
Quick Start Guide
How to invoke a console program in C++ on Windows?
How to invoke a console program in .NET programming?
Update date: 2024-09-29 18:06:11
Try Flyingbee PDF Converter Online for Free, play with PDF to MS Office (.docx, .xlsx, .pptx) conversion on Web.
Powered by Flyingbee PDF Conversion SDK
Launch the EXE Runtime
Enter the Windows system, open the terminal (PowerShell or Command Prompt).
Enter the following command to navigate to the directory where the exe file is located:
$ CD "C:/Users/Administrator/Desktop/Apps PDF Console"
Notes:
Use forward slash /
in the file path (even though Windows typically uses backslash , use /
here to avoid confusion).
Do not use illegal directory names in the file path, such as ?/*
etc.
Ensure the EXE file has executable permissions and displays the correct icon.
EXE files, DLLs, and resource files must be in the same directory.
Enclose the file path in double quotes ("
) to avoid issues with special characters like spaces.
Differences in Using Platform Commands
PowerShell Command
$ ./FPPDFConverter -i xxxx.pdf
Terminal Command
$ FPPDFConverter -i xxxx.pdf
Display Help Information
Enter the following command to display help information:
$ ./FPPDFConverter -h
Sample Help Information:
=== Welcome to use Flyingbee PDF Converter! === App exe folder: C:UsersAdministratorDesktopApps PDF Console FPPDFConverter v1.6.1.0 FPPDFConverter - Convert PDF to Word/Excel/PPT, etc. Usage: FPPDFConverter -a CMD_Name [input]filepath.pdf [options]docx [output]filepath.docx Where options are: -a [app] The apps: "PDF2Files", "Images2PDF", "Text2Word" -h [help] print this help message -c [open] open converted file [todo] === Thank you for using our product! ===
Sample Commands:
$ ./FPPDFConverter -a PDF2Files -h $ ./FPPDFConverter -a PDF2Files -i "C:/Users/Administrator/Desktop/中文.pdf" -f docx -p all $ ./FPPDFConverter -a PDF2Files -i "C:/Users/Administrator/Desktop/Chinese.pdf" -f jpg -p all $ ./FPPDFConverter -a PDF2Files -i "C:/Users/Administrator/Desktop/Getting Started2.pdf" -f docx -p all -t 5 -c $ ./FPPDFConverter -a PDF2Files -i "C:/Users/Administrator/Desktop/Getting Started2.pdf" -f jpeg -d 300 -p all -t 5 -c
This will output information similar to the following (example):
Welcome to use Flyingbee PDF Converter! FPPDFConverter v1.0.1 ============ CMD: PDF2Files ============== FPPDFConverter - Convert PDF to Word/Excel/PPT, etc. usage: FPPDFConverter [input]filepath.pdf [options]docx [output]filepath.docx where options are: -a PDF2Files -i input.pdf [input]add a new file path for pdf conversion, absolute path -w password [input password]password to open this file -o output.docx [output]write conversion output to file path, absolute path -p 1-3,5,all [options]setup pdf page ranges[todo fix]{default is all} -f docx,pptx,xlsx [options]setup conversion formats{default is docx}, [docx,pptx,xlsx,csv,txt,jpeg,jpg,png,bmp,tif,tiff,gif] -t 0-12 [options]use muti threads{default is 1} -x [options]xlsx, merge muti-sheets into one sheet", -d [options]pdf to image, image dpi, {default is 144} [72 ~ 600] -c [open]open converted file[todo] -h [help]print this help message === Thank you for using our product! ===
This will output information similar to the following (example):
=== Welcome to use Flyingbee PDF Converter! === The app exe folder: /home/peter/FPPDFConverter The input file: "/home/peter/Desktop/Test.pdf" pdfPath1: /home/peter/Desktop/Test.pdf pdfPath2: /home/peter/Desktop/Test.pdf pdfPassword: pw Let's convert PDF to docx The number of pages in this PDF document: 20 Time of license remaining: 29 days, 23 hours, 50 minutes, 11 seconds destDocPath: /home/peter/Desktop/Getting Started2.docx The converter has started. The conversion progress: 5% The conversion progress: 10% The conversion progress: 15% The conversion progress: 20% The conversion progress: 25% The conversion progress: 30% The conversion progress: 35% The conversion progress: 40% The conversion progress: 45% The conversion progress: 50% The conversion progress: 55% The conversion progress: 60% The conversion progress: 65% The conversion progress: 70% The conversion progress: 75% The conversion progress: 80% The conversion progress: 85% The conversion progress: 90% The conversion progress: 95% The conversion progress: 100% The converter will save document to disk... The converter has ended. Time for Conversion: 6 seconds Successfully converted! === Thank you for using our product! ===
After executing this command, you'll see feedback similar to the "Output Reference Example" until the conversion is complete.
Supported image formats: .jpg
, .jpeg
, .png
, .gif
, .tif
, .tiff
, .bmp
, .ico
Sample Commands:
$ ./FPPDFConverter -a Images2PDF -h $ ./FPPDFConverter -a Images2PDF -i "C:/Users/Administrator/Desktop/images/" -o "C:/Users/Administrator/Desktop/Images2PDF.pdf" $ ./FPPDFConverter -a Images2PDF -i "C:/Users/Administrator/Desktop/images/" -o "C:/Users/Administrator/Desktop/Images2PDF.pdf" -p auto
Sample Commands:
$ ./FPPDFConverter -a Text2Word -h $ ./FPPDFConverter -a Text2Word -i "C:/Users/Administrator/Desktop/Txt Tests/text-cn-gb.txt" -o "C:/Users/Administrator/Desktop/Text2Word.docx" $ ./FPPDFConverter -a Text2Word -i "C:/Users/Administrator/Desktop/Txt Tests/text-en-ansi.txt" -o "C:/Users/Administrator/Desktop/Text2Word
4. Feedback During Conversion
During the conversion process, FPPDFConverter provides feedback on the conversion progress until it's complete. Upon successful conversion, you'll see a "Successfully converted!" message, along with the time taken for the conversion.
5. Thank You for Using our product
We sincerely thank you for choosing Flyingbee PDF Converter! We hope our product brings convenience to your work and studies.
Flyingbee Software
Creative Products
Online Store
Social Connections
We uses cookies to give you the best experience, analyze traffic, and personalize content. By continuing using our Site, you agree to our use of cookies. The information collected might relate to you, your preferences, or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Read our Privacy Policy or manage your cookie preferences. If you would like to submit an opt-out request with respect to your non-cookie personal information (e.g., your email address), find our support email address to opt-out of sale/sharing/targeting with respect to non-cookie personal information.