verypdf blog

color printing VeryPDF PCL convertor

Hello,

Just a few weeks a go you helped me with selecting the right fonts for printing towards my TNT-printer.  This seems to be right now.

Next challenge is printing with VeryPDF PCL Tool in color mode. I ‘ve read that VeryPDF supports PCL-commands with color.

I just want to print some text in a red , green or black. Just with a simple Pallete, a few colors are enough.

I read something  about pallete’s, simple color RGB etc., this is the pcl code,
ESC*p0P = push/pop pallette
ESC*r3U = simple color rgb
ESC*v1S = colorcode
Resulting in this kind of PCL code:
CHR(27)+"&p0P"+CHR(27)+"&r3U"+CHR(27)+"&v2S"

I typed it in a few different ways, but all the time the text is printed black. I just want to print some text in another color.

Do you have any suggestions about using PCL code for printing text in a different foregroundcolor?  bpl13212.pdf, I already studied this document, but no working solution was in it.

Thanks for your suggestions.
=================================

You can create a Word document, insert some characters with different foreground color, print it to a PCL Printer to create PCL file, you will get correct pcl code from output PCL file.

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)
pdfstamp command line

I am needing to draw a line on every odd page, and then 2 lines on the last odd page by pdf stamp

I am needing to draw a line on every odd page, and then 2 lines on the last odd page.

Here is where I am at:

C:\Users\Desktop\pdfstamp_cmd\pdfstamp_cmd_v2.5\example\pdfstamp.exe -PDFs "C:\test\test*.pdf" -o "C:\test\out" -SR -S-1 -E-1 -AL -P2 -R90 -LW5 -W20 -AL -P3 -R90 -LW5 -W20

So the above will draw 2 lines on every odd page.  How do I make the last –AL call only draw a line on the last odd page?

I started on a little java project that used:

int total = reader.getNumberOfPages();

//Mark odd pages for collation
for (int i = 1; i <= total; i = i+2) {
canvas = stamper.getOverContent(i);
canvas.setLineWidth(2f);
canvas.moveTo(350, 20);
canvas.lineTo(350, 0);
canvas.stroke();

//Mark the last odd page for insertion
if (i == total || i == total-1){
canvas = stamper.getOverContent(i);
canvas.setLineWidth(2f);
canvas.moveTo(380, 20);
canvas.lineTo(380, 0);
canvas.stroke();
}
}

I am running Window7 SP1 if that matters.

Thanks,
===============================
Thanks for your message, you can separate this one command line into two command lines, one command line will add one text stamp, you can control page range in each command line separately.

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 print

Evaluation demo watermark of PDFPrint command line application

Dear Support,

We are installing an additional computer to run one legacy application here in the company and this program send PDF print jobs to our plotter printer using the pdfprint command line.

Everything seems working fine in this new computer except the water mark printed out in the middle of these drawings “Evaluation of VeryPDF PDFPrint”, but double checking the command line we couldn’t find any place asking for this water mark.

Is that showed because this new computer is missing some kind of license?

What is the best way to get this license?

What would be the price also?

Thanks and Best regards,
=============================
Thanks for your message, this is a limitation in trial version of pdfprint.exe application, after you purchased pdfprint command line application, you can deliver your license key to pdfprint.exe by -$ parameter, this “Evaluation of VeryPDF PDFPrint” demo watermark will be removed automatically, for example,

Pdfprint.exe -$ XXXXXXXXXXXXXX C:\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)
pdf split-merge

Problem with pdfpg.exe

Hi,

We recently updated pdfpg.exe to version 3.0) and everything was working fine but recently one of our customers reported an error under Windows XP SP3 which we could reproduce here.

Trying to use pdfpg on the attached file under Windows XP SP3 with the following command line:

pdfpg test.pdf,1-3 out.pdf

produces the following error message:

