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

Chart not rendered properly (5 replies)

$
0
0
Hi,
I'm trying to convert this url:

http://e116.webratio.com:8081/GetReportC.do?pcp20s=5114&pcp21s=49&pcp22s=8KLeoyMF&pcp23s=1

with the java API. The page contains two charts and they are visible in the pdf too, but the positioning is not correct (pdf attached).
Do you have any suggestion on what I can change in my js or css to mak it work?

Thank you very much

Sending pdf through pdfcrowd but not opening pdf in rediffmailpro email id account (3 replies)

$
0
0
i have created sending pdf attachement to email using your pdfcrowd api. I have to email ids one email go to gmail which is working fine but in rediffpromail email id account not opening pdf file saying error "unable to load pdf".please help me how to open pdf also in rediffpromail.

my code is:

<?php

require 'pdfcrowd.php';

try
{
    // generate a PDF file
    $client = new Pdfcrowd("apiusername", "apiuserkey");
     $pdf = $client->convertURI('new.php');
     //Deal with the email
    $to = 'test@new.com';
    $from = 'test@new.com';
    $subject = 'a PDF file for you';
    $content = 'Please find the file attached';
    $attachment = chunk_split(base64_encode($pdf));
    $filename = "myfile.pdf";
    $boundary =md5(date('r', time()));
    $headers = "From: $from\r\nReply-To: $from";
    $headers .= "\r\nMIME-Version: 1.0\r\nContent-Type: multipart/mixed; boundary=\"_1_$boundary\"";
    $message="This is a multi-part message in MIME format.
    
--_1_$boundary
Content-Type: multipart/alternative; boundary=\"_2_$boundary\"
--_2_$boundary
Content-Type: text/plain; charset=\"iso-8859-1\"
Content-Transfer-Encoding: 8bit

$content
--_2_$boundary--
--_1_$boundary
Content-Type: application/pdf; name=\"$filename\"
Content-Transfer-Encoding: base64
Content-Disposition: attachment
$attachment
--_1_$boundary--";
    mail($to, $subject, $message, $headers);
}
catch(PdfcrowdException $e)
{
    echo "Pdfcrowd Error: " . $e->getMessage();
}
?>

css page size (1 reply)

$
0
0
I was wondering if page size is possible to set through css @page-rules

Pdfcrowd error : [400] No API Conversion Tokens Available (no replies)

$
0
0
Hi, I am Rochmah. I need some free tokens to test the service please give me some free tokens.

Here's my API Key dd9e282****************3ebc5bb04
$client = new Pdfcrowd("rochmah", "dd9e282****************3ebc5bb04");
Thank you,

Conversion very slow (2 replies)

$
0
0
When i convert one zip file(include css/img/font), it's very slow, near 5 mins, but it's quickly via online conversion, can please help to share the code for the online process.



code:
FileOutputStream fileStream;
Client client = new Client("xxx", "xxx");

System.out.println("start:"+new Date());
fileStream = new FileOutputStream("D:\\xxx.pdf");
client.convertFile("D:\\xxx.zip", fileStream);
fileStream.close();

start:Thu May 05 17:31:09 CST 2016

end:Thu May 05 17:35:58 CST 2016


thanks very much.

Pdfcrowd Error: [6] name lookup timed out (1 reply)

$
0
0
I'm getting the error "Pdfcrowd Error: [6] name lookup timed out" when I click on one of my Print & Download buttons, it worked before and other site plans work but this one won't for some reason I have no idea why. In Wordpress I set it up the exact same way as all the other neighborhood site plans!!! Any help with this error would be appreciated and this was the closest post I could find to my issue.

Here is the link that gets generated with the error:

http://jamyershomes.com/wp-content/themes/ja_myers/inc/generate-pdf-neighborhood.php?pdf=http://jamyershomes.com/neighborhood/oxford-glen/?pdf

Here is the page that you click the Yellow "Print & Download Site Plan" button:
http://jamyershomes.com/neighborhood/oxford-glen/#tab-item=#tab-2

Thanks!

Generate Seprate PDF in ForLoop (no replies)

$
0
0
Hello,

I Want To generate PDF:
Like: In Database 10 record Available, so, create for loop for Generate HTML, Html Fix for all Pdf only some of part PDF value change as per database,
So i call For Loop 10 Time,
then i need 10 Seperate PDF. Its Possible? if yes then can you exaplain how?

Default page margins (1 reply)

$
0
0
Hi,

