DWG to Image Command Line can not trim white margins from generated image files, DWG to JPG and PNG Converter

We've ordered the "DWG to Image Command Line End User License" software.

image

Now, we used the V3.2 program from your company website, and it can be run with the series number!

http://www.verydoc.com/dwg-to-image.html
http://www.verydoc.com/verydoc_dwg2image_cmd.zip

* We used version currently as below for your reference:*
DWGTools Converter Command Line v3.2
Convert DWG and DXF files to Raster BMP, JPG, PNG, TIFF, GIF formats.
Release Date: Nov  7 2016
Operating system: Windows 10 64bit

Although the program can running with serial number, we have some problem, please help us to check it.

(1) use "-debug" parameter:
Conversion fail, why is no any extra debugging information?!

(2) use "-dpi" parameter:
If we use the "-dpi" parameter, the conversion file has a lot of blank areas above and below (please see the attachment); and if we don't use the "-dpi" parameter, it automatically removes the blank. Is there any parameter that we can solve the blank space problem?!

(3) use "zoomtype" parameter:
We think to use "zoomtype 2 (Zoom Extents) parameter, It should be possible to remove the white space, but in fact, this parameter has no effect. Do you have any suggestion for that?!

(4) Could you please inform us which version program is running stability and suitable for us to use?!

Thanks for your assistance!

Best regards,
Customer
---------------------------------------------------------------------
Thanks for your message, here are answers to your questions,

1. Conversion fail, why is no any extra debugging information?

In general, the conversion fail may caused by high DPI value, the high DPI resolution will generate very big width and height values, such as an image file with 50000x50000 pixel or more dimension, if your system hasn't enough memory, it will show "Conversion fail" error message, in this case, you may reduce the DPI value to try again, e.g., "-dpi 10" or "-dpi 20",

dwg2img.exe -bgcolor 255 -dpi 20 test3.dwg _test3.png

btw, if you wish to remove highlight colors from PNG image file, you can run following command line to convert from color PNG image file to black and white image file,

imgconv.exe -threshold 98% _test3-trim.png _test3-bw.png

after you run above command line to process your image file, you will get a trimmed image file automatically.

2. In order to remove blank space from generated image files, you can use imgconv.exe application, imgconv.exe is included in the "verydoc_dwg2image_cmd.zip" package, you can run following command line to trim white margins from your PNG image files easily,

imgconv.exe -trim -border 50 -bordercolor white _test3.png _test3-trim.png

3. "zoomtype" parameter is just zoom DWG content to fit the paper size, it can't remove the margins, if you need to remove the margins, you need use imgconv.exe application.

4. You can always download the latest version from our website directly,

http://www.verydoc.com/dwg-to-image.html
http://www.verydoc.com/verydoc_dwg2image_cmd.zip

VeryDOC
---------------------------------------------------------------------

School How to convert your image to vector PDF, DXF, SVG formats (png to svg, jpg to svg, png to dxf, jpg to dxf, etc.)?

http://www.verypdf.com/raster-to-vector/online-raster-to-vector.html

image

VeryDOC has a Scan2CAD software also, with this Scan2CAD software, you can convert your images, such as PDF files, or BMP, or any other image, into a clean, editable Vector file, such as DXF, PDF, SVG, etc. formats.

Just open following web page in your web browser,

http://www.verypdf.com/raster-to-vector/online-raster-to-vector.html

image

Click on "Choose File" button to choose an architectural image, choose "Output Format" with PDF, SVG or DXF format, and choose some other options, after that, please click "Upload and Convert File" button, you will upload the raster image file to our server, our "Cloud Raster to Vector Converter" will convert this raster image file to vector DXF, PDF, SVG, etc. formats, you can download and save the converted vector file to your local system properly.

VN:F [1.9.20_1166]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
Posted in DWG to Image Converter | Tagged , , , , , , | 1 Comment

How to intercept a print job, convert it to PDF file or plain text file or image file and then forward the print job to another printer?

We have some customers who often ask us about how to intercept and capture the print jobs from Windows printer, save them to PDF or text or image files and then continue the printing, yes, this is a good question, VeryPDF docPrint Pro is a good software to implement this function, it can capture all print jobs, save them to various document formats, and then execute the printing continue.

docPrint Pro v8.0 can be downloaded from this web page,

http://www.verypdf.com/app/document-converter/document-converter.html
http://www.verypdf.com/app/document-converter/try-and-buy.html#buy_pro
http://www.verypdf.com/artprint/docprint_pro_setup.exe

