Business Software, eBook Products, Java Software, PDF Software, Security Software

jpdfkit is a PDF conversion and form utility for Windows, Mac and Linux systems

jpdfkit is a PDF conversion and form utility for Windows, Mac and Linux systems. You can use this command line software to combine PDFs, remove PDF pages, split PDF PDFs, and fill in PDF forms with this handy Linux command line easily.

image

Business peoples are deal with huge numbers of PDF files every day. The PDF format is popular because it contains processed PostScript code. PostScript is the printer language of modern printers, so publishers often publish digital versions of books in PDF format, and they invest time and effort in producing PDF files for printing. But PDF is not an editable format, and while some reverse processing is possible, it should be the last stop for digital data before it is sent to the printer. Even so, sometimes you need to make adjustments to your PDF files, VeryUtils jpdfkit tool is the most efficient PDF command line tool.

The trial version of jpdfkit can be downloaded from this web page,

https://veryutils.com/java-pdf-toolkit-jpdfkit

jpdfkit Command Line software highlight features:
* Fill forms, either from a XFDF/FDF file or from a data array (UTF-8 safe for unflattened forms).
* Create XFDF or FDF files from PHP arrays (UTF-8 safe!).
* Create FDF files from filled PDF forms.
* Combine pages from several PDF files into a new PDF file.
* Split a PDF into one file per page.
* Add background or overlay PDFs.
* Read out meta data about PDF and form fields.
* Set passwords and permissions to PDF files.
* Remove passwords from PDF files.

jpdfkit Command Syntax
The structure of a valid jpdfkit command follows a pattern, but there's a lot of flexibility in what's in the pattern. The syntax is a little unusual because it doesn't use traditional-style terminal options, but with practice, it's not too difficult to remember.

jpdfkit: The alias to call the command
input file: The PDF you want to modify
action: What you want to do to the input file
output: Where you want to save your modified PDF file

You may look at more jpdfkit command line examples from this web page,

https://veryutils.com/blog/java-pdf-toolkit-jpdfkit-command-line-examples/

See Also:

jpdfkit is a Java PDF Library to Merge & Split PDF documents
https://veryutils.com/blog/jpdfkit-is-a-java-pdf-library-to-merge-split-pdf-documents/

How to encrypt PDF files on Linux Server using Java PDF Toolkit (jpdfkit.jar)?
https://veryutils.com/blog/how-to-encrypt-pdf-files-on-linux-server-using-java-pdf-toolkit-jpdfkit-jar/

Java PDF Toolkit (jpdfkit)
https://veryutils.com/java-pdf-toolkit-jpdfkit

PDF Toolkit Command Line Tools & Utilities
https://veryutils.com/pdf-toolkit-command-line-tools-and-utilities

Java PDFTools (jpdftools.jar) Command Line
https://veryutils.com/java-pdftools

Business Software, PDF Software

jpdfkit encrypted PDF file can’t be opened because permission denied problem in SUSE and CentOS Linux systems

Find if permission denied errors are caused by SELinux for VeryUtils Java PDF Toolkit (jpdfkit) software.

VeryUtils Java PDF Toolkit (jpdfkit) can run on Linux systems, VeryUtils Java PDF Toolkit (jpdfkit) can be downloaded from following web page,

https://veryutils.com/java-pdf-toolkit-jpdfkit

However, we recently noticed an issue where we used the following command line to encrypt PDF files on SUSE Linux system,

java -jar /Encrypt-PDF/jpdfkit_1/jpdfkit.jar /Encrypt-PDF/jpdfkit_1/Manual.pdf output /Encrypt-PDF/jpdfkit_1/Manual-output.pdf owner_pw 123 user_pw 456 encrypt_128bit allow printing

The encrypted PDF file couldn't be opened because permission denied problem, even if we tried to copy encrypted PDF file to another file, we still encounter permission denied problem,

cp /Encrypt-PDF/jpdfkit_1/Manual-output.pdf /Encrypt-PDF/jpdfkit_1/Manual-output2.pdf

After we researched this problem for some days, we sure this problem caused by "SELinux" in Linux system, here is the solution.

SELinux, short for Security Enhanced Linux, is a Linux security module that is part of many Linux server distributions. While SELinux increases server security (despite being created by NSA), it often results in some unexpected access/permission denied errors.

