Web to pdf – Webpage to PDF — Free Online Converter

Convert webpage to PDF online

Use this form to convert a webpage to PDF file.

1. Enter the URL of a web page that you want to convert to PDF file. For example: http://www.yahoo.com.
2. Set webpage and PDF options, click «Convert Now!» button to convert. Wait a few seconds for the file conversion to finish. The options include:

  • Authentication: Set HTTP authentication username and password if the webpage needs authentication to open.
  • Post value: Submit a field value to webpage server. For example: post a search value on Google.com.
  • Forms: Turn or do not turn HTML form fields into PDF form fields.
  • Javascript: Allow or disallow webpages to run javascript.
  • Smart shrinking: Enable or disable the intelligent shrinking strategy used by WebKit that makes the pixel/dpi ratio none constant.
  • PDF orientation: Set PDF page orientation to Landscape or Portrait.
  • PDF header: Add or do not add header to PDF document. Hearder information includes URL and page number.

3. You can download or view the output PDF file on your web browser after conversion. No email address required to receive files.

How does webpage to PDF converter work?
A web browser on our server will try to open the URL you submitted, then it prints web page content to a PDF file when web page is loaded completely. This makes PDF file look exactly like the webpage looks in web browser. All text, images and links will be kept in PDF file. You can also convert webpage to JPG image file or convert webpage to PNG image file.

www.pdfconvertonline.com

Convert webpage to PDF and HTML to PDF

Convert Html Files to PDF Documents Instantly


Thank you for using our html to pdf online converter which is completely free. Simply copy your html code and paste it inside the textbox and click on convert to PDF. You will instantly have a great
looking PDF document that you can download right away. Also if you are looking to convert web page to pdf, simply enter the url of the web page and it wil generate a high quality PDF document for you. There is
no software to download and you do not have to pay anything to convert a webpage to pdf. Convert as many web pages to pdf as you want.


HTML to PDF is a super fast PDF converter. It will generate a fully funcitonal PDF document with all the images and perfect alignments. Simply try it out. There are tons of options available to you
to customize your PDF before converting web page to pdf or HTML to PDF.

Convert to PDF — A How to Guide


Sometimes we will receive images, perhaps via email or through social media that simply won’t open as a general photograph or image, known as a jpg. In this case it is advisable that you convert a jpg into a pdf online. JPG images are the standard format in which an image such as a photograph can be viewed, be it online or as a digital image viewed on your computer screen. However, sometimes, especially with projects that require images and text to be merged together into one document, it can become difficult to view these documents together, online. Having all of the text and the images together in one compact, viewable file that is internet friendly is an effective way to see a document all together.



The difficulty with PDF (Portable Document Files) is that they tend to cram text and images together in one file. This can be good for larger projects that are meant for viewing online and with no real need to edit the files. If this sounds like a good reason to convert an image into a pdf file then continue reading, this may be of good assistance to you.


To convert an image into a PDF file online is a relatively simple task. There are online converters that can assist you in this process. Often times there are a variety of online converters that can be found through your regular search engine. However, these aren’t always reliable and many of them charge you to download conversion software. On the flip side there are free software applications that can convert a jpg to PDF online. Simply type image to PDF into Google and you will have a converter to hand within seconds.


There are many different abbreviations for images, such as JPG so you could also benefit from typing ‘jpg to pdf converter online’ or ‘converting jpg to pdf online’. Ensuring you add the keyword ‘online’ will mean that online converters will be more likely pop up in your search, making it more likely that you will find a free application to use to convert image to pdf online.


An example of a website you can use to convert jpg to pdf online is pdfy.net. This is an ideal site for converting jpg to pdf. You simply input the image you wish to convert into a pdf file and it will utilise the application facility and convert it for you in a matter of seconds.


Also, if you are looking for quality then use our PDF image converter here at pdfy.net, and its very quick and can effectively convert images to pdf files so that you can concisely view documents with ease and without having to struggle fitting information onto a page. Of course this also means that documents will be viewer friendly on the internet as well as off the internet.