I'm using the APi and I want to set a margin at the bottom of the A4 page so that I can add Page Numbers into the footer. To do so I want a margin at the bottom. Im using the SetPageMargins method, however I only want to change the bottom margin - what are the default margins set on an A4 page when margins are not specified? If i know the default values I can at least use the method like so (assuming the default is something like 10mm):

client.setPageMargins("10mm","10mm", "my custom mm", "10mm")

Many thanks
higgsy

PDF dowload location (2 replies)

$
0
0
Hello Support Team,

I'm downloading pdf using $client->convertURI($url); function but I have to know pdf download location because I have to upload it on amazon s3 server while click on download button.

I'm looking here.

Remove the Save as PDF Link from the created PDF (1 reply)

$
0
0
We are considering purchasing a license for the Save as PDF Link product. However, our tests that we have done with the product, while they create a nice PDF, they also include the "Save as PDF" link which we do not want in the PDF. What can we do to not have this be a part of the PDF?

Thank you in advance.

Robin McDermott

No Elements Displayed in the pdf. (no replies)

$
0
0
Hello,

I've been using pdfcrowd to convert our site pages into pdf and I have some concerns for it.

Why does the google map on the pdf output has no display? http://screencast.com/t/hqE6lMOBg1
Do anyone know how to fix this issue?
This is the url. http://reinhart.wpcrank.com/locations/#Milwaukee


Also please help in this link http://reinhart.wpcrank.com/specialty-practices/patent-and-intellectual-property-litigation/#overview
The output pdf It has no image display. There's no css set that the image will display: none; http://screencast.com/t/E3fns4u63sh7
This is the url. http://reinhart.wpcrank.com/specialty-practices/patent-and-intellectual-property-litigation/#overview

Response Headers - Content-Length (1 reply)

$
0
0
Does PDFCrown rest api provide Content-Length header values?

I am getting HTTP response code 411 Length Required using a Java Rest Client.

php upload file for conversion on own server (no replies)

$
0
0
I am trying to create a page where I can upload a file (happens tone html) and convert it.
This is a workaround for an app that produces a report as and HTML file and I want it as a PDF. The reason to do it on my own server is so that I can add formatting for the same report but different users.

Are there any examples someone could point me to or the code I need to use?

Set Page Margins are not working. what I am missing? (no replies)

$
0
0
$pdfcrowd->setPageMargins("2in", "0.35in", "0.35in", "0.35in");

Server not handling multiple requests at a time (no replies)

$
0
0
Hi,

I have an application under development with which I am encountering a problem. And that is PdfCrowd server is not handling multiple requests at a time. I am using a trail account. Please respond on my official email : shubhamgoel@mobikasa.com

Why does content that which is longer will go to next page. (no replies)

$
0
0
http://screencast.com/t/Ev3hGOoOxjsT

I've check the css there's no page-break-after / before / inside : always.
This is the url. http://reinhart.wpcrank.com/people/john-zawadsky/#overview . Just click the icon in the right side. http://screencast.com/t/Cw2A50jH

Pdfcrowd Error: [510] Invalid parameter value - width (1 reply)

$
0
0
Why am I getting this error when I try and download a PDF: Pdfcrowd Error: [510] Invalid parameter value - width

Anyone run into this error? I have no idea where to look in the website to find this issue.

Can't set footer margin-bottom to create gap between document edge and footer? (no replies)

$
0
0
Hello all,

Just recently started using PDF Crown and am loving it! Trying to figure out a couple things and am trying to create blank space between my footer and the edge of the bottom of the document. I've read that the API sets a default on the footer to a bottom- margin of 0 and would like to figure out how to achieve my desired result. Anyone have any experience with this? I'm using ASP.NET.

Thanks in advance!

Russ

Header exclude page options (no replies)

$
0
0
Hello,

My client would like to have the header only show on select pages in the PDF. I understand we can exclude the pages in the API, but that API function refers to the outputted PDF page #'s right? We wouldn't have any way of knowing those page numbers at run time as they are very unlikely to match up exactly as the content pages we are pushing to it. Make sense? Am I missing something? How would we go about having it only on page 1?

So then I was thinking we could just not use the header function and put drop in our own header right in the content where needed. The problem then though is that the top margin would be the same for both the header on the first page and the content on the 2nd page, instead of the content starting at the same point consistently. Maybe it would work to have a big top-margin and use negative margins on the header html we inject?

Any other thoughts or ideas?

Thanks much!

Philip

1 Row dosent shown in PDF (no replies)

$
0
0
i am trying to convert this page to PDF:
http://newipi.s21.upress.link/?page_id=254

but i am getting a missing row, what i am doing not good?

thanks, dave
Viewing all 340 articles
Browse latest View live