verypdf blog

Troubleshotting with fonts in PCL to PDF Converter

Hi,
I′m using the VeryPDF PCL Converter software in command line mode, but this program do no convert the font (line printer) as equal as printed using my PCL file.
So I ask for your help to convert the file correct. I believe that the printer and your application use diferents sets of fonts for the same PCL command for fonts. How I solve this problem?
Thank you.
Best regards.
======================================
Yes, the printer and VeryPDF PCL to PDF Converter are using two different sets of fonts for the same PCL commands, if possible, please email to us some PCL files for checking, after we checked your PCL files, we will figure out a solution to you shortly.

VeryPDF
======================================
As you request, i′m sending you a PCL file to you test and give me some solution. I also attached a two image files to show you the difference between the PDF generated and the result that we want.

Thank you!

Best regards,

Files attached with this e-mail:

RHCA26LA.PCL - Our PCL file to be converted to PDF

RHCA26LA.PDF - Result of using VeryPCL converter in command line mode:

C:\VeryPDF\PCLTOOL.EXE -view RHCA26LA.PCL RHCA26LA.PDF

Output_VeryPCL_report.jpg - image file of the PDF generated by VeryPCL

Output_Printer_report.jpg - image file of the report as printed in a Lexmark T644 printer - our goal.

This screenshot is created by VeryPDF PCL to PDF Converter,

image

This screenshot is created by Real PCL Printer,

image
======================================
Thanks for your sample files, we can see the different fonts are used in two JPG screenshots, we will research this problem shortly, we will let you know as soon as we have any finding on this problem, thanks for your patience.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: -1 (from 1 vote)
barcode generator, pdf form filler, pdfstamp command line

Affixed a Barcode on a PDF file

do you have a software that let to affixed a Barcode (EAN13) to a PDF file ?

I mean, for example I have a pdf file named :

C:\TEST.PDF

I would like to produce another pdf file where a Barcode EAN13 (the value represented in the barcode will be entered by the user in some way..) is merge (affixed) on the pdf file. I Hope you can understand the problem..

Thanks!

======================================================

Our PDF Form Filler product has barcode stamp function, you can download the trial version of PDF Form Filler product from following web page to try,

https://www.verypdf.com/pdfform/index.html#dl

https://www.verypdf.com/pdfform/pdfformsdk.zip

you can refer to lots of barcode articles about PDF Form Filler product on our website,

https://www.verypdf.com/wordpress/?s=barcode

https://www.verypdf.com/wordpress/201108/support-eanucc-code-128-in-pdf-form-filler-sdk-1872.html

https://www.verypdf.com/wordpress/201108/put-a-barcode-into-pdf-file-1870.html

https://www.verypdf.com/wordpress/201107/datamatrix-barcode-field-in-pdf-templates-adjust-size-of-datamatrix-field-1505.html

https://www.verypdf.com/wordpress/201106/suppprt-barcode-generation-in-pdf-form-filler-sdk-product-745.html

Please notice, PDF Form Filler product is can only fill the barocde text into a fillable form in your PDF file, if your PDF file doesn’t contain the fillable form, you need use our PDF Stamp SDK product, PDF Stamp SDK product can be used to insert barcode text into PDF pages directly, PDF Stamp SDK can be downloaded from following web page,

https://www.verypdf.com/pdfstamp/index.htm#dl

https://www.verypdf.com/pdfstamp/pdfstamp_sdk.zip

you can use following sample VC++ source code to call PDF Stamp SDK to insert barcode text into PDF pages,

#define Very_Set_EmbedFont                241
#define Very_Get_EmbedFont                241