How and why to convert JPG to PDF


JPG, or sometimes JPEG, is the typical format used to save photos. It stands for Joint Photographic Experts group. PDF, which stands for Portable Document Format, is a type of file developed to help share documents amongst computers operating on different platforms. Each type of file has its own advantages and disadvantages, so it is sometimes necessary to convert images to PDF format or vice versa. This is rather easily done through an online JPG to PDF converter. This process will be explained below.


There are pros and cons to each file format. A JPG is a tightly compressed image file, most often used in instances where the image size must be very small, such as email and or on web sites. Its compression efficiency is impressive, and the file can be compressed to up to one tenth of its original size. This compression comes at a price, however. JPG files use “lossy” compression (lossy means “loss of quality”), which means that the image quality is reduced. The biggest advantage of the PDF is that regardless of how it is being viewed, the PDF will appear exactly the same. It is supported by a larger number of programs and so is seen as more universal. When printed, the photo quality of a JPG image is often less than that of a PDF. If an image requires any editing with text, PDF is the preferred file format. In a professional setting, when the quality of an image is of utmost importance and versatility is needed, it is necessary to convert from JPG to PDF for uses such as brochures and advertisements.


There are a few different options to use when converting JPG to PDF. The first method discussed is an online converter. There are many of these document converters available to convert JPG to PDF online. One can simply go to the search engine of your choice and type in search terms describing what you would like to do, and be rewarded with a list of options, such as pdfy.net. Once you click on a link it will take you to a new web page. There will be a space to upload the JPG from your computer and a drop down menu to select which type of file you would like it converted to- here, you select PDF. You enter your email address and click ‘Submit’, and the PDF will be emailed to you after it is converted (this usually happens within an hour or two). A second method is by using a program such as Picasa or Windows Photo Viewer. First, a program called “novaPDF” must be downloaded and installed. Then the program should be opened and the image selected. Next, press the CTRL+P buttons on your keyboard. When the Print window opens, choose “novaPDF” from the dropdown list and choose a printing layout. After clicking the Print you will be prompted to choose a location where you would like the PDF saved.


Although both JPG and PDF have their individual pros and cons, there are some instances where one format is clearly preferred to another. Knowing how to quickly and easily convert files from one form to another is a desirable skill

pdfy.net

Top 5 Free Android Web to PDF Converter Apps


While online, you might save a copy of a html webpage as a bookmark. But there are several drawbacks with bookmarking a webpage. One of them is that you can only access the page when you have an Internet connection. But what if you want to access it offline? This article will outline the top 5 Web to PDF converters on Android. If you’re interested in finding out free PDF to Web Converters on iOS instead, click here.


Top 5 Android Web to PDF Converters


1. Web to PDF


Web to PDF is an app that can generate PDFs from any webpage. The app has two main tabs — the Create and Browse tab. Hitting the Create tab lets you input the URL of the website you want to save. At the upper right hand corner, you’ll find the Generate tab, which will let you generate a PDF. The Browse tab is where you can view PDFs of the saved web-pages. Long-tapping one of the PDFs offers you the option to open, send, rename or delete it.


As the name suggests, this app converts web pages to PDF files with an easy to use interface. One of the advantages of using this web page to PDF converter app is its built-in web browser. Additionally, the PDF files produced are very clean and well formatted, and can be shared easily via email, Dropbox, Google Drive and more.


One shortcoming of the app, however, are the advertisements that appear below the screen. Although the number of advertisements is minimal, they can still be distracting. The app also lacks the ability to set file parameters.



2. Convert web to PDF


The Convert web to PDF app caters to those who want to convert any website to PDF for offline reading. Upon opening the app, you can see that there is a text field where you can insert the URL you want to convert to PDF. Pressing the Convert button will generate your PDF files.


In the upper right-hand corner, you’ll find the Downloads and Settings icons, respectively. The Downloads screen is where all the PDFs are stored. Long-tapping an item allows you to share, delete, or open the file. Some of the sharing options available are email, Dropbox, Google Drive, and Bluetooth.