Here is the release note for the docPrint Pro v8.0 software,

http://www.verypdf.com/wordpress/201804/verypdf-release-notes-verypdf-released-docprint-pro-v8-0-today-docprint-pro-v8-0-is-able-to-make-a-connection-between-docprint-and-other-windows-printers-43787.html

Here are some questions from our customers, just for your reference,

-------------------------------------------------------------------
I wish to intercept print jobs, read who they are from etc., and then only print them, if the program wants to.

Is there any documents or samples on doing such a thing, if so can some one point me to them, or give me a sample below?

Something on the pc prints (e.g. notepad), the program intercepts the print job (it does not get printed), if the program determines if the print job is worthy of being printed, then it will be printed.

Currently I'm using system.printing, to collect all the printers and find new print jobs,
pause them if they are new, read information about them, e.g. pages, paper size (have not figured out paper size yet), if they are to be printed, un-pause them, else cancel them.

This is not the best way, as i have to make the program auto close the print job window, if it is opened. Because un-pausing a print job, even for part of a second, lets the whole print job get to the printer.

Customer A
-------------------------------------------------------------------
How to Intercept Printer Data?

Could anybody tell me how can I create a small driver to intercept and capture information being sent to the printer and instead write it to a file?

Thanks.
Customer B
-------------------------------------------------------------------
I need to intercept a print order from a program like Core, Photoshop or Word and capture a series of data from it just like the print date, dimensions of impression etc. to save in a database and then release it to print.

Customer C
-------------------------------------------------------------------
Is there any way to intercept print jobs on network or local printer

Is there a way to monitor the print queue (before it gets to the print queue) and make sure that a particular user is only printing specified number of copy of a document? I want to find out how many copies of printout particular user had taken to maintain a record of this. How can I do that using Java Code or any other programing language?

Thanks In Advance...
Customer D
-------------------------------------------------------------------
How capture printer data before print, parsing and edit the data then send it to printer?

Any C# sample would be great.

I'm looking for source code or sample that get printer data before print (capture printer output) put it in variable and change some values then print it in form.

Any idea how to get data and put it into variable for special purpose?

Customer E
-------------------------------------------------------------------
How Do I Intercept Data Sent From A Printer Attached To Retail POS In A Store?

Hello,

Please I need help from experts familiar with printer technology, I'm designing a loyalty solution that will capture transactions performed in a retail store, I'd like to fetch the records of the items and amount sent to the printer for receipt printing. Is there a way I can intercept that data and store in a location for later collation?

Appreciate any ideas on this.
Customer F
-------------------------------------------------------------------
How to intercept a print job convert it to plain text and print?

Dear Experts,

I need some advice and tips for a new project i want to start.

I will be working with several bars and restaurants for a loyalty program.

Since all the customers already have a POS Software/Hardware from different vendors, i need to write a program to be able to capture in plain text the final invoice when the POS prints the final receipt.

The process should be something like:

1. The user send the command to the POS software to print the final check
2. The program will intercept the printing job, and create a plain text file and store it into the local PC.
3. The check is printed automatically
4. This should be done in silent mode, the user should not notice anything different.

My questions are:

1. Is this possible to do with POS printers like the ESPONS TM family printers?
2. First I want to build this for Windows XP to Windows 8.
3. Which programming language is more suitable for this task? I can use C# and Delphi.

I will give the max point available!!!

Thanks Experts!
Customer G
-------------------------------------------------------------------

VeryPDF docPrint Pro v8.0 has a printing capture and forwarding function, please by following steps to use this function,

1. Please download and install docPrint Pro v8.0 from this web page,

http://www.verypdf.com/app/document-converter/try-and-buy.html#buy_pro
http://www.verypdf.com/artprint/docprint_pro_setup.exe

2. If you are using 64bit Windows system, your default installation folder will be "C:\Program Files (x86)\docPrint Pro v8.0", you will see the files in this folder after you install it,

3. After you install the docPrint Pro v8.0 software, you can run following command line to connect docPrint and another printer together,

"C:\Program Files (x86)\docPrint Pro v8.0\artprint.exe" -forwardprinter

image

You will see following setting dialog for Printer Redirection,

image

You can select a target printer (forwarded printer) first, for example, you can choose "Microsoft XPS Document Writer" for test purpose, if you print documents to docPrint, docPrint will forward the print jobs to "Microsoft XPS Document Writer", you will get XPS files automatically.

If you want to get the PDF and Text files for each captured print job, you need to check "Save document as PDF" and "Extract to text files" two options.

