HTML to ZPL

부분 유료
분류별 DAB Labs Inc | 업데이트됨 8 giorni fa | Video, Images
인기

9.6 / 10

지연 시간

2,181ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Bad request when printing A4 PDF

Rapid account: Integrationsopposuits

Hi,

I am trying to convert a base64 string based on a PDF which has A4 sizing. When trying to run this through the API, I get the following error:

400 Bad Request
server: RapidAPI-1.2.8
x_rapidapi_version: 1.2.8
x_rapidapi_region: AWS - us-east-1

<!DOCTYPE html>
<html lang=“en”>
<head>
<meta charset=“utf-8”>
<title>Error</title>
</head>
<body>
<pre>Bad Request</pre>
</body>
</html>

When trying to use the API on RapidAPI with the same code, I get the following error: Parameter pdfBase64 must be base64 encoded

However, when I test my code online through different Base64 code checks, all checks give a positive result (for example, via https://onlinebase64tools.com/validate-base64)

Why doesn’t this work via this API? Is this limited to A5 formats only? Thanks!

Rapid account: Dablabs
dablabs Commented 6 months ago

Hi @integrationsopposuits,

There is no limit specifically to page size. A4 PDFs should convert just fine. Would you be able to email the PDF to support@htmltozpl.com so I can run a test here?

Also, could you please include the code you used to convert to base64? There are sometimes subtle problems related to that.

Thanks!

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입