void EmbedBarcodeFonts()
{
long id;
int nRet = -1;
char szOutPDF[MAX_PATH];
char szPDFFile[MAX_PATH];
GetModulePath(szPDFFile,"example.pdf");
GetModulePath(szOutPDF,"out-embedfont.pdf");

id=VeryStampOpen(szPDFFile,szOutPDF);
if(id>0)
{
VeryStampSetFunction(id, Very_Set_EmbedFont, 1, 0, 0, 0);
VeryStampAddText(id, 1, "0123456789", RGB(0, 0, 0), 0, 0, 0, 0, 0, 0, 0, "Free 3 of 9", 8, 1,"https://www.verypdf.com/",0);
VeryStampAddText(id, 2, "0123456789", RGB(0, 0, 0), 0, 0, 0, 0, 0, 0, 0, "Free 3 of 9,Bold", 8, 1,"https://www.verypdf.com/",0);
VeryStampAddText(id, 3, "0123456789", RGB(0, 0, 0), 0, 0, 0, 0, 0, 0, 0, "Free 3 of 9,Italic", 8, 1,"https://www.verypdf.com/",0);
VeryStampAddText(id, 4, "0123456789", RGB(0, 0, 0), 0, 0, 0, 0, 0, 0, 0, "Free 3 of 9,Italic,Bold", 8, 1,"https://www.verypdf.com/",0);
VeryStampClose(id);
}
}

You can replace "Free 3 of 9" to any barcode font which installed in your system.

Each digit in a EAN-13 bar code is composed of a series of two spaces and two bars. Each digit is drawn within a space that is 7 modules wide. In addition to the 13 digits, which make up a EAN-13 barcode, the barcode symbol also has two quite zones, a lead block, a separator, and a trailing block. Each quite zone is 9 modules wide, the lead and trailing blocks are a series of lines and spaces in the format of bar, space, bar. The separator is signified by the sequence space / bar / space / bar / space.

The following screenshot is an example of EAN-13 barcode,

image

VeryPDF
=======================================
Hi,

we have already bought PDF Stamp Command Line v2.5. Can we use it to do this or we have to buy PDF Stamp SDK ? In this last case, what is the cost of PDF Stamp SDK ?

What we have to do is this : affixed a “Free 3 of 9” barcode on a PDF file. So what we need is a way to specify :

1. The path of the PDF source file
2. The data that must be put in the barcode Is it possible to do this via command line or using Visual Basic code ?(we cannot use VC++ code)

Thanks!
==================================
Thanks for your message, PDF Stamp Command Line v2.5 hasn't an option to add the barcode into PDF pages, this option is included in PDF Stamp SDK product only.

The cost of PDFStamp SDK Server License is USD199 per server license, developer license is USD597 per developer license. If you have purchased PDF Stamp Command Line v2.5 server license or developer license, please email to us your Order ID, we will exchange it to PDF Stamp SDK product to you free.

VeryPDF
===================================
I have download the trial version of PDFStamp SDK Server License but in the user manual (pdfstamp_manual_sdk.pdf ) I can't find a command to add a Barcode to a PDF file..
In fact at page 3 of this manual you can read :

Using stamp PDF, you can:
! Stamp text and dynamic text
! Apply page numbers
! Apply image watermarks (JPEG/TIFF)
! Specify the position, scale and angle of rotation for text and image stamps ! Set actions for individual stamps.
! Use all of these functions in batch process

Where I can found instruction to add barcode to a pdf  file ? I would like to try to do this (in demo version if it is possible..)
===================================
You can use following sample VC++ source code to call PDF Stamp SDK to insert barcode text into PDF pages,

#define Very_Set_EmbedFont                                                241
#define Very_Get_EmbedFont                                                241

void EmbedBarcodeFonts()
{
long id;
int nRet = -1;
char szOutPDF[MAX_PATH];
char szPDFFile[MAX_PATH];
GetModulePath(szPDFFile,"example.pdf");
GetModulePath(szOutPDF,"out-embedfont.pdf");

id=VeryStampOpen(szPDFFile,szOutPDF);
if(id>0)
{
VeryStampSetFunction(id, Very_Set_EmbedFont, 1, 0, 0, 0);
VeryStampAddText(id, 1, "0123456789", RGB(0, 0, 0), 0, 0, 0, 0, 0, 0, 0, "Free 3 of 9", 8, 1,"https://www.verypdf.com/",0);
VeryStampAddText(id, 2, "0123456789", RGB(0, 0, 0), 0, 0, 0, 0, 0, 0, 0, "Free 3 of 9,Bold", 8, 1,"https://www.verypdf.com/",0);
VeryStampAddText(id, 3, "0123456789", RGB(0, 0, 0), 0, 0, 0, 0, 0, 0, 0, "Free 3 of 9,Italic", 8, 1,"https://www.verypdf.com/",0);
VeryStampAddText(id, 4, "0123456789", RGB(0, 0, 0), 0, 0, 0, 0, 0, 0, 0, "Free 3 of 9,Italic,Bold", 8, 1,"https://www.verypdf.com/",0);
VeryStampClose(id);
}
}