If you get one of such errors on a server with SELinux enabled, and there are no obvious file permission issues, you should check if the issue is caused by SELinux. To check the status of SELinux, run:

sestatus

You should get something like this:

SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: enforcing
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 28

"Current mode: enforcing" indicates that SELinux is running.

image

To temporary disable SELinux, run:

setenforce 0

If this resolves the problem, and you no longer get "permission denied" errors, it means the issue was caused by SELinux. Re-enable it with setenforce 1 and try to find the root cause.

To help with troubleshooting, you can check SELinux log files located in /var/log/audit/audit.log

Very often, the issue is caused by incorrect security context (also called security label) assigned to the affected files or folders. To view security context that SELinux has applied to files or folders, run one of the following commands (they all display security contexts, just in different formats):

ls -Z or ls --context
ls --lcontext
ls --scontext

To modify the security context, you can use chcon command, i.e:

chcon -R -t httpd_sys_content_t /www/sites

httpd_sys_content_t - Apache Read-Only access
httpd_sys_rw_content_t - Apache Read/Write access
httpd_log_t - Apache log files
httpd_cache_t - Apache caching

or use reference directory:

chcon -R --reference=/var/www/html /www/sites

Business Software, Utilities

Capture Printed Documents and Save them to Cloud based MySQL database

I need to create a software (preferably IN DELPHI 10.x) that monitors printers and looks for receipts and invoices. It should allow me to configure different businesses and everything should be saved to my hosted cloud based MySQL database.

Now, the critical thing is this: when each business is first configured, the system should allow me to print an initial invoice/receipt which is captured. It should then allow me to define certain fields on the invoice: Invoice Number, Date, Item Number, Description, Qty, price, Discount (if applicable) and total, for each line of the invoice/receipt. It should also allow me to define the total of the invoice and payment. All this will be stored in the cloud database.

After this, the software should run automatically in the system tray, and access be password protected. This config is also stored in the cloud. Whenever anyone prints any invoice/receipt, the software should capture the details and store it in the cloud database.

The final part of the software is the admin part which is installed on a different system. The admin part will allow me to configure each business, and run several reports, which will show details of transactions printed during requested periods, with the option to drill down to the individual invoice details. I should also be able to setup different users to access the admin part with various levels of access.

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

image

Thanks for your message, I checked your requirements carefully, I cleared up them to following items,

1. Monitors printers and looks for receipts and invoices.

2. It should allow me to configure different businesses and everything should be saved to my hosted cloud based MySQL database. Whenever anyone prints any invoice/receipt, the software should capture the details and store it in the cloud database.

3. Define certain fields on the invoice: Invoice Number, Date, Item Number, Description, Qty, price, Discount (if applicable) and total, for each line of the invoice/receipt. It should also allow me to define the total of the invoice and payment. All this will be stored in the cloud database.

4. After this, the software should run automatically in the system tray, and access be password protected.

5. This config is also stored in the cloud.

6. The final part of the software is the admin part which is installed on a different system. The admin part will allow me to configure each business, and run several reports, which will show details of transactions printed during requested periods, with the option to drill down to the individual invoice details. I should also be able to setup different users to access the admin part with various levels of access.

We have a Hookprinter Print Logger software, this software should be useful to you, you may download the trial version of Hookprinter Print Logger software from following web page to try,

https://veryutils.com/hookprinter-print-logger

After you install the software, you can print a document to any printer which installed in your system, you will able to see the captured document in following web page,

You can view a demo of print report from following web page,

http://online.verypdf.com/app/hookprinter

We can also provide customized development service to you at additional cost, if you have any question for this software, please feel free to let us know.

VeryUtils

Business Software, PDF Software, Utilities

How can I intercept and capture the content’s of a window’s spool file, and convert this SPL file to PDF file?

I have files being printed from a client's computer and would like to intercept and archive the printed file as text or pdf. The client will most likely be using a specific software to print and I do not want to integrate with each of the different software's any client could be using.

Is there a way to intercept the content's of the print job, whether programmatically (python's win32print or wmi, c#, etc) or by converting the spool file (.spl & .shd) that is created in the C:\Windows\system32\spool\PRINTERS directory during print queuing.

Customer
------------------------------------------
All print files in Windows are kept in the folder C:\Windows\System32\spool\PRINTERS, which requires Administrator permissions to access.

