Quantcast
Channel: Pdfcrowd Forums - Pdfcrowd Support Forum
Viewing all 340 articles
Browse latest View live

Page breaks (1 reply)

$
0
0
I am using Jupyter to generate html files and setting custom css file as :

.pagebreak
{
page-break-after: always;
}

Later on I use markdown as:

<div class="pagebreak"></div>

and convert the notebook to html and download it.
when the I use pdfcrowd to generate pdf from that html, there is no page breaks.
How can this be resolved or checked where is the issue.

Generating PDF while using cookies. (1 reply)

$
0
0
We've got pages that are generated through cookie data. With that being said, it seems that the normal method of $client->getUrl() doesn't support requesting cookie data. I know there is this tool out there that does work with requesting cookie data but I'm not sure if this supports this or not. I've seen some threads about being able to get a PDF out of $client->convertHTML() which does work from what I've tested (minimal stuff). I've also read that you are able to send through CSS/images/etc. by making sure that the absolute url is brought with the HTML data, if so, does it then apply all of the styles/etc. to the page like it normally would because that should be able to suffice if there isn't an option to get the cookie data along. Thanks!

Overlay images and some div not shown in pdf (1 reply)

$
0
0
Some images with overlay and div not shown in pdf file.

as url link is: http://nummeroservices.com/RenO1/

Regarding Fatal Error (1 reply)

$
0
0
Hi,



Please help me in the following:

Fatal error: Uncaught 60 - SSL certificate problem: unable to get local issuer certificate thrown in D:\xampp\htdocs\ctrsArchUIv2\application\helpers\pdfcrowd_helper.php on line 715



My limited credit was over two days back and I made a renew request to support team. They helped me on upgrading one another 100 credit and also mentioned me that to convert to beta version and will get unlimited credits. So I did the same and also used the new API document integration on my PHP codes. But while I try loading I receive the above fatal error. Please help me. I also attach my code below for reference.



// create the API client instance
$client = new \Pdfcrowd\HtmlToPdfClient('user-name', 'api-key');
// run the conversion and write the result to a file
$client->convertUrlToFile('http://uatserver.info/ctrsArchUIv2/login/tktviewmail/eticket/MTU5MTIz/Mw%3D%3D', 'example.pdf');

How do i send data to the printed page? (3 replies)

$
0
0
Hello,
I would like to know how to send data to the printed page using POST or other methods (just not GET)?
i am using convert_url method
thanks

Font not loading (1 reply)

$
0
0
Hi,

I am creating pdf from html but font is not loading here is error log:
https://api.pdfcrowd.com/debug/058009fdde57e72ce052c3b1d4481fcb.txt

Please guide me how to add font. Even size is 153KB.

Page missing some data (no replies)

$
0
0
URL to convert is here: http://www.verbmedia.com/test/test.html

but output PDF looks like this (see attached).

What am I doing wrong?

Can't download the new BETA version (1 reply)

$
0
0
Hello,

whenever i download the beta version i get the same version as the stable version

i want to use some of the new function yet no matter how many times i download the api i get the stable api, and i can't seem to be able to call some new functions like:

setCookies or other functions that i need

can you send the version to me or post it somewhere?

thanks

flex box (1 reply)

$
0
0
It looks to me that creating a pdf using php API does not support flex-box, whereas the online converter does support it.
Not sure why that would be the case. Please advise if there's anything I'm missing about this.

convert to Base64 string (no replies)

$
0
0
How should I go about converting the response from convertHtml() to a base64 string?

strange spacing between characters (no replies)

$
0
0
Hello,

I have a small space appearing between two characters. There's nothing in the code to reflect this - and looking at it in the browser it doesn't appear at all. I've created hundreds of PDF through your generator and have never come across this issue before. I don't use any unusual settings on the generator, other than "Single Page PDF"

2 attached files - "code_snippet.png" showing the HTML code in question, and "odd_character_space.png" showing the odd spacing issue.

How to view javascript errors of distilled document (3 replies)

$
0
0
Hello,

we'r experiencing some javascript errors in the converted/distilled html document but we have no idea what errors are those (as we see only resulting 'broken' PDF).
From the browser perspective the document is fully working with no errors (when we open that same url in a browser).

Is there any way to view errors of a single transformation/distillation process (url)?
I saw there is some remote error log like https://api.pdfcrowd.com/debug/058009fdde57e72ce052c3b1d4481fcb.txt - is it for new API only? How to utilize it?
How to get any feedback about whatever failed in the javascript on the transformation side?
We'r using normal API (and have a dedicated API server).

Thanks for any hint/info.

Could not resolve host pdfcrowd.com (3 replies)

$
0
0
I am getting the following error intermittently:
PHP Fatal error: Uncaught [6] Could not resolve host: pdfcrowd.com

What is causing this?

I need help to make setting on my profile. (1 reply)

$
0
0
I have used this before but my account expired and now I have pay again. I lost all settings and now I can create a pdf file.. can you please help me with the settings? i.e: I want PDF in single page and A4 format. Please help me!!

error: blank pdf file (1 reply)

$
0
0
I used old version api in URL to PDF
but it suddenly occured error "Internal error: UrlToPdf [1]" yesterday.
so I changed new version.

today I found some error.
same input but different result.

I use this link: href="//pdfcrowd.com/url_to_pdf/?width=11.7in&height=8.3in&use_print_media=1&hmargin=0.2in&vmargin=0.2in&pdf_name=name.pdf

please help me.

Line of text split between two pages (2 replies)

$
0
0
Hello,

For the page https://www.gallowaylawfirm.com/lawyer/doris-t-bobadilla/, if you create the PDF the word 'recreation' on the right side is split between two pages. How can we solve this? The PDF generated is attached.

Thanks,

Philip

ASP.Net Repeater control not rendered (1 reply)

$
0
0
I am using pdfcrowd without problems, except in a case in which I convert to pdf an asp.net page with a Repeater control that is not rendered when generating the pdf

How to make converter wait? (1 reply)

$
0
0
I have very long loaded js requests page.
I want converter to wait more than 5 sec.
How can I do it?

Sidebar showing in pdf (1 reply)

$
0
0
Hi,
i get the sidebar to print in the pdf

Would it be possible to not print it? I'm thinking some css solution...

Thanks

https://mymediterraneancharter.com/print-page/?idx=4114

php web page with charts ( donut, morris etc), convert to pdf shows small size and stick to left side contents (1 reply)

$
0
0
when i am using pdfcrowd api code below :-

<?php
require 'pdfcrowd-php/pdfcrowd.php';

try
{
// create an API client instance
$client = new Pdfcrowd("username", " api key ");
$client->setPageMargins("20mm", "20mm", "20mm", "20mm"); // <<< this is my addition line

$pdf = $client->convertURI('http://dev.cloudwifi.io/detailedAnalyticsHtml.php?iD=37&lang=fr');
// set HTTP response headers
header("Content-Type: application/pdf");
header("Cache-Control: max-age=0");
header("Accept-Ranges: none");
header("Content-Disposition: attachment; filename=\"Analytics.pdf\"");

// send the generated PDF
echo $pdf;

}
catch(PdfcrowdException $why)
{
echo "Pdfcrowd Error: " . $why;
}
?>


NOTE:- what happened that my php web page containing some charts ( donut , morris etc ), when page converted to pdf file, the text of the page is small and lean to left hand side, i m also attached my pdf file
Viewing all 340 articles
Browse latest View live