alexivkin / cups-pdf-to-pdf Goto Github PK
View Code? Open in Web Editor NEWCUPS-PDF with a patch to print text correctly
License: GNU General Public License v2.0
CUPS-PDF with a patch to print text correctly
License: GNU General Public License v2.0
Hi,
is it possible to run cups-pdf as any user other than root? E.g. a user belonging to the group root.
I am trying to run cups and cups-pdf on OpenShift which uses arbitrary user ids and does not allow running images as root:
https://docs.openshift.com/container-platform/3.11/creating_images/guidelines.html
Hi,
I had the patch running (manually) on Arch since a few years. But somehow, this stopped working at some point. I again get garbled text when selecting text from a cups-pdf generated pdf.
Also using your GIT directly does not help. What do I do?
yay -S cups-pdf-to-pdf-git (cf. here https://aur.archlinux.org/packages/cups-pdf-to-pdf-git)
sudo systemctl restart cups
Go to localhost:631, remove the old cups-pdf printer, add the new one using one of CUPS-PDF with or without options, install it, select it as default printer
do echo 'mama' | lp as user, open the PDF in a reader, select the text, paste it somewhere: it is not mama, but unicode character replacements.
Any hint? Thanks in advance!
PS: Sorry for double posting this here and on the AUR site.
Hi
We have installed CUPS-PDF version cups-pdf-3.0.1-lp152.3.5.x86_64 and confirm the on our SUSE Linux servers. Printing to PDF files is working however, when the print job has multiple files the print job is not working. Need assistance to fix this issue.
Thanks
Kishore K.
Hi, I have a problem reported already to wine and ghostscript, but maybe you have an idea, too:
https://bugs.winehq.org/show_bug.cgi?id=42739
https://sourceforge.net/p/ghostscript/discussion/5452/thread/44e4abf6/
It is a showstopper for creating text searchable pdfs from within wine from random docx/msg documents.
Thanks for any hint!
I am getting the following errors concerning functions ppdOpenFile
, ppdMarkDefaults
, and ppdFirstOption
:
cups-pdf.c: In function 'read_config_ppd':
cups-pdf.c:282:3: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;]
282 | ppd_file = ppdOpenFile(ppd_name);
| ^~~~~~~~
In file included from cups-pdf.c:60:
/nix/store/3flv6k8sbl521f5980w4lpbxh2dfxvx1-cups-2.4.2-dev/include/cups/ppd.h:389:26: note: declared here
389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
cups-pdf.c:287:3: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;]
287 | ppdMarkDefaults(ppd_file);
| ^~~~~~~~~~~~~~~
In file included from cups-pdf.c:60:
/nix/store/3flv6k8sbl521f5980w4lpbxh2dfxvx1-cups-2.4.2-dev/include/cups/ppd.h:384:25: note: declared here
384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
cups-pdf.c:289:3: warning: 'ppdFirstOption' is deprecated: Use cupsCopyDestInfo and friends instead. [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;]
289 | option = ppdFirstOption(ppd_file);
| ^~~~~~
In file included from cups-pdf.c:60:
Hi,
Is there no installer for that version? I am not expert enough to compile etc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.