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

Table head on multiple pages (thead) (1 reply)

$
0
0
My client is a long time pdfcrowd customer that I referred and I have a project now that requires the HTML thead on each page. This works quite well with the OS print dialog but there are no headers on subsequent pages with the generated PDFs. I found another thread about this from years ago (http://pdfcrowd.com/forums/read.php?4,1720) but still no solutions.

I tried and could use the HTML header API parameter but the problem is that the data and columns are variable so it's not really an option. Is there any way to accomplish this task with pdfcrowd? Is there any planned support for THEAD? Thanks for any help!

Quick way to convert whole site? (1 reply)

$
0
0
Maybe I'm just being blind, but I can't figure out how to do an entire site without writing code... is there a way to do it from the browser?

Best way to test css output? (no replies)

$
0
0
Right now to test out my css I have to create a pdf. What is the best way to test the css without producing a PDF?

Is there some way to emulate what the pdf will look like given some HTML and css?

502 'Sorry, we couldn't process your request.' on a < 2 second page (3 replies)

$
0
0
I've got a public URL that completes download in under 2 seconds that sporadically gives me 502's when calling via curl with the following page setup. I read in other places in the forum that this could happen if my request takes > 40 seconds, but unless it is taking the backend > 38 seconds to rescale the pages, I can't see how this is the case.


I've munged the example below to remove sensitive data, but I can PM you the exact url if you need that to reproduce.

$ curl --silent -F src=http://user:pass@www.domain.com/draw_request_shared/4/6/ \
>    -F username=<REMOVED>  \
>    -F key=<REMOVED>  \
>    -F page_layout=2  \
>    -F width=11in  \
>    -F height=17in  \
>    -F html_zoom=80  \
>    -F pdf_scaling_factor=.6 \
>    -w %{http_code}-%{content_type} \
>    -o curl.pdf http://pdfcrowd.com:80/api/pdf/convert/uri/
502-text/plain

$ cat curl.pdf
Sorry, we couldn't process your request.

how to use helvetica or gill sans font in pdfcrowd pdf (1 reply)

$
0
0
how to use helvetica or gill sans font in pdfcrowd pdf
I am passing it from below code
<html><head><style>
body { font-family: Gill Sans MT, Helvetica, sans-serif;color:red; } </style></head><body>hey</body></html>
But pdf shows data in arial font

CMYK Color (1 reply)

$
0
0
I've been looking around the documentation for a bit and can't seem to find anything on how color is handled in the PDF document. I need to produce a pdf that uses CMYK color and not RGB. Can the api handle that? How?

Unable to convert a URL (1 reply)

$
0
0
http://www.lamarpa.edu/PPWO/WorkOrdersPrint/20170810114022.html

When I click on the red button I keep getting your website. I have another page that is working flawlessly. I am very confused.

Thank you.

Chrome on Iphone/Ipad not valid PDF (3 replies)

$
0
0
Hi guys. For simplicity sake I went back to example for ASPX generating PDF using client.convertURI("http://www.google.com", Stream); I copied all the code exactly as per the example and I generate PDF successfully on all desktop browsers and even in Safari on IOS devices. In Chrome the PDF also generates inline (not ideal but different issue I will address) however if you click on Save in IBooks or any PDF it simply comes back as not valid PDF. I spent half a day now looking for a solution of if it is a known issue with PDF's on Chrome on iPhone but no luck. My client employees all use iphones and of course as luck will have it Chrome browsers on the iphone and all experience same issue.

pricing an billing (no replies)

$
0
0
can any one for PDF crowd wupport contact me for letting me know about the Enterprise grade pricing and billing options

billing and Pricing (1 reply)

$
0
0
We have to use HTML to PDF API for our cleitn project and need annual subscription. Can you please let me know about whom to contact for discount. We will pay in advance

nitin
nitin@accemy.com

CSS font links 502 (1 reply)

$
0
0
Since yesterday a large number of people cannot render fonts correctly.

Looking into it, everyone with the issue was linking to fonts hosted in Google Drive or DropBox.

Example code below:

@font-face {
    font-family: 'TradeGothicLTStd-Regular';
    src: url('https://www.dropbox.com/s/lwzc1rcgziyyl9e/trade-gothic-lt-std-5914a7ed793fe.ttf?dl=1') format('truetype');
    font-weight: 200;
    font-style: normal;
}

The link to the font file resolves fine and works everywhere else, however PDFCrowd seems to time out on it.
As noted, this worked fine until yesterday.


Thanks

pdfcrowd not functionally with my page (1 reply)

$
0
0
Hi, I'm trying to convert this html page https://www.magazzinoperfetto.it/test/fattura/green.html with this page https://www.magazzinoperfetto.it/test/index.php

The code that I used is:

<?php
require 'pdfcrowd.php';

try
{
    // create an API client instance
    $client = new Pdfcrowd("siriuxs", "56f244f7408025bcecf03192f718da3f");

    // convert a web page and store the generated PDF into a $pdf variable
    $pdf = $client->convertURI('https://www.magazzinoperfetto.it/test/fattura/green.html');
    $client->setPageWidth("210mm");
	$client->setPageHeight("297mm");
	$client->setInitialPdfZoomType(Pdfcrowd::FIT_PAGE);
	$client->setPageLayout(Pdfcrowd::CONTINUOUS);

    // set HTTP response headers
    header("Content-Type: application/pdf");
    header("Cache-Control: max-age=0");
    header("Accept-Ranges: none");
    header("Content-Disposition: attachment; filename=\"google_com.pdf\"");

    // send the generated PDF
    echo $pdf;
}
catch(PdfcrowdException $why)
{
    echo "Pdfcrowd Error: " . $why;
}
?>

As you can see, the result isn't not what I see in the html page. Why? I want the incoice in a single pdf page

Pdfcrowd Error: [510] Can't load URL. 600 (1 reply)

$
0
0
Hi

i have integrated pdf crowd library and for almost month there was no issues but all of sudden without making changes in any to the code which was generating pdf it has started giving me following error

Pdfcrowd Error: [510] Can't load URL. 600 https://campus.reculta.com/reculta/studentResumePdf/434/2


Please suggest why this issue occured all of sudden

Regards
Joy Bhattacharya

Content Disposition to Inline, using save to pdf link (2 replies)

$
0
0
Is it possible to set content_disposition to 'inline' when using the Save to PDF link? I would like the pdf to load in the browser window, rather than downloading.

Thanks

PDF View correction (1 reply)

$
0
0
I am Generating a PDF by URI to PDF

As you could see the 2nd page cut the product and paste it to another page

Could someone help how I could correct it.

Support for box-shadow (1 reply)

$
0
0
Hello,

When I convert an HTML document that contains css styles with "box-shadow", the box-shadow is not visible in the PDF. Is this a limitation of pdfcrowd? If it is, is there any plan to support box-shadow in the future?

Thanks

Using HTTPS (no replies)

$
0
0
Hello. It looks like you support HTTPS as I've successfully used HTTPS via CURL (and a modified version of the Node.js package) to convert PDFs.

The only issue is that your Node.js package by default does not use HTTPS by default which is what is preferred.

Please see my pull request https://github.com/pdfcrowd/node-pdfcrowd/pull/10 and give ATTN for the developers for any edits so we can get it merged in.. I would prefer to link to the official repo rather than a fork!

thank you!

Image and watermark not working (1 reply)

$
0
0
Hi,

I've setting up a watermark in my PDF but it seems that the watermark failed to appear.

Is these coding have something wrong ?

$client->setWatermarkInBackground('True');
$client->setWatermark("http://yayasanbankrakyat.com.my/ybr_mark.png",0,85);

JSP Page PDF not generated (1 reply)

$
0
0
I am finding issue on generating pdf for below link

http://172.20.163.206:7001/store/checkout/confirmation.jsp

may I know where issue

Older FireFox can not validate PDF 1.9 Oct 10 update (1 reply)

$
0
0
Older Firefox can not validate PDF 1.9 Oct 10 update

I use several older versions of firefox ver. 40 - 48 and 52.

Update to PDF 1.9 Oct 10 2017 firefox ver 40 and 48 cannot validate new version while 52 does.

I find no link to rollback to previous versions. Is there a way to load a previous version?
Viewing all 340 articles
Browse latest View live