The Settings icon allows you to select options such as Insert Table of Contents, Hide Background PDF when exporting, export PDF in grayscale, export PDF in high quality, No export image to PDF, and Export only text to PDF.


An advantage of using this app is its capabilities for customization. This feature allows you to set different parameters for how you want the PDFs to look. Additionally, the app lets the users view PDFs within the app itself.


The advertisements inside the app can be a bit distracting. Also, there is no built-in web browser, so you have to copy the URL from another web browser and paste it into the app. One issue is that when pasting a very long URL into the text field, the link gets cut off.



3. Website to PDF


Website to PDF gives you the ability to set file parameters for each PDF. If you want additional features such as selecting paper size and orientation, this app is great for that as well. Like some of the others, this app also has somewhat irritating advertisements, including a banner at the top of the main screen, a large button at the bottom advertising to buy the full version at the bottom of the screen, and a full screen advertisement when you open a saved PDF. Additionally, there is a sponsored logo that appears at the bottom of each page of the PDF. In order to remove advertisements, you need to pay and upgrade to the full version.



4. Web to PDF saver


As the name suggests, Web to PDF saver saves web pages to PDF for offline reading from your Android device. This app lets you insert a URL to save it to a PDF. It also allows you to select the destination directory of the PDF. Clicking the Save button converts the web page to PDF.


If you want the ability to set file parameters, you might prefer a different app. Also, there is no built-in PDF viewer within the app so the user needs to go outside of the app to view the generated PDF. Plus, advertisement banners can be seen at the bottom of the screen. It also takes a bit more time to convert the webpage to PDF using this application. It is not as fast as other apps mentioned in this list.



5. URLToPDF


URL to PDF is a feature-rich app. You simply insert the URL and click on the Convert button to generate the PDF. There is a wide array of configurations to choose from. These include the option to define PDF parameters such as background, table of contents, grayscale, quality, images, orientation and media print. You can also define items in the header such as page numbers, date, URL, etc. you can also choose User-Agent for the conversion as well. User-Agent includes iPhone, iPad, Android, Chrome or Internet Explorer. Plus, PDF files can be received by email.


The app has a built-in file browser where you can view saved PDFs. It is very useful for people who want a free web page to PDF converter that is packed with many features. Not only does it convert a webpage to PDF, it also allows the user to create a link where the PDF can be downloaded online and easily shared.


Although the app has many features, there are several issues with the app as well. First, there are the advertisements. Second, some features like the Clean Page option are still in experimental stage, so it does not always work reliably. Lastly, the PDF download links may expire depending on the space available on the developers’ server.

pdf.wondershare.com

Convert Web Pages to PDF Files

  1. Software
  2. Adobe
  3. Acrobat
  4. Convert Web Pages to PDF Files

By Jennifer Smith, Christopher Smith, Fred Gerantabee

Adobe Acrobat Creative Suite 5 can capture web content such as news stories or business information and turn it into a PDF file. You can convert a single web page or a whole web site.

If you want to convert only a single page and are using Internet Explorer, click the Convert Web Page to PDF button. This step converts the current web page to a PDF. If you want to convert more than a single page, follow these steps from within Acrobat (not your Web browser):

1From the Acrobat main menu, choose File→Create PDF→From Web Page.

The Create PDF from Web Page dialog box opens.

2In the URL text box, enter the URL for the website you want to convert to PDF.

Use the top level URL. You will select additional pages in the next step.

3Click the Capture Multiple Levels button.

This tells Acrobat to capture additional pages that are linked from the main page you are capturing.

4Select either Stay On Same Path or Stay on Same Server.

Select the Stay On Same Path check box if you want only pages from the entered URL converted to PDF.

Select the Stay On Same Server check box to download only pages that are on the same server as the entered URL.

Be cautious about selecting the Get Entire Site radio button instead of the Get Only radio button. The Get Entire Site option may take an enormous amount of time and not have any relevance to what you need.

5Click the Settings button.

The Web Page Conversion Settings dialog box opens so you can see accepted file types and change PDF settings.

