5,400 reputation
11942
bio website
location Germany
age
visits member for 4 years, 7 months
seen 10 hours 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
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
Jul
5
answered Making ls output like dir /b /s
Jul
1
comment ubuntu 9.10 cups server cupsd.conf
That's not correct. What you indeed do have to avoid is multiple Listen ... statements with overlapping sockets. What is completely "legal" with CUPS is having 2 (or more) separate Listen ... statements, one with Listen 127.0.0.1:631, another one with Listen 192.168.1.101:631. These do not overlap. What will always overlap is to use wildcard statements, such as Listen *:631 and also add specific ones such as Listen 192.168.1.101:631.
Jul
1
answered ubuntu 9.10 cups server cupsd.conf
Jul
1
revised Is there a freeware program for editing the text stream of PDFs?
clarify some statements, since they were not unambigous enough
Jul
1
answered Is there a (free or commercial) print server which print PDFs from networks?
Jun
27
answered How to know which fonts are used in selected part of a PDF document
Jun
25
comment How do you type Unicode characters using hexadecimal codes?
you can also calculate with set /a in a command window ;-). To convert hex=4321 into decimal, just type set /a 4*16*16*16+3*16*16+2*16+1 and the result will show up as 17185
Jun
25
comment How do you type Unicode characters using hexadecimal codes?
@Arjan: you do not type hex chars with the "alt+nnn" method. You do only type decimal character codes. That's why you cannot type even straight "U+1234" strings (which do not contain any of your loathed "a-f" characters) into your numeric keypad as "alt+1234", but you need to convert hex==1234 into dec==4660 and then type "alt+4660" before you (MAY) get what you want. So your statement "using the Alt-trick does not work for hexdecimal codes" nails the problem exactly, but you missed to understand it yourself :-)
Jun
25
comment How do you type Unicode characters using hexadecimal codes?
@Will: the "alt+NN..." method expects decimal, not hex notation of the character position. Unicode uses hex. So if you want to type what Unicode represents as "U+23AF" you need to convert hex==23AF into decimal==9135, and then type "alt+9135". That's the only general method there is on offer. But: You wanted character may still not appear as expect in the text field or document, if your currently selected font does not have the "U+23AF" place filled (or if it is not a Unicode font in the first place!).