5,287 reputation
11940
bio website
location Germany
age
visits member for 4 years, 6 months
seen 11 mins 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:


Jul
11
answered How can I batch convert SVG files containing text to PDF files (specifically on CentOS 5.3 x86_64)?
Jul
11
answered Print a huge SVG
Jul
7
comment Generating PDF via command line in PDF Creator doesn't work, works in GUI
@George2: Sure: google.com/…
Jul
7
revised How do I monitor network traffic for IPP (LPD/LPR)?
added 1 characters in body
Jul
5
comment Finding manuals for lpr
No, the Apple version isn't doubtless derived from one of the BSD versions! Apple (meanwhile) owns CUPS (but still keeps its GPL license). CUPS (cups.org) isn't derived from ANY BSD version. CUPS is the implementation of a completely different printing system as compared to BSD printing. BSD printing is based on LPR/LPD. CUPS is based on IPP.
Jul
5
comment Finding manuals for lpr
@Masi: The man page is copyrighted by Apple because CUPS now is (since a few years ago) copyrighted by Apple. And CUPS ships with a complete set of man pages. These are the same on all Linux systems using CUPS (Debian-based systems in general often-times do extend poor and add missing man pages... I don't know if they did this for CUPS though.)
Jul
5
answered Finding manuals for lpr
Jul
5
answered Printing pages from 7 to 17 by lpr
Jul
5
comment what makes a printer a printer in a network?
Add "631" to the interesting ports. IPP printers use 631. LPR/LPD printers use 515. HP JetDirect (or AppSocket) printers very often use 9100 (some also use 4010, 4020, 4030 and 5503).
Jul
5
comment Network printer's LCD display
Most vendors would describe this as a "feature", not a "bug". After all, this (sending "@PJL ..."-commands to printers) is how they make the LCD to show "Printing job 'word.doc' by user cathy02". But, in their defense, we have to say that most vendors also do include security measures that can make it very difficult for arbitrary users to send a "Kick my lower tray twice" message. It's up to your printer admin to make it more secure.
Jul
5
answered How do I monitor network traffic for IPP (LPD/LPR)?
Jul
5
comment How do I monitor network traffic for IPP (LPD/LPR)?
It's only the transport part of IPP that is taken from HTTP. The rest isn't. IPP is a protocol of its own.
Jul
5
comment How do I monitor network traffic for IPP (LPD/LPR)?
lpr is a (client) command to send jobs off to a server. There is no such thing as an LPR print server. There are LPD print servers however... If you send via IPP, that would make the target an IPP print server. The CUPS commandline named lpr does speak IPP when you send off a job. On Windows there is an equally-named lpr client command (for the cmd window), but it does speak the "LPD" protocol, not IPP.
Jul
5
comment Making ls output like dir /b /s
ls -1 does not work recursively (as required). ls -1R would work recursively, but its output will look quite different to dir /s /b (which shows the absolute paths for each file). ls -1d "${PWD}/* also misses two things: the recursion and matching normal files (your -d limits output to directories only). –
Jul
5
revised Making ls output like dir /b /s
added 174 characters in body
Jul
5
comment Making ls output like dir /b /s
@grawity: D'oh! You're right of course. (I do it right whenever I need to do it in a shell. Heaven knows why I did it wrong when typing it into the text edit field....) I'll correct my comments so it will not confuse other readers.
Jul
5
comment Generating PDF via command line in PDF Creator doesn't work, works in GUI
HTMLDOC (htmldoc.org) is another utility to directly convert HTML to PDF (or PostScript). Can be put to work on the commandline, with a GUI or as a web servicve.
Jul
5
comment Making ls output like dir /b /s
@grawity: you're right and wrong at the same time. $PWD or ${PWD} would return the content of an environment variable (the current directory). This is what you have in mind. pwd is a little commandline utility ('print working directory') which also outputs the current directory path. Using it as ${pwd} or as `pwd` would return the result of that command, which in this case has the same effect as using $PWD. So my version will definitely work, and your comment was not appropriate in this context.
Jul
5
revised Making ls output like dir /b /s
added 172 characters in body
Jul
5
awarded  Commentator