How can I print PRN and PDF files to client’s printer on the Web Server Cloud?

Hi

We have a requirement for converting .prn files to pdf. We are investigating your Verypdf PCL converter tool. (http://www.verypdf.com/app/pcl-converter/try-and-buy.html ) . We have the following questions with respect to the tool.

The requirement is as follows:

- Give an ability to the user to preview the converted pdf file (with a suitable watermark) as many times as they want

- But allow them to print only once (without the watermark).

As seen from the attachment , it is a government certificate and hence they can have only one original. But they can preview it as many times as they want. If they print the preview, then it has to have a suitable watermark such as ' Draft Copy for Preview only' written across the pdf file so that it cannot be used as an original. The preview is used to confirm if the details are correct.

Then once the user confirms that the details are correct, they can

- Print the pdf without the watermark- if it's a pdf the displayed pdf they print can only be printed once and cannot be copied, saved,emailed etc. as its the original alternatively we do not require to display the pdf but send the file directly to the printer for printing. They cannot print it again, it can be printed only once.

Our software is a web based software. As it is a Web Application and is on a Web Server we require to send the PRN file to the Client Machine in case we want to send the file directly to the printer.

In addition to the above , our another requirement is to exclude the first page when printing the file, as seen in the attachment the first page is just a header line.

Can you please advise if your tool has the capability for the same. I noticed that you have an different type of PCL to PDF converters (command line, SDK etc.)

This will assist us in purchasing the software. Thanks for your assistance.

Regards.
Customer
---------------------------------------------------------------
Thanks for your message, we notice your R1207ACD.pdf file looks fine, can you please kindly point to us where is wrong in this PDF file?

If you wish remove first page from PDF file, you can use PDF Split-Merge Command Line to remove first page from your PDF file easily,

http://www.verypdf.com/app/pdf-split-merge/try-and-buy.html

e.g.,

pdfpg.exe C:\A.pdf,2- C:\output.pdf

VeryPDF
---------------------------------------------------------------
Hi

You have not answered my query. Please read my original email correctly. I understand that the pdf file looks fine, but

1) I would like to have my own watermark on the pdf file. Can you please advise how to insert a watermark on the pdf file.

2) My second requirement is as follows: Our software is a web based software. as it is a Web Application and is on a Web Server we require to send the pdf file to the Client Machine for printing the file directly to the printer.

Can you please advise how to achieve both the above objectives. Appreciate a prompt reply as I am going to make a purchase decision soon.

Customer
---------------------------------------------------------------
>>1) I would like to have my own watermark on the pdf file. Can you please advise how to insert a watermark on the pdf file.

You can use PDFStamp Command Line or SDK to insert watermark to PDF pages,

http://www.verypdf.com/app/pdf-stamp/try-and-buy.html

>>2) My second requirement is as follows: Our software is a web based software. as it is a Web Application and is on a Web Server we require to send the pdf file to the Client Machine for printing the file directly to the printer.

You can call PDFPrint Command Line or PDFPrint SDK from your web based software to print PDF file easily,

http://www.verypdf.com/app/pdf-print-cmd/try-and-buy.html

VeryPDF
---------------------------------------------------------------
Hi

We would like to NOT allow Printing, Saving, Saving as a copy and also emailing of the pdf file which is generated from the PCL file. Can you please advise if this is possible.Appreciate a prompt reply as I am going to make a purchase decision soon.