6Click the Page Layout tab.

On the Page Layout tab of the Web Page Conversion Settings dialog box, you can make changes to page size, orientation, and margins if the web page requires a wider or longer layout.

7When you’re done making changes in the Web Page Conversion Settings dialog box, click OK.

You are returned to the Create PDF from Web Page dialog box.

8In the Create PDF from Web Page dialog box, click the Create button to generate a PDF.

The Downloading Status window opens, showing the rate of download.

When the download is complete, the Web page (for the entered URL) selected appears as a PDF document, with hyperlinks (links to other pages within the site) intact. When links on the converted web page are selected, you can open the linked page either in Acrobat or the web browser.


www.dummies.com

Easily convert URL to PDF!

Docs.Zone is the simplest method to save web pages as PDF documents

Updated: 2 January, 2019

Converting a website to PDF is a convenient way of saving its content for offline viewing. PDF is a great format for this purpose thanks to its compact size, ease of navigation, low memory consumption and compatibility with the majority of browsers, devices and operating systems. By default, browsers do not support this feature, but Docs.Zone is fully capable of filling this gap and serving as a virtual printer that can save any web page to PDF. For your convenience, we designed the service in such a way that you don’t need to prepare the source page in any way – just copy and paste the page’s URL into the corresponding field and hit a single button.

Below are the steps you need to take to perform URL to PDF conversion using Docs.Zone:

  • Open your favorite browser and go to the Docs.Zone website at https://docs.zone.
  • Click on the «Web to PDF» tab.
  • Type in or copy and paste the necessary URL into the «Enter the URL below» field.
  • To start the web to PDF conversion process, click the «Save to PDF!» button.
  • A few seconds later, the converted file will be displayed in a table under the URL field.
  • To download the file, click the corresponding button next to it.

Note that your file will only stay available for 6 hours and will be automatically deleted afterwards. If you want to do it manually, use the cross icon opposite the file name.

Docs.Zone is a simple, fast and convenient service that features an URL to PDF conversion tool that can be accessed from any Internet-enabled device. All you need to do is to feed the URL of the necessary site to the program and it will do the rest. This feature comes in truly useful, for instance, when you want to read the content of a very long page on the go, but have limited or no access to the Internet. In this case, you can convert as many pages as needed into compact PDF files and enjoy reading them wherever you go!

docs.zone

Web To Pdf | VeryPDF Online Tools

June 6, 2012
by neomie •
PDF Tools, VeryPDF Online Tools •
Tags: url to pdf, web to pdf, Webpage to PDF, website to pdf • 0 Comment •
19,054 Views

Want to convert URL to PDF? Which kind of webpage converter do you prefer? An free online URL to PDF converter, or a desktop URL converter? This article recommends some best tools which can help you quickly convert URL to PDF. 

1. Free Web to PDF Online—a free online tool

Free Web to PDF Online is a free online URL to PDF converter which only requires two steps to convert a website or a webpage to PDF. It is designed for smart phone or mobile device users like you to convert a webpage to PDF. You No need to install Adobe products like Adobe Acrobat on your computer.

Just take three steps, and you can quickly turn a webpage to PDF.

Step 1: Visit the website of Free Web to PDF Online

You can just  visit the webpage of Free Web to PDF Online, and then convert any webpage to PDF as you like.

In case you want to learn more, you can visit the homepage of VeryPDF Online Tools at first, –> then, click Product on the top of the homepage to swith to the Products page, –> click Free Web to PDF Online on the Products page and you can open the page of Free Web to PDF Online.

Step 2: Enter a URL

Just enter or paste the URL or the website address of the webpage you want to convert in the edit box.

Step 3: Start conversion

Click the Create PDF File button, then you can instantly download and save the output PDF file on your local disk.

[Note]: This tool is total free and stand-alone. You don’t need to install any application on your mobile device or computer.

              However, if the original webpage contains too many images, or flashes, or videos, as the other online tools, this tool will take much time to process the conversion. Under such a circumstance, you are recommended to try the following products.

 