You can replace "Free 3 of 9" to any barcode font which installed in your system.

We haven't VB source code yet, you can change above VC++ code to VB source code easily, for example,
=======================
id = veryOpen("verypdf-test.pdf", "barcode-out.pdf")
If (id > 0) Then
code = verySetFunction(id, Very_Set_EmbedFont, 1, 0, 0, 0)
code = veryAddText(id, 1, "0123456789", 0, 0, 0, 0, 0, 0, 0, 0, "Free 3 of 9", 8, 1,"https://www.verypdf.com/",0)
veryClose (id)
End If
=======================

If you still can't get it work, please let us know, we will ask our engineer to create an example to you shortly.

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)
html converter (htmltools)

set the user agent to use in VeryPDF HTML Converter (htmltools)

is there a parameter to set the user agent to use in VeryPDF HTML Converter (htmltools) on the command line?
=====================================
You can set the proxy in IE, htmltools does use the proxy in IE automatically.

VeryPDF
=====================================
thanks for the reply.
I know about the proxy configuration, but I have to set the *user-agent* on each request.

It's quite important for us, we might even order a special development for it. Can you estimate the implementation and send me an offer for it? (We need it in the command line version.
=====================================
Thanks for your message, I want to know the details about your "user-agent", is it same as proxy configuration in IE?

Is following command line option okay to you?

Htmltools.exe -proxy 192.168.1.10:7070 https://www.verypdf.com C:\out.pdf

The -proxy parameter in above command line will be used to download the web page, is this parameter that you want to get? If yes, please feel free to let us know, we will provide a quotation for this function to you shortly.

VeryPDF
=====================================
no, the user agent is the browser identifier, which is automatically sent by the browser in http header fields to the server.

For example IE7 sends "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)"

See http://tools.ietf.org/html/rfc1945#section-10.15  and http://en.wikipedia.org/wiki/User_agent

There are few ways to change it on the fly (normally the only way to do it is by changing the registry, but then it only works when the browser is restarted). See http://www.lukepaynesoftware.com/articles/programming-tutorials/changing-the-user-agent-in-a-web-browser-control/

a)    We tested all options and the best one is to use the UrlMkSetSessionOption function
b)    The navigate() option has some problems with Frames and iframes, but maybe it is the easiest to implement for you.
a.    webBrowser1.Navigate ("http://www.whatsmyuseragent.com", "_self" , null, "User-Agent: Luke's Web Browser");

If you could add this as a new command line parameter and change the navigate function I would be happy to test it for you.

=====================================
One remark: I discussed with our engineer and it seems that to use UrlMkSetSessionOption function is the better solutions. Not sure if this makes a difference for you.

Anyway, I will be out of the office for the next 2 weeks and will contact you again only when I’m back.
In case we need something more urgently I did put my colleague on CC so he has your contact information as well.
=====================================
Thanks for your message, UrlMkSetSessionOption() function seems good, we will also research this function shortly.

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)
pdf to vector converter

Create PCL form from PDF files

Thanks for the assistance.

I used it to create one PCL form, but found your PCL format isn't what I expected.  I can't use it the way I hoped I could.

So, thank you, but I don't have a use for the program.
===============================
Well, thanks for offering that possibility.

Let's explore that.

I make my living programming and selling an income tax program called XXXXXX.  XXXXXX is a very small, niche company, with less than 200 customers.  I am the owner, and only employee.

I'm attaching two .PDF files from the IRS website, (Form 1040 and Form 8814).  Form 1040 is a two-page form.  Form 8814 has a watermark.  I'm also attaching Wisconsin Form 1 from the Wisconsin Department of Revenue website.  Form 1 has barcodes, and is a four- page form.

I'm also attaching corresponding .PCL files (we give them an .HP extension for our tax program).  We update (and create from scratch when necessary) those .HP files here, using a program called FORMFORGE.  Every year, we must download and print the official tax forms.  We then manually compare them to our .HP files from the year before, and then manually update each page of each tax form that we use.  It's doable, but it is very time-consuming.  Each year, we use approximately 400 pages of federal and state tax forms.