OK, You can click "Save & Close" button to close this dialog.

4. Now, you can run MS Word application or other applications for printing purpose, you can open a Word document in MS Word application, print it to docPrint virtual printer, you will get a PDF file and a plain text file in predefined folder and also get a XPS file automatically.

image

This is the printing captured PDF document, the filename is "20180415113535_4_Microsoft Word - Original Filename.pdf", this PDF file looks fine,

image

You will also get a text file in the same folder, the text filename is "20180415113535_4_Microsoft Word - Original Filename.txt", this text file has same layout with original Word document and PDF file.

5. Everything is fine now.

We suggest you may download the trial version of docPrint Pro v8.0 to try, if you encounter any problem with it, please feel free to let us know, we are glad to assist you asap.

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 VeryDOC SDK & COM | Tagged , , , , , | Leave a comment

Failed to run doc2any.exe from a schedule job, the schedule job is being run "with highest privileges" on Server 2016

Using command line "doc2any.exe to convert DOCX files to PDFs" Conversion work properly when done with a user-interactive session. When this is run as a schedule job header information does not convert over to the PDF.

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

image
Thanks for your message, you can use "VeryPDFComRunCmd COM" to run doc2any.exe from an interactive user account, please look at following web pages for more information,

http://www.verydoc.com/blog/verydoc-release-notes-verydoc-releases-an-exe-com-of-verypdfcomruncmd-exe-today-verypdf-exe-com-does-allow-you-to-call-ms-office-and-any-exe-application-from-asp-php-c-net-etc-program-languag.html

http://www.verydoc.com/blog/how-to-call-doc2any-exe-from-php-source-code.html

http://www.verydoc.com/doc-to-any-shell.html

VeryDOC
------------------------------------------------
I don't see an answer to my problem in these pages.

Trying to run this conversion as a scheduled job where it simply converts all DOCX files in a folder to PDF, configured to run as a specific user account.

When script is run logged on as that user interactively the conversion works properly, when run as a scheduled job, as the same user, but not logged on interactively, the conversion runs successfully, but the MSWord doc header does not show up in the PDF and the formatting is messed up. Almost like it was converting to a RTF and then to a PDF.

The schedule job is being run "with highest privileges". OS - Server 2016.

Example attached.

Customer
------------------------------------------------
Yes, I understand this problem, because MS Word can't be run inside the system user account, you have to run it inside an interactive user account in order to convert from Word documents to PDF files properly.

You can use "VeryPDFComRunCmd COM" to run doc2any.exe from an interactive user account, however, if you wish to use a Command Line EXE instead of DCOM, you may use CmdAsUser.exe to do this work, CmdAsUser.exe is a command line application, you may download CmdAsUser.exe from this web page to try,

http://www.verydoc.com/exeshell.html#CmdAsUser_Command_Line_Tool
http://www.verydoc.com/download/cmdasuser.zip

Usage: CmdAsUser.exe <user> <domain> [/p <password>] [/c <command>]

Where:
<user> is the name of the user.
<domain> is the logon domain, specify a period '.' for local.
<password> (optional) is the users password.
<command> (optional) is the command line to execute as the specified user.

Notes:
If the password is not given then you will be prompted for it.
If the command is not given then "cmd" is assumed.
The calling process needs to either have administrative privileges (i.e. in the local adminstrators group) or at LEAST the following privileges:
"Act as part of the operating system" (SeTcbPrivilege),
"Bypass traverse checking" (SeChangeNotifyPrivilege),
"Increase quotas" (SeIncreaseQuotaPrivilege),
"Replace a process level token" (SeAssignPrimaryTokenPrivilege).
The utility may take a while if there is inappropriate security so please be patient.

Examples:

CmdAsUser.exe Martyn . /p GingerNinja /c regedit
CmdAsUser.exe test . /p 123 /c "C:\Program Files\docPrintPro v4.5\doc2pdf.exe" -i htttp://www.verypdf.com -o "C:\out.pdf"

for example, you can run following command line to run doc2any.exe from "Administrator" user account,

C:\doc2any\CmdAsUser.exe Administrator . /p password C:\doc2any\doc2any.exe C:\test.doc C:\out.pdf

Please look at following web pages for more information,

http://www.verydoc.com/blog/running-doc2any-as-a-scheduled-task.html
http://www.verydoc.com/blog/how-to-call-doc2any-exe-from-asp-code.html

VeryDOC

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 DOC to Any Converter | Tagged , , | Leave a comment

Font missing problem when converting PDF to PDF/A