2. docPrint—set various options when convert URL to PDF

docPrint is a star product of VeryPDF. It is also named Document Converter. This tool can be used to convert any type of documents into PDF very quickly including convert URL to PDF. It allows you to set various options so than you can set page size, add watermarks, change page orientation, etc.

You can Click Here to Download the software. After installing it on the computer, you can do as follows:

Step 1: Open the webpage you want to convert.

Step 2: Call docPrint

Press Ctrl+P and then choose docPrint as the printer in the Print dialog box and click Print.The main interface of docPrint pops out, and you can proceed to the next step.

Step 3: Set options

Click the buttons at the top of the main interface to set options. After that go to the next step. You can set options as follows:

  • Set color depth
  • Set resolution
  • Rotate page orientation
  • Change page order
  • Put multiple pages on the same paper
  • Add watermarks
  • Put pages on both sides of every paper

Step 4: Save web as PDF

Click the save icon on the main interface, and then save the webpage as PDF on your computer.

Some of you may need to encrypt PDF, set permissions for output PDF, remove hyperlinks, delete original images. In order to solve such problems, you need the use a professional Web to PDF Converter like the following one:

 

3. HTML Converter—a professinal web to PDF converter

VeryPDF HTML converter provides a command line version as well as a GUI version. It’s a powerful webpage to PDF converter. You can accurately and quickly convert a large webpage to a PDF file conveniently. When convert a website to PDF, you can use it to set not only the options supported by docPrint, but also can set options as follows:

  • Encrypt PDF
  • Adjust webpage content automatically to fit to the paper
  • Set PDF properties
  • Set permissions
  • Change links in PDF
  • Monitor output directory

4. HTML to Any Converter—a powerful web converter

HTML to Any Converter only provides a beta version at present. If you want to evaluate, you can contact with the support group of VeryPDF by sending emails to [email protected]verypdf.com. This tool is very powerful. It can convert HTML or Web to PDF, HTML or Web to image, HTML or Web to other formats like PS and PCL. Of course, you can use it to convert website to PDF. Different from the former software applications, this tool can help you

  • Delete or edit links in PDF
  • Deal with flash and Java data
  • Add annotation
  • Collate when print multiple copies
  • Set HTTP header
  • Support convert protected website to PDF
  • Allow you to use proxy
  • Turn forms on a webpage to editable forms on PDF
  • Use another webpage as a cover when convert a webpage to PDF

 

VN:F [1.9.20_1166]

Rating: 0.0/10 (0 votes cast)

VN:F [1.9.20_1166]

online.verypdf.com

Batch convert Web Pages to PDF

With the batch API you can easily convert a whole set of web pages into a single PDF as well as into an archive or Zip file with individual PDFs. This allows you to convert your entire website into PDF or to take different webpages from different sources and convert them into one PDF. You can use it to create customized PDF backups of your complete site or to create high-quality reports, e-books, brochures and much more!
We also offer a manual way of doing all this in our members area. Read more about that here!

Features

  • Convert an entire web site to a single PDF as well as into individual PDF documents per web page.
  • Batch process a set of URLs or web pages for conversion and get an archive or Zip file with PDFs back.
  • Very fast conversion times and easy monitoring of progress.
  • Control options for PDF layout, headers and footers and much more!
  • Each PDF in the batch can have different layout and other options!
  • Convert or exclude parts of a webpage
  • No installation required!

Basic Usage

Our batch Web to PDF API takes a license and either a set of URLs or a sitemap as input and then schedules a job on one of our servers. As soon as the job is finished you will be notified by email. You can also use other options to monitor the progress yourself of course.

All you need to do is just send a request similar to this, which converts the pages of http://www.example.com (indicated by its sitemap) to one large PDF:

https://pdfmyurl.com/batch_api?license=yourlicense&sitemap=http://www.example.com/sitemap.xml

Or by using the urls[] array like this:

https://pdfmyurl.com/batch_api?license=yourlicense&urls[]=http://www.example.com/page1.html&urls[]=http://www.example.com/page2.html