My goal is to programmatically convert the .PDF files, (which we download from the IRS or state websites), into well-behaved, small .PCL files, like those I've attached.

Do you have a way to make that happen?  At a reasonable cost for a small company?

Thanks.
===============================
Thanks for your sample PCL files, we will check your PCL files shortly, we will let you know as soon as we have any progress on this matter.

VeryPDF

VN:F [1.9.20_1166]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
pdf to vector converter

Use 64bit version of PDF2Vector SDK

Please download PDF2Vector SDK from following URL,

http://www.verydoc.com/pdf2vec_sdk.zip

You can call PDF2Vector SDK from VB, VC, etc. source code directly, please refer to follwoing VB sample code,
~~~~~~~~~~~~~~~~~~~~~~
Private Declare Function VeryPDF_PDF2Vector Lib "pdf2vec.dll" (ByVal strCommandLine As String) As Long

Private Sub Command1_Click()
Dim nRet As Long
Dim strCmd As String

strCmd = "pdf2vec -$ XXXXXXXXXXXXXXXX"
strCmd = strCmd & " d:\temp\11.pdf"
strCmd = strCmd & " C:\out.swf"

nRet = VeryPDF_PDF2Vector(strCmd)
MsgBox (Str(nRet))
End Sub
~~~~~~~~~~~~~~~~~~~~~~

You can deliver command line parameters and your License Key to VeryPDF_PDF2Vector() function, then you can convert your PDF files to other formats without any restrictions.
=================================================
Thanks for your information, I′m a Network Administrator of XXXXXXX Software. We need start development process, now over 64 bits plataform, and, some time ago we was buy from you a SDK software to development called VeryDoc, but that version is only compatible with 32 bits systems.

You can find informations about our purchase in mail copied from AAA who′s copied in this message.

Then we need now proceed a new purchase, of VeryDoc SDK upgrade to 64 bits version. Can you send to us informations related values and methods to buy it ?

We will be waiting
my best regards,
=================================================
Thanks for your information, please download latest version of PDF2Vector SDK from following URL,

http://www.verydoc.com/pdf2vec_sdk.zip

You can call PDF2Vector SDK from VB, VC, etc. code directly, please refer to follwoing VB sample code,
~~~~~~~~~~~~~~~~~~~~~~
Private Declare Function VeryPDF_PDF2Vector Lib "pdf2vec.dll" (ByVal strCommandLine As String) As Long

Private Sub Command1_Click()
Dim nRet As Long
Dim strCmd As String

strCmd = "pdf2vec -$ XXXXXXXXXXXXXXXX"
strCmd = strCmd & " d:\temp\11.pdf"
strCmd = strCmd & " C:\out.swf"

nRet = VeryPDF_PDF2Vector(strCmd)
MsgBox (Str(nRet))
End Sub
~~~~~~~~~~~~~~~~~~~~~~

You can deliver command line parameters and your License Key to VeryPDF_PDF2Vector() function, then you can convert your PDF files to other formats without any restrictions.

You can use following code to call PDF2Vector COM from 64bit application,

'===================================
'Please run "../bin/register_x64_com.bat" to register pdf2vector_com.exe first,
'then you can run "test_pdf2vec_com_for_x64.vbs" to call PDF2Vector COM method
'to convert PDF documents to other formats.
'===================================

Set fso = CreateObject("Scripting.FileSystemObject")
strFolder = fso.GetParentFolderName(wscript.ScriptFullName)

pos = InstrRev(strFolder, "\")
strFolder2 = Mid(strFolder, 1, pos)
strPDFFile = strFolder2 & "bin\test.pdf"

strOutFile = strFolder & "\com_test_x64.xps"
Set pdf2vec = CreateObject("PDF2VectorCom.pdf2vec")

strCmd = "pdf2vec -$ XXXXXXXXXXXXXXXXXXXX """ & strPDFFile & """ """ & strOutFile & """"

MsgBox (strCmd)
nRet = pdf2vec.com_PDF2Vector(strCmd)
MsgBox ("Return Value is: " & CStr(nRet))

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)