The files are in the format of .SPL files, which require a viewer.

As intercepting these files while they are being printed is hard, you may instead ask Windows to keep them after printing, for you to copy afterward. This depends on your printer having the option of "Keep printed documents" in the printer Properties, usually in the Advanced tab.

image

You can use "VeryPDF SPL to PDF Converter Command Line" software to convert from SPL files to PDF files,

https://www.verypdf.com/app/hookprinter/spool-spl-to-pdf-converter.html

VeryUtils has a "HookPrinter Print Logger" software, you may download and evaluate it from this web page,

https://veryutils.com/hookprinter-print-logger

You can use "HookPrinter Print Logger" software to capture printed SPL files and SHD files, convert them to PDF files, and then upload PDF files to Cloud Server for archive.

VeryUtils

Business Software, PDF Software, Utilities

Capture documents from any printer and store them as .pdf

I need a program to intercept print jobs from any printer driver on my system (not a single custom one) and store the contents of the print job as a .pdf, .png, or most likey .bmp, do you have a software to do this job?

Customer
---------------------------------------
The company I work for currently uses a black box shipping system. Each morning our shipping manager prints out shipping tickets for his drivers. I would like to save a copy of each ticket printed as a PDF. The action of saving to a PDF should be done behind the scenes.

Note: The PDF copy would be in addition to the hard copy, however, I would like to generate the PDF copy when the hard copy is printed (or directly after if I can use the saved print job).

End Result: The manager prints a hard copy and a PDF gets saved to an archive folder without any interaction from the manager.

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

image
Yes, VeryPDF HookPrinter Print Logger software can do above works for you, you may download the trial version from this web page to try,

https://veryutils.com/hookprinter-print-logger

With VeryPDF HookPrinter Print Logger software, you can intercept and capture all print jobs, convert them to PDF files, and upload PDF files to Cloud Server (Cloud Database), you will able to view more printing information online easily.

Print Tracking & Log
VeryPDF HookPrinter Print Logger software can capture all information related to printing, including number of pages, date and time submitted, username, computer name, printer name, document name, color, paper size and job size, it can also intercept and capture SPL and SHD files from all installed printers, convert them to PDF files, upload these PDF files and other information to cloud server (cloud database) automatically.

VeryPDF HookPrinter Print Logger can track following information,
* The time of print.
* The name of the user who printed.
* The total number of pages.
* Document names and titles.
* Computer name which sent the print job.
* The name of printer driver.
* Printer Name.
* Capture all print jobs and convert them to PDF files for review at later.
* Capture all printed SPL and SHD files.
* Department name which sent the print job.
* Local network IP address and public internet IP address of the computer which sent the print job.
* Show the last printing time for all computers in a department.
* Able to list all computers in a department.
* Able to list all print jobs in a computer.
* Document attributes such as color, duplex, grayscale, paper size, document area, paper length.
* Where the print job originated from (the workstation name or IP address).
* Other print job attributes such as paper size, color mode and more.

VeryPDF HookPrinter Print Logger highlight features:
* Track and log each printed job on a print server, shared and network printer.
* Capture and save a printed job as PDF or image file.
* Unlimited number of printers and print clusters solutions support.
* Support unlimited number of printers.
* Support SQLite, MS SQL Server etc. databases.
* Viewing printed documents as images.
* Viewing printed documents as PDF.
* Web interface for report viewing.
* Support for print clusters.
* Support any printing environment (Windows print server, direct IP printer, and local USB printer).
* Support any brand of printer and plotter (HP, Brother, Canon, Epson, OKI, Ricoh, Konica, Xerox, etc.).

Compatible with any printers which support the following drivers:
* PCL (version 3, 4, 5, 5E, 5C, 6(XL).
* HP-GL/2.
* POSTSCRIPT (level 2 and 3).
* ESC/Page, ESC/P(with Remote Mode Commands), ESC/P2.
* 9-Pin ESC/P, FX.
* Zj-Stream, CPCA, BJL, ZIMF.
* GDI Based SPL-EMF.
* XPS Driver.

Compatible with following operating systems:
* Windows Server 2019 / 2016 / 2012 / 2008 / Windows 10 / 8 / 7 / Vista / XP
* Server, advanced server, enterprise edition, 64-bit edition, ultimate, workstation, professional.