Each request should at least have the following components:

  1. endpoint: this should be http://pdfmyurl.com/batch_api or https://pdfmyurl.com/batch_api for secure access
  2. license: this is mandatory and you will get yours when you sign up
  3. urls[]: an array with web pages that you want to convert OR
  4. sitemap: the URL of your sitemap in XML format, which you can create online here if you don’t have any yet!

Additionally the following optional parameters determine the way the batch is treated:

  • merge: set this to true if you want a single PDF consisting of all your conversions OR set it to false if you only want an archive or Zip file with a PDF for each single conversion. You will always get the archive/Zip file and by default we will assume you also want a single large PDF of all pages combined.
  • include_toc: set this to true if you want a table of contents at the start of your PDF. This only works if you set the merge parameter to true.
  • archive_type: set this to zip if you want a Zip file or tar if you want a gzipped Tar archive. As a default you will get the gzipped Tar archive.
  • archive_filenaming: use this to control the filenames in the archive. You can use the following masks in the filename:
    • %url — the URL of the webpage
    • %title — the title of the webpage
    • %YYYY, %MM, %DD, %hh, %mm, %ss — year, month, day, hour, minute and second
    • So if you set this to %url.pdf you will get an archive of PDFs with the name based on the URL. If you don’t use this parameter then all your PDFs will be numbered consecutively.
  • dropbox: set this to true if you want to have the result saved to your Dropbox account. This only works if you have authorized our service to your Dropbox account after you bought the upgrade to the advanced website conversion page.

NB: Each URL in the batch counts as one conversion and by default we allow a maximum of 500 conversions per batch. Please contact us if you need more conversions per batch.

Setting Options

All the options that you set in our members area are used as defaults for the batch API as well. You can also set all options that we support for the regular HTML to PDF API. This includes options for page layout, headers and footers, but also encryption settings, watermarking options and custom backgrounds. You can set these options as default for all the conversions in the batch and then override them for each conversion in the batch.

Example: If you want to set the default orientation of the conversions to A4 format and portrait orientation, you would use the following request.

https://pdfmyurl.com/batch_api?license=yourlicense&sitemap=http://www.example.com/sitemap.xml&page_size=A4&orientation=portrait

The table below some examples of the settings that you can change to control the conversions. For a full overview of options please refer to the documentation of the HTML to PDF API.

ParameterDescription
page_sizePage size, such as A4, Letter etc. See the full list for details.
orientationPortrait or Landscape orientation
contentControls which content of the page you want to convert or exclude. See part of page conversion for more info.
css_media_typeUse print for the print friendly layout (CSS media type ‘print’) if your web page has one
headerHTML that you want to use as header
footerHTML that you want to use as footer

The header and footer can be specified in HTML and we also support extra parameters for dates and page numbers. Have a look at the extensive documentation.

Overriding options

The options that you have used above are defaults that will be taken for all conversions in the batch. In a lot of cases you may want to have different options for different web pages within the batch and then you can override these options on a case by case basis.

You might want to have all pages in your final PDF in landscape, but the page(s) of the first conversion in portrait. Using the ‘exceptions’ parameter will allow you to do so.

ExampleExplanation
exceptions[1][orientation]=portraitSets the orientation of the 1st PDF in the batch to portrait.
exceptions[2][page_size]=A3Sets the page size of the 2nd PDF in the batch to A3
exceptions[12][width]=210Sets the width of the 12th PDF to 210mm (mm is default if nothing is specified).
This will create this 12th PDF as a single long one page PDF.

Including a table of contents

If you have chosen to include a table of contents for your PDF then you can define the layout in case you bought the upgrade to the advanced website conversion page. The documentation explains how you can use HTML and special shortcodes to get the table of contents you want.

These are the settings you can use.

ParameterDescription
tocControls the contents and layout of the table of contents page(s).
toc_headerSets the header of the table of contents page.
toc_footerSets the footer of the table of contents page.

Return codes

Our batch API returns HTTP response codes, which you can check to see if the conversion was successful or not. The following is the list of return codes we use.