Please note that we have Web Application developed in ASP.NET 4.0 (C#) using MVC . This is hosted on Windows 2012 server and IIS 7.5.

Please let me know if there is any documentation or Samples to integrate it with ASP.NET Application.

And how can we directly Print the PDF without opening it . On a Click of PRINT Button on the Web Browser, we want the PRN to be converted to PDF and send to the Printer on the Client machine. Alternatively we send PRN directly to the Printer on the Client machine .

Is this possible and how? . Note this is not a client - server or Intranet Application.
Its a Web Application hosting on Web Server in data Cloud.

Regards
Customer
---------------------------------------------------------------

image
>>We would like to NOT allow Printing, Saving, Saving as a copy and also emailing of the pdf file which is generated from the PCL file. Can you please advise if this is possible.Appreciate a prompt reply as I am going to make a purchase decision soon.

With encryption option in PDFStamp Command Line or PDFStamp SDK software, you can disable printing option, but there is no way to disable Saving and Saving As options, because Saving and Saving As options are controlled by Adobe Reader, but not PDF format itself, so you can't disable Saving and Saving As options from PDF format.

>>Please note that we have Web Application developed in ASP.NET 4.0 (C#) using MVC . This is hosted on Windows 2012 server and IIS 7.5.
>>Please let me know if there is any documentation or Samples to integrate it with ASP.NET Application.

You can run "bin/install_for_x64.bat" to register PDFStampCom.exe first, you need run it with administrator right, you can also run following command line to register it by manual,

PDFStampCom.exe /regserver

after you registered the "PDFStampCom.exe" COM component into your system, you can call it from your C# code without any restrictions.

Please refer to following web pages for more information,

http://www.verypdf.com/wordpress/201106/pdf-stamp-com-sdk-3-2-doesnt-work-on-win2k8-64bit-287.html

http://www.verypdf.com/wordpress/201107/use-pdfstamp-dll-on-windows-2008-64-bit-system-1553.html

http://www.verypdf.com/wordpress/201310/how-can-i-call-pdfstampcom-from-c-code-39006.html

>>And how can we directly Print the PDF without opening it. On a Click of PRINT Button on the Web Browser, we want the PRN to be converted to PDF and send to the Printer on the Client machine
>>Alternatively we send PRN directly to the Printer on the Client machine .
>>Is this possible and how? . Note this is not a client - server or Intranet Application.
>>Its a Web Application hosting on Web Server in data Cloud.

Yes, this is possible. Your client can open the PDF file in Free Online Document Viewer Web App, your client then click "Print" button on toolbar to print PDF file to his printer directly and without download it first,

http://www.verypdf.com/online/free-view-document-online.php

We can also print the PDF file from JavaScript without open the PDF file first, this can be done easily by JavaScript code.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF Print | Tagged | Leave a comment

How to call PDF to Text Converter SDK/COM from both 32bit and 64bit applications? How to use PDF2TXTCOM.exe COM interface?

Greetings

My name is John. I work as a developer in a Danish company. I have been using your licensed version of pdf2txt for some time now, but now I have this small particular problem.

When trying to run my application in 32-bit mode on a 32-bit OS, I receive the following error:

"Retrieving the COM class factory for component with CLSID {-4022-457E-90EB-B0C619919C9E } failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))."

Do you have any suggestions for me?
Customer
--------------------------------------------------------

image
Thanks for your message, please download latest version of PDF2TXT SDK from following URL,

http://www.verypdf.com/app/pdf-to-txt-converter/index.html
http://www.verypdf.com/pdf2txt/sdk/pdf2txt_trial_version.zip

this version does include a PDF2TXTCOM.exe file, please by following steps to use this PDF2TXT COM from your both 32bit and 64bit applications,

1. Please use administrator privilege to run following command line to register PDF2TXTCOM.exe into your system first,

PDF2TXTCOM.exe /regserver

2. You can run following VBS (VB Script) to call PDF2TXTCOM.exe from your 64bit application,

=============================
Dim oTest
dim nRet

Set fso = CreateObject("Scripting.FileSystemObject")
strFolder = fso.GetParentFolderName(wscript.ScriptFullName)
destiantionPath = strFolder& "\verypdf.pdf"

Set oTest = CreateObject("PDF2TXTCOM.PDF2TXT")
oTest.com_SetTXTFormat 1
oTest.com_SetZoomRatio 90
oTest.com_PDF2TXTSetLicenseCode("XXXXXXXXXXXXXXXXXXXXXX")
nRet = oTest.com_Pdf2Txt(strFolder& "\sample1.pdf", strFolder& "\sample1-pdf2txt.txt")
nRet = oTest.com_Pdf2TxtEx(strFolder& "\sample1.pdf", strFolder& "\sample1-pdf2txtEx.txt",0,0,"","")
MsgBox "Convert Success!"
=============================

VeryPDF
--------------------------------------------------------
It did not work

I use Visual Studio 2012 and develop in c#.

What I am doing is the following:

I create a new project
I add the file "pdf2txt.dll" as a reference
I add the following line to the code: "PDF2TXT.CPDF2TXT pdf2txt = new PDF2TXT.CPDF2TXT();"

The error appears in the line above when I run my application in x64 platform target, but not when I run x86.

Customer
--------------------------------------------------------
Please add a reference to "PDF2TXTCOM.exe" instead of "pdf2txt.dll", then you can call "PDF2TXTCOM.PDF2TXT" from C# code to convert PDF file to text file.

btw, we have release a new version of PDF2TXT SDK today, please download it from following URL,

http://www.verypdf.com/pdf2txt/sdk/pdf2txt_trial_version.zip

after you download and unzip it to a folder, please go to "pdf2txt_COM_x64_C#" folder, you can compile and run this C# project, this C# project is work on both 32bit and 64bit systems.

1. Please use administrator privilege to run a CMD window, run following command line to register PDF2TXTCOM.exe into your system,

PDF2TXTCOM.exe /regserver

You can run following command line with administrator privilege to uninstall PDF2TXTCOM.exe from your system,

PDF2TXTCOM.exe /unregserver

PHP example source code to call "PDF2TXTCOM.PDF2TXT" COM Component,

<%
        strInFile = "D:\test.pdf"
        strOutFile = "D:\_out.txt"

      Set VeryPDFCom = Server.CreateObject("PDF2TXTCOM.PDF2TXT")
      VeryPDFCom.com_PDF2TXTSetLicenseCode("XXXXXXXXXXXXXXXXXXXXXX")
      nReturn = VeryPDFCom.com_Pdf2TxtEx(strInFile, strOutFile,0,0,"","")
      Response.write "Conversion finished."
%>

ASP example source code to call "PDF2TXTCOM.PDF2TXT" COM Component,

<%
        strInFile = "D:\test.pdf"
        strOutFile = "D:\_out.txt"

      Set VeryPDFCom = Server.CreateObject("PDF2TXTCOM.PDF2TXT")
      VeryPDFCom.com_PDF2TXTSetLicenseCode("XXXXXXXXXXXXXXXXXXXXXX")
      nReturn = VeryPDFCom.com_Pdf2TxtEx(strInFile, strOutFile,0,0,"","")
      Response.write "Conversion finished."
%>

C# example source code to call "PDF2TXTCOM.PDF2TXT" COM Component,

private void button1_Click(object sender, EventArgs e)
{
  string appPath = Path.GetDirectoryName(Application.ExecutablePath);
  string strPDFFile = appPath + "\\sample1.pdf";
  string strOutFile = appPath + "\\_sample1.txt";

  System.Type VeryPDFType = System.Type.GetTypeFromProgID("PDF2TXTCOM.PDF2TXT");
  PDF2TXTCOM.PDF2TXT VeryPDFCom = (PDF2TXTCOM.PDF2TXT)System.Activator.CreateInstance(VeryPDFType);
  VeryPDFCom.com_PDF2TXTSetLicenseCode("XXXXXXXXXXXXXXXXXXXXXX");
  int nReturn = VeryPDFCom.com_PDF2TXTEx(strPDFFile, strOutFile, 0, 0, "", "");
  MessageBox.Show("Converter finished.");
}

VB.NET example source code to call "PDF2TXTCOM.PDF2TXT" COM Component,

Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
  Dim strFolderDir As String = Application.StartupPath()
  Dim strInFile As String = strFolderDir & "\sample1.pdf"
  Dim strOutFile As String = strFolderDir & "\_sample1.txt"

  Dim VeryPDFCom As Object = CreateObject("PDF2TXTCOM.PDF2TXT")
  VeryPDFCom.com_PDF2TXTSetLicenseCode("XXXXXXXXXXXXXXXXXXXXXX")
  Dim strReturn As Integer = VeryPDFCom.com_Pdf2TxtEx(strInFile, strOutFile, 0, 0, "", "")
  MsgBox("Conversion finished.")
End Sub

VB Script example source code to call "PDF2TXTCOM.PDF2TXT" COM Component,

Dim oTest
dim nRet

Set fso = CreateObject("Scripting.FileSystemObject")
strFolder = fso.GetParentFolderName(wscript.ScriptFullName)
destiantionPath = strFolder & "\verypdf.pdf"

Set oTest = CreateObject("PDF2TXTCOM.PDF2TXT")
oTest.com_SetTXTFormat 1
oTest.com_SetZoomRatio 90
oTest.com_PDF2TXTSetLicenseCode("XXXXXXXXXXXXXXXXXXXXXX")
nRet = oTest.com_Pdf2Txt(strFolder & "\sample1.pdf", strFolder & "\sample1-pdf2txt.txt")
nRet = oTest.com_Pdf2TxtEx(strFolder & "\sample1.pdf", strFolder & "\sample1-pdf2txtEx.txt",0,0,"","")
MsgBox "Convert Success!"

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF to Text Converter | Tagged | Leave a comment

How to use OCR Cloud API to extract text positions or coordinates from TIFF image files?

hi,

"Greetings of the day"

I have a question for VeryPDF Cloud API Platform and OCR Cloud API,

http://www.verypdf.com/online/cloud-api/index.html

We are developing a web application that require OCR SDK for get position of particular text on the image. We also require pdf to image conversion for the same..

So my Query is ...

if we upload a pdf and send it to you for conversion then what we will get in return, Will you provide converted images or you will provide only URL for these converted images?

Our Requirement ...

We want converted images on our server for further process also we want your OCR SDK for automation and getting co-ordinate(position) of text on image.

Please provide details on these matter as soon as possible..

Customer
----------------------------------------------------------------------------

cloudocrsdk2
Sure, no problem, you can open following URL in web browser,

http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=ocr
&infile=http://online.verypdf.com/examples/cloud-api/multipage.tif&outfile=out&lang=eng&format

You will get an output URL, e.g.,

[Output] http://online.verypdf.com/u/public/api/20140703-214752-683223135-out.html

please open http://online.verypdf.com/u/public/api/20140703-214752-683223135-out.html in web browser, view its source code, you will get the source code like below,

================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name='ocr-system' content='VeryPDF Cloud API System -- VeryPDF Cloud OCR API' />
<meta name='ocr-capabilities' content='ocr_page ocr_carea ocr_par ocr_line ocrx_word'/>
</head>
<body>
<div class='ocr_page' id='page_1' title='image "20140703-214752-1177385112.tif"; bbox 0 0 2000 2388; ppageno 0'>
<div class='ocr_carea' id='block_1_1' title="bbox 22 28 1013 87">
<p class='ocr_par' dir='ltr' id='par_1' title="bbox 23 30 1012 83">
<span class='ocr_line' id='line_1' title="bbox 23 30 1012 83">
<span class='ocrx_word' id='word_1' title="bbox 23 32 262 74">Universal</span>
<span class='ocrx_word' id='word_2' title="bbox 278 31 569 73">Declaration</span>
<span class='ocrx_word' id='word_3' title="bbox 586 31 637 73">of</span>
<span class='ocrx_word' id='word_4' title="bbox 649 31 836 72">Human</span>
<span class='ocrx_word' id='word_5' title="bbox 853 30 1012 83">Rights</span>
</span>
</p>
</div>
================================================

Above HTML code is contain Left, Top, Right, Bottom coordinates for each words in TIFF image file, you can read them from your PHP or C# code easily.

You can also look at following web page for more information,

http://www.verypdf.com/wordpress/201308/verypdf-cloud-api-platform-verypdf-ocr-cloud-api-online-ocr-engine-to-recognize-scanned-pdf-and-image-files-to-editable-document-formats-37980.html

VeryPDF
----------------------------------------------------------------------------
I want output in txt file not in html.

I have opened fallowing url in web browser

http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=ocr
&infile=http://online.verypdf.com/examples/cloud-api/multipage.tif&outfile=out&lang=eng&-format=2

I got the output url in txt
[Output] http://online.verypdf.com/u/public/api/20140704-015936-1482167485-out.txt

when I opened above url I found the only text not position of text.I want output as txt file with fallowing pattern-

########################################################
[Page #1] *** initial words ***
word: x=157.06..188.76 y=18.60..32.55 base=30.17 fontSize=11.52 rot=0 link=00000000 'Home'
word: x=197.88..257.12 y=18.60..32.55 base=30.17 fontSize=11.52 rot=0 link=00000000 'PDF-Tools'
word: x=266.21..287.18 y=18.60..32.55 base=30.17 fontSize=11.52 rot=0 link=00000000 'Doc'
word: x=288.38..323.97 y=18.60..32.55 base=30.17 fontSize=11.52 rot=0 link=00000000 'ument'
word: x=333.65..379.00 y=18.60..32.55 base=30.17 fontSize=11.52 rot=0 link=00000000 'Support'
[Page #1] *** flows ***
flow: x=157.06..379.00 y=18.60..32.55 pri:0.00..709.00
block: rot=0 x=157.06..379.00 y=18.60..32.55 pri=0.00..709.00
line:
word: x=157.06..188.76 y=18.60..32.55 base=30.17 fontSize=11.52 space=1: 'Home'
word: x=197.88..257.12 y=18.60..32.55 base=30.17 fontSize=11.52 space=1: 'PDF-Tools'
word: x=266.21..287.18 y=18.60..32.55 base=30.17 fontSize=11.52 space=1: 'Doc'
word: x=288.38..323.97 y=18.60..32.55 base=30.17 fontSize=11.52 space=1: 'ument'
word: x=333.65..379.00 y=18.60..32.55 base=30.17 fontSize=11.52 space=0: 'Support'
[Page #1] *** line fragments ***
line: x=157.06..379.00 y=18.60..32.55 base=30.17 'Home PDF-Tools Doc ument Support'
line: x=65.66..643.64 y=46.95..72.70 base=68.32 'Advanced PDF Tools Command Line User Manual'
line: x=8.87..94.23 y=86.81..100.76 base=98.39 'Version: v2.0'
line: x=8.87..79.14 y=117.82..137.13 base=133.85 'Content'
line: x=65.66..71.62 y=160.34..169.14 base=167.50 'l'
line: x=79.86..133.67 y=155.91..169.86 base=167.49 'Overview'
line: x=65.66..71.62 y=177.17..185.97 base=184.33 'l'
line: x=79.86..131.13 y=172.74..186.69 base=184.31 'Features'
########################################################
Is it possible to provide the data in given format with this OCR Cloud Api?

Thanks & Regards
Customer
----------------------------------------------------------------------------


We have finished a new version of OCR Cloud API for you, the new option is "dumpwordpos=1", you can use "dumpwordpos=1" option to extract position for each word, you can execute following URL,

http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=ocr
&infile=https://dl.dropboxusercontent.com/u/5570462/verypdf-cloud-api/multipage.tif&format=1&dumpwordpos=1

You can replace "infile" option with any TIFF image file, after you executed above URL, you will get the OCR result like below, you can parse page number, left, top, right bottom positions for each word easily,

***** page_1; image "20140726-205152-7219784263.tif"; bbox 0 0 2000 2388; ppageno 0
[23 32 262 74] 'Universal'
[278 31 569 73] 'Declaration'
[586 31 637 73] 'of'
[649 31 836 72] 'Human'
[853 30 1012 83] 'Rights'
[24 152 197 186] 'Whereas'
[212 151 438 196] 'recognition'
[453 150 497 185] 'of'
[507 150 567 185] 'the'
[582 150 745 185] 'inherent'
[759 150 899 195] 'dignity'
[914 149 983 184] 'and'
[998 149 1041 184] 'of'
[1051 149 1111 184] 'the'
[1126 149 1232 194] 'equal'
[1249 148 1319 183] 'and'
[1334 148 1551 183] 'inalienable'
[1565 148 1677 193] 'rights'
[1692 148 1736 183] 'of'
[1748 148 1794 183] 'all'
[25 209 206 244] 'members'
[222 209 265 244] 'of'
[275 209 334 244] 'the'
***** page_2; image "20140726-205152-7219784263.tif"; bbox 0 0 2000 1888; ppageno 1
[27 35 186 70] 'national'
[202 46 243 70] 'or'
[257 35 371 70] 'social'
[387 35 515 81] 'origin,'
[530 42 710 81] 'property,'
[725 36 819 71] 'birth'
[834 47 875 71] 'or'
[888 36 990 71] 'other'
[1004 42 1125 71] 'status.'
[26 134 287 175] 'Furthermore,'
[303 145 351 169] 'no'
[367 134 576 170] 'distinction'
[592 135 683 170] 'shall'
[697 135 743 170] 'be'
[757 135 864 170] 'made'
[879 146 927 170] 'on'
[942 135 1001 170] 'the'
[1015 135 1113 170] 'basis'
[1129 135 1172 170] 'of'
[1182 136 1241 170] 'the'
[1255 135 1430 181] 'political,'
[1441 136 1708 181] 'jurisdictional'
[1724 147 1764 171] 'or'
[26 192 278 227] 'international'
***** page_3; image "20140726-205152-7219784263.tif"; bbox 0 0 1912 2004; ppageno 2
[32 42 107 66] 'was'
[122 31 346 66] 'committed.'
[362 32 441 66] 'Nor'
[455 31 547 66] 'shall'
[562 42 583 66] 'a'
[596 31 742 66] 'heavier'
[755 31 902 77] 'penalty'
[915 31 961 66] 'be'
[976 31 1145 77] 'imposed'
[1159 31 1243 66] 'than'
[1257 31 1316 66] 'the'
[1331 42 1401 66] 'one'
[1416 31 1490 66] 'that'
[1504 42 1580 66] 'was'
[1597 31 1799 77] 'applicable'
***** page_4; image "20140726-205152-7219784263.tif"; bbox 0 0 2004 2000; ppageno 3
[29 40 218 85] 'Everyone'
[233 39 297 74] 'has'
[312 39 371 74] 'the'
[386 38 480 84] 'right'
[494 44 531 73] 'to'
[546 38 712 73] 'freedom'
[726 37 770 73] 'of'
[780 37 943 82] 'thought,'
[958 36 1176 72] 'conscience'
[1192 36 1262 71] 'and'
[1276 36 1442 81] 'religion;'
[1458 36 1528 70] 'this'
[1543 35 1636 81] 'right'
[1651 35 1814 70] 'includes'
[30 97 195 132] 'freedom'
***** page_5; image "20140726-205152-7219784263.tif"; bbox 0 0 1984 2628; ppageno 4
[22 31 212 75] 'Everyone'
[227 30 292 65] 'has'
[306 30 366 64] 'the'
[380 30 474 75] 'right'
[488 35 525 64] 'to'
[540 35 611 64] 'rest'
[626 29 696 64] 'and'
[710 29 853 70] 'leisure,'
[869 29 1057 74] 'including'
[1071 28 1284 64] 'reasonable'
[1299 28 1492 64] 'limitation'
[1507 28 1551 63] 'of'
[1561 28 1726 74] 'working'
[1740 28 1849 63] 'hours'
[1864 28 1934 63] 'and'
[22 87 184 133] 'periodic'
[200 87 367 133] 'holidays'
[382 87 469 122] 'with'
[483 98 564 133] 'pay.'

If you encounter any problem with "dumpwordpos=1" in OCR Cloud API, please feel free to let us know, we are glad to assist you asap.

VeryPDF

See Also:
http://www.verypdf.com/wordpress/201406/how-to-use-verypdf-cloud-api-ocr-sdk-for-automation-and-getting-coordinate-position-of-text-on-image-40675.html

VN:F [1.9.20_1166]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in VeryPDF Cloud API | Tagged , , | 2 Comments

How to convert each worksheet to one PDF file? I want create one PDF file from one Excel worksheet

HI VeryPDF,

I am planning to buy verypdf for converting xls to pdf.
I have requirement for converting xls,xlsx to PDF.i have different worksheets in xls, so I want to convert each worksheet to one pdf.Is it possible to concert each worksheet to pdf by using verypdf?

Regards
Customer
-----------------------------------------------

image
Yes, "Document Converter (docPrint Pro)" has this function, you may download it from following web page to try,

http://www.verypdf.com/app/document-converter/try-and-buy.html

Please pay attention to "-E" option in "Document Converter (docPrint Pro)" application,

-E <types> : options to process Excel Sheets
-E 0 : print all Excel sheets one by one, and merge them together
-E 1 : print all Excel sheets one by one, do not merge them together
-E 2 : print all sheets with one print command from MS Excel
-E 3 : create a PDF or TIF file for each sheet and a PDF or TIF for all sheets

You can use "-E 1" option to convert to each worksheet from XLS file to one pdf, you will get one PDF file per worksheet, e.g.,

"C:\Program Files (x86)\docPrint Pro v6.0\doc2pdf.exe" -E 1 -i D:\test.xls -o D:\out.pdf

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in docPrint Pro | Tagged , | Leave a comment

I’m get "Stack overflow at line 1" error when I convert HTML file to PDF file

Hi there,

We are trying to convert an html file (attached) into a PDF. We have our HTML template also attached, and can't seem to figure out why we are getting a stack overflow while using the command line to convert.

The specific error is:

Message from Webpage
Stack overflow at line 1

image

Are you able to offer us any help with fixing this error? We had it working before but are not sure why this is different. Thanks!
--------------------------------------------------------

image
We apologize for any inconvenience this may have caused to you.

We can reproduce this problem in our system, this problem is caused by MS Internet Explorer, MS Internet Explorer does throw an error if your web page contain so many resources.

In order to solve this problem, we suggest you may use -webkit option in htmltools.exe application, -webkit option does use webkit engine to instead of MS Internet Explorer, so it hasn't this limitation like IE.

You may download HTML Converter Command Line (htmltools.exe) from following web page,

http://www.verypdf.com/app/html-converter/try-and-buy.html
http://www.verypdf.com/htmltools/htmltools.zip

you can use -webkit option to convert this HTML file to PDF file properly,

htmltools.exe -webkit D:\downloads\test.html D:\downloads\test.pdf

image

VeryPDF

--------------------------------------------------------

Hi there,

I used the -webkit option, and man, thank you SO much! The speed has improved incredibly, and I'm able to use this much better than doc2pdf. I do still have one problem though.

Can you examine my batch file and make sure everything looks good? I'm having an issue with the last 2 commands where it just won't create the final pdf file. If I get rid of the very last line, then it will create the final pdf file, so I'm not sure what's happening in the very last line.

Thanks!

P.S. The batch commands are located in the pdf_conversion.txt.
Customer
-----------------------------------------------
The last command line in your .txt file is not work, because htmltools.exe is support HTML format as input format, it can't accept PDF file as input format, so that last command line will stop work.

"C:/Users/XXX/Downloads/htmltools/htmltools/htmltools.exe" -append 2 "pdf/test.pdf" "final/out.pdf"

If you wish merge PDF files into one PDF file, you can use -mergepdf option, e.g.,

htmltools.exe -mergepdf "C:\1.pdf|C:\2.pdf|C:\3.pdf" C:\out.pdf
htmltools.exe -mergepdf "C:\*.pdf" C:\out.pdf
htmltools.exe -mergepdf "C:\filelist.txt" C:\out.pdf
htmltools.exe -mergepdf "C:\test-extraction.pdf*10-15 C:\out10-15.pdf
htmltools.exe -mergepdf "C:\test-extraction.pdf*500-501 C:\out500-501.pdf

You can use -mergepdf option to merge PDF files into one PDF file quickly.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in docPrint Pro, HTML Converter (htmltools) | Tagged , | Leave a comment
Page 1 of 1,27912345...102030...Last »