Hello,

We use pdf2pdfa.exe to convert normal pdf:s to PDF/A but some pdf-files won't convert correctly. They seem to be corrupt after conversion.

The thing is that it only happens when we use VCL-components (Delphi) from DevExpress.com so our conclusion is that DevExpress put something into the files that shouldn't be there...

Maybe we can send you a PDF-example so you can determine what's wrong with the file? Then we can point this out to Devexpress.

We use this line for i.e.. (I can send license in an e-mail).

pdf2pdfa.exe "-$" "license" -mode 2 Report.pdf ReportA.pdf

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

image
http://www.verydoc.com/pdf-to-pdfa.html
http://www.verydoc.com/pdf2pdfa_cmd.zip

We suggest you may add "-repair2" option to try again, for example,

pdf2pdfa.exe -repair2 -mode 2 D:\downloads\Tahoma.pdf D:\downloads\Tahoma-pdfa.pdf

pdf2pdfa.exe -repair2 -mode 2 D:\downloads\test.pdf D:\downloads\test-pdfa.pdf

We hope "-repair2" option will solve this problem to you.

VeryDOC
------------------------------------------------

image

PDF/A is a version of Portable Document Format designed for archiving and preservation. Due to its popularity, many electronic documents exist in PDF format, and the ability to convert an existing PDF into a conforming PDF/A file is as important, if not more, as being able to produce documents in PDF/A format. The Florida Digital Archive conducted a study to select a PDF to PDF/A conversion application as part of its format normalization strategy in the summer of 2012. This article documents the evaluation process and presents the results in such a way that they provide insight into challenges and potential drawbacks during similar evaluation or implementation.

Difference between PDF and PDF/A
The main difference between PDF and PDF/A is that the latter has specific requirements that the regular PDF format does not. The reason why PDF/A enforces these requirements is to make sure that whatever software is used in the distant future will be able to support the file and display all its contents properly.

Types of PDF/A conversion
The two main levels of conformance you can choose from are:

PDF/A-1a (accessible): This conformance level has strict requirements; your document must contain tagging, document structure (hierarchy), language specification, and Unicode mappings. This level is accessible for visually impaired users.

PDF/A-1b (basic): This conformance level has minimum requirements. It does not require tagging, hierarchy, etc. It can be created from a scanned document instead of an existing digital file.

PDF/A restrictions
Unfortunately, you will not be able to include any audio/video content when you are using a PDF/A converter, nor will you be able to include encryption and JavaScript. The reason why is simple – that type of content is too heavy for long-term digital file preservation, and, as mentioned earlier, future software might not be able to support it.

When archiving a PDF file, you want to ensure the file is lightweight and follows all the PDF/A conformance rules, otherwise it may not be accessible to future users due to the compliance being broken.

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 PDF/A Converter | Tagged , , , , | Leave a comment

Convert specific sheet in XLSX to CSV, how to convert Excel to CSV and export Excel files to CSV UTF-8 format

I need to convert a sheet of a multi sheet Excel to CSV using command line. how do I do it?

I would like to see a list of all available parameters for the convert. e.g. how i pass the password when the Excel file is password protected?

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

image
Thanks for your message, we suggest you may download "VeryDOC DOC to Any Converter Command Line" from this web page to try, you can use "VeryDOC DOC to Any Converter Command Line" to convert from Excel to CSV file easily,

http://www.verydoc.com/doc-to-any.html
http://www.verydoc.com/doc2any_cmd.zip

after you download and unzip it to a folder, you can run following command line to convert a XLS to CSV file,

doc2any.exe -useoffice 1 D:\test.xls D:\out.csv

If your XLS contains password, you may pass the password to doc2any.exe by "-password" option, for example,

doc2any.exe -useoffice 1 -password XXXXXXXX D:\test.xls D:\out.csv

VeryDOC

Comma-separated values (CSV) is a widely used file format that stores tabular data (numbers and text) as plain text. Its popularity and viability are due to the fact that a great deal of programs and applications support csv files, at least as an alternative import / export format. Moreover, the csv format allows users to glance at the file and immediately diagnose the problems with data, if any, change the CSV delimiter, quoting rules, etc. All this is possible because a CSV file is plain text and an average user or even a novice can easily understand it without any learning curve.

Convert Excel data to CSV file
Export Excel to CSV UTF-8 or UTF-16
Other ways to convert Excel to CSV (keeping special characters)

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 DOC to Any Converter | Tagged , , | Leave a comment
Page 5 of 333« First...34567...102030...Last »