CodeDescription
200 OKYour conversion was processed succesfully
400 Bad RequestYou didn’t specify anything to convert or your data was malformed
401 Authorization requiredYou specified an invalid license key
429 Too Many RequestsYou have overrun a usage limit for your plan
503 Service unavailableYou are sending multiple requests at the same time to the API from the same IP address

We also return output on the job details. By default we return these in JSON format and you can use the output parameter to get it in different format (json = JSON, text = text, html = html or none = no output).

Typically you’ll get something like this as a result in case of a successful job creation:

array (
  'job' => 5110,
  'priority' => '1',
  'merge' => true,
  'conversions' => 16,
  'urls' => 
  array (
    1 => 'http://www.example.com/',
    2 => 'http://www.example.com/developer',
    3 => 'http://www.example.com/payment-methods-and-security',
    4 => 'http://www.example.com/customer-service',
    5 => 'http://www.example.com/customization',
    6 => 'http://www.example.com/features-overview',
    7 => 'http://www.example.com/contact-us',
    8 => 'http://www.example.com/localization-global-payments',
    9 => 'http://www.example.com/clients',
    10 => 'http://www.example.com/subscription',
    11 => 'http://www.example.com/in-app-purchases',
    12 => 'http://www.example.com/purchases',
    13 => 'http://www.example.com/payments',
    14 => 'http://www.example.com/relationship-rights-management',
    15 => 'http://www.example.com/faq',
    16 => 'http://www.example.com/optimization',
  ),
)

Progress monitoring

You can get one or more notifications when your job completes at our server or you can track the progress yourself with the batch monitor API (see below). If you just want to get notified upon completion, then you use the following parameters in the API call:

  1. email: we’ll send a job completion notification to the address you specify
  2. callback: we’ll POST the job results to the URL you specify here

Callbacks

If you added a callback URL to the API call then we will POST the following data to the callback URL upon completion of the job. You will be able to use these to download the results.

  • job: the job number
  • success: true when the job completed successfully or false when something went wrong
  • conversions: the number of conversions that were executed
  • download: the URL where you can download your resulting PDF or archive
  • archive: the URL where you can download your archive or ZIP file

Batch monitor API

You can also track the status and progress of your batch jobs via a separate HTTP request. This request by default will give you a JSON response indicating job details and status.

Just send a request similar to:

https://pdfmyurl.com/batch_monitor?license=yourlicensekey

The request can have the following components:

  1. endpoint: this should be http://pdfmyurl.com/batch_monitor or https://pdfmyurl.com/batch_monitor for secure access
  2. license: this is mandatory and you will get yours when you sign up
  3. job: this is optional and will limit the output to only this job.
  4. output: json or text output. This parameter is optional and by default we assume you want a JSON response.

The output that you will receive will look something like this. Please be aware that we may add fields to the structure in the future!

array (
  219 => 
  array (
    'submitted' => '2015-05-07 18:10:17',
    'finished' => '2015-05-07 19:54:00',
    'status' => 'completed',
    'success' => true,
    'conversions' => '27',
    'pages' => '27',
    'download' => 'https://pdfmyurl.com/download?id=51223c91336af3',
    'archive' => 'https://pdfmyurl.com/download?id=51223c91336af3&type=zipfile',
  ),
  220 => 
  array (
    'submitted' => '2015-05-07 18:44:50',
    'status' => 'processing',
    'conversions' => '33 out of 48',
  ),
  221 => 
  array (
    'submitted' => '2015-05-07 18:45:59',
    'status' => 'waiting',
    'conversions' => '0 out of 27',
  ),
)

Note that the ‘status’ field will indicate if your job is ‘waiting’ / ‘processing’ or ‘completed’ and the ‘success’ field will indicate true when everything went well or false when something went wrong.

We kindly request that you do NOT send non-stop requests to the monitoring API. The data is only updated once per second and we therefore ask you to only send a request every few seconds or so.

pdfmyurl.com

Отправить ответ

avatar
  Подписаться  
Уведомление о