Merge PDFs and restructure bookmarks, AcroForms ...
There are 3 pages in test.pdf
java.lang.ClassCastException: com.lowagie.text.pdf.PdfDictionary cannot be cast
to com.lowagie.text.pdf.PRIndirectReference
at 0x0058e0be (Unknown Source)
at 0x0058e602 (Unknown Source)
at 0x00558ad4 (Unknown Source)
at 0x00576aa4 (Unknown Source)
at 0x005ab3b4 (Unknown Source)
at 0x0057495e (Unknown Source)
at 0x0041cef0 (Unknown Source)
at 0x0041b82c (Unknown Source)
at 0x0041d306 (Unknown Source)
at 0x00408996 (Unknown Source)
at 0x0040bf61 (Unknown Source)
at 0x005db00e (Unknown Source)
at 0x005928b0 (Unknown Source)
at 0x00558907 (Unknown Source)
at 0x005589e7 (Unknown Source)
at 0x004012d9 (Unknown Source)
at 0x0040117e (Unknown Source)
at 0x00401014 (Unknown Source)
at 0x7c817073 (Unknown Source)

I also updated my Windows XP to the latest Java Version 6 Update 27

Processing this file under Windows 7 works flawlessly.

What can we do to avoid this error?
=====================================
Thanks for your sample PDF file, we can reproduce this problem in our system now, we will work on this problem and include a fix for this problem into the next version of PDF Split-Merge software.

In the meantime, we suggest you may by following steps to try again,

1. We will present a copy of docPrint Pro v5.0 to you free, you can download and install docPrint Pro v5.0 from following URL,

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

2. After you installed it, please open your original PDF file in Adobe Reader, print it to docPrint PDF Driver to create a new PDF file,

3. You can use PDF Split-Merge software to split and merge the new PDF file without any problem.

VeryPDF
======================================
can you roughly estimate, when the next version will be released?
======================================
Thanks for your message, in general, we are often release a new version every three months, we will let you know after new version is ready, 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: 0 (from 0 votes)
powerpoint to flash

How to call pptconv.exe from PHP source code?

Hi,

We have test it in windows xp and office 2003, all fine.
windows xp and office 2010, all fine.
windows 2003 and office 2007, all fine.
windows 2008(64 bit) and MS Office 2010, failed.
windows 2008(32 bit) and MS Office 2010, failed.

what is the reason, verydoc don't support windows 2008 system?
[0] => Thank you for choosing our product.
[1] => Loading "C:\xampp\htdocs\pptx\tmp\4e7851ab27497_in\test.pptx" file...[20%]
[2] => Shutdown PowerPoint Application...[60%]
[3] => Conversion Finished! Result value = -2

Result value -2 means what?

we have try your suggest method, but the result is "-2", what can we do for that?
=========================
We apologize for any inconvenience this may have caused to you, our PPT to Flash Converter does support windows 2008 system.

When I run the conversion in CMD window, everything is fine,

C:\Windows\system32>"C:\Program Files (x86)\VeryDOC PowerPoint Converter v3.0\pptconv.exe" C:\xampp\htdocs\pptx\test_2\test.pptx C:\xampp\htdocs\pptx\test_2\test_jpg\test_2.jpg -$ XXXXXXXXXXXXXXXX
Thank you for choosing our product.
Loading "C:\xampp\htdocs\pptx\test_2\test.pptx" file...[20%]
Export file(s)...[50%]
Shutdown PowerPoint Application...[60%]
Conversion Finished! Result value = 3

Because PHP application is run inside system user account, the MS Office can’t be run inside system user account properly, so you need run the conversion inside an interactive user account instead of system user account, please refer to following web page to solve this problem,

Convert your PPT file to SWF file under interactive user account

after you installed docPrint Service into your system, you can use following PHP source code to call pptconv.exe to convert PPTX documents to JPEG files quickly,

<?php
$pid=exec('C:\Users\verydoc\Downloads\docPrint_Service\docPrint_Service\docPrint_client.exe wait "C:\Program Files (x86)\VeryDOC PowerPoint Converter v3.0\pptconv.exe" -$ XXXXXXXXXXXXXXX C:\xampp\htdocs\pptx\test_2\test.pptx C:\xampp\htdocs\pptx\test_2\test_jpg\test_2.jpg',$returnvalue);
print_r($returnvalue);
//echo $pid;
?>

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)