5,332 reputation
11940
bio website
location Germany
age
visits member for 4 years, 6 months
seen 1 hour ago

I happen to know a thing or two about printing, PDF, PostScript, PJL, Fonts and related stuff.

Also familiar with some bits and pieces of Linux, Unix, Samba and Solaris printing. Not to forget bash programming and Windows cmd.exe batch scripting. I also do consultancy in these topics.

If you want, I share some of this knowledge here and on Stackoverflow (SO). Just click to browse for all.

Stackoverflow.com:

Superuser.com:

Serverfault.com:


Dec
24
comment Get current folder name by a DOS command?
@erict: path of batch file.
Dec
16
comment Convert PNG to Multi-page PDF
@ShaneDiDona: why a 'series of commands' if a simple one is all you need? :-)
Dec
16
comment imagemagick convert tiff degrades quality, how to prevent it?
Can you also please post the output of the following commands: identify image.tif and identify single*.tif?
Dec
16
comment imagemagick convert tiff degrades quality, how to prevent it?
Can you add (a link to a) sample multi-Page TIFF exhibiting the behaviour you observe? This should normally not happen...
Oct
8
comment Printer Job Language --> PDF
can you run head -n 50 mystery.pdf and see if after the @PJL lines end there is a %PDF-1.X line appearing?
Oct
8
comment How can I programmatically change/protect text contents in a PDF so it's no longer copyable text?
@JakeGould: I still upvoted your post, even though I criticized it :-)
Oct
8
comment How can I programmatically change/protect text contents in a PDF so it's no longer copyable text?
@JakeGould: You're wincing about pdftk is in vain... :-) -- pdftk is a command line tool that does NOT need an installed Java environment at runtime (only at build time)!
Oct
8
comment How can I programmatically change/protect text contents in a PDF so it's no longer copyable text?
@UserZer0: You imagine that 'password protecting' PDFs is requiring users to know and type in the password whenever they view the document. This imagination is not matched by reality. You can use an empty password. Viewers will not ask for the password when opening the PDF for viewing then. They will only ask for it, as soon as the user attempts to print or to copy or to do whatever is 'protected'. (This 'encryption' can of course be easily circumvented. But the same is true for your preferred method of pixelization of the pages...)
Oct
8
comment How can I programmatically change/protect text contents in a PDF so it's no longer copyable text?
@JakeGould: Your answer work, but it's method is overly complicated. It's better to use ImageMagick's convert (which employs a Ghostscript delegate anyway for PDF interpreting) for direct PDF-to-PDF conversion: convert vector.pdf rasterized.pdf will output all pages of input vector.pdf as rasterized.pdf where all pages are made up of images with the default resolution of 72 PPI. To get a higher resolution in the output of say, 200 PPI, simply add -density 200...
May
16
comment How to extract image from PDF file
@BurhanKhalid: Pre-built binaries are here: sourceforge.net/projects/poppler-win32
Feb
26
comment How Can I determine the page count from a postscript file (generated by Opera)?
@afrazier: Did you ever compare this "one true answer" with mine? How does mine then rate on your trueness scale?
Feb
24
comment How to extract image from PDF file
@MvG: in fact, since about 2 years my preferred kind of pdfimages also is the Poppler one. I updated the answer accordingly. Thanks for the hint!
Feb
24
comment How Can I determine the page count from a postscript file (generated by Opera)?
@Joe: there is no such thing as "PostScript 1.4, 1.5 and 1.6". PostScript specifies levels 1, 2 and 3. Are you sure you did indeed mean PostScript?? The versions you named are there for PDF, not for PostScript.
Nov
28
comment PDF reverse n-up
@maths-help-seeker: you didn't "get" the problem of Jo So. He wants to split individual pages into multiple... (These files were once created to "save paper", in order to print 2 original pages onto one sheet of paper).
Oct
12
comment Create PDF with print page scale of none
Please do not add clarifications as comments. Edit your original question. If need be, write a new one and delete the old version altogether. Also, the "default view" of a PDF you talk about is only a recommendation to the viewer -- the viewer need not respect it (and you, as the viewer user, can override it by telling your viewer to always open PDFs in a different mode you prefer...).
Oct
12
comment Create PDF with print page scale of none
As the author of a question, you can always edit it. Try to be clear and logical. Start with telling what software+version you currently use, and what you want to achieve. And you should do so before it gets downvoted or even deleted... You currently start with "I need to generate a PDF..." without telling what software you use. Then you continue to talk about "Print Options of Page Scaling"... which is something completely different from "generate a PDF" -- printing a PDF is a function of a PDF viewer, not a PDF generator.
Oct
12
comment Create PDF with print page scale of none
I know a lot about PDF and Ghostscript (at least I like to think so)... but I do not understand your problem, sorry.
Sep
26
comment I want to change DPI with Imagemagick without changing the actual byte-size of the image data
@BorisDäppen: You're the first one to tell me that I'm not a help to anyone here. A very bold statement for a SO/SU Noobie to make! :-)
Sep
25
comment I want to change DPI with Imagemagick without changing the actual byte-size of the image data
Now you have. I upvoted your question, twice even...
Sep
25
comment I want to change DPI with Imagemagick without changing the actual byte-size of the image data
No it's not possible to get what you asked before! If you had formulated your question like this: "I want to change the size of image for printouts (different DPI) without changing the byte-size of my image data" -- then it would be a different thing altogether, and your question wouldn't have been so easy to mis-understand....