Archiv für September 2009

How To: Batch Printing PDF Files

September 30, 2009

http://support.adobe.com/devsup/devsup.nsf/docs/51412.htm

The DDE command line parameters for Acrobat and Reader are as follows. These are unsupported but have worked for some developers.

AcroRd32.exe /p filename – executes the Reader and prints a file
AcroRd32.exe /t path printername drivername portname – Initiates

Acrobat Reader, prints a file while suppressing the Acrobat print dialog box, then terminates Reader.

The four parameters of the /t option evaluate to path,printername, drivername, and portname (all strings).
printername – The name of your printer.
drivername – Your printer driver’s name. Whatever appears in the Driver Used box when you view your printer’s properties.
portname – The printer’s port. portname cannot contain any „/“ characters; if it does, output is routed to the default port for that printer.

Note: If using Acrobat, substitute Acrobat.exe in place of AcroRd32.exe in the command lines.

History of audio solutions

September 20, 2009

History of audio solutions at the GNU/Linux/*BSD-Session

  1. LPD (basic)
  2. LPD-Jukebox
  3. CUPS-based solution … not relevant!
  4. MPD (basic)
  5. MPD (session-advanced)
    • Keywords: ftp, index, auto-playlist inference
    • Experts: Schorsch (+Tobias L.)
    • URL: ?

Solutions to be tried in the future:

  1. A very long audio cable
  2. Dedicated central Jukebox-PC wo/remoteness
  3. UPnP

lpd configuration at audio server

September 20, 2009

LPD configuration at audio server — pitfalls:

  1. LPD needs „+“ entry in /etc/hosts.lpd to allow printing from any remote
  2. to accept remote host rhost LPD needs working DNS entries for reverse AND forward dnslookup (why the forward one? don’t know! But they both should match each other …)

HowTo print MP3 files from Windows to a LPD network queue

September 18, 2009

This is for printing MP3 from Windows to a LPD network queue.
If you don’t know why you should do this … don’t ask.

Download and install a PostScript driver (for pass-through):
„Adobe Universal PostScript Windows Driver Installer“ (e.g. v1.0.6)
http://www.adobe.com/support/downloads/product.jsp?product=44&platform=Windows

Install windows component
„File- and Printservices for the Network“ » „Print services for Unix“

Set up LPR printer:
„Local Printer …“ » „New Port“ with port type: „LPR Port“
Now provide the LPD server name and the queue name.
(e.g. the LPD is on a server named „audio“, and the queue is named „lp“ => printer port „audio:lp“)
At this moment simply use Provider=“Standard“ with Printer=“Generic / Text Only“, even if this is NOT the final configuration.
(As printer name, I will now use „audiocentral“, representing the remote „audio:lp“ queue.)

Now open the printer properties (e.g. „audiocentral“) use the tab „extended“ (german „erweitert“) and set the driver to „AdobePSGenericPostScriptPrinter“.
Press „Apply“.
Then change the setting in the same tab to not use a spooler; this is not necessary with the remote queue.
Then press „Default values…“ (german „Standardwerte…“).
And in the new dialogue the „Extended…“ button.
Swing open the „PostScript options“ in the tree.
AND FINALLY: set the PostScript output option to „Archive format“ (german „Format archivieren“).

The original printer instance form the Adobe Installation can now be deleted. The required thing from Adobe was only the driver component, to use it with the LPR printer configuration.

At this point you have a printer that this will do a pass-through and without nonsense interpretation, pure binary delivery.
But now: how to print the MP3? If it would be a local printer one could simply copy the file with the /b option to LPTx. This works not with the LPR printer.
Yet there is a nice solustion…

Download and install „PrintFile“ program
http://www.lerup.com/printfile/

Set the PrintFile Printer to the LPR printer („audiocentral“).
Deactivate the „Show printer selection dialog“ option.

Done.
You can drag’n'drop the MP3s to the PrintFile icon, which will deliver them to the lpd queue.

TeXnicCenter and Sumatra PDF viewer

September 15, 2009

TeXnicCenter PDF viewer settings

September 15, 2009

The TeXnicCenter settings for „LaTeX => PDF“ in tab „Viewer“ using DDE and Acrobat Reader are as follows:

View project’s output:
command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
server: acroview
topic: control

Forward search:
command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
server: acroview
topic: control

Close document before running (La)TeX:
command: [DocClose("%bm.pdf")]
server: acroview
topic: control

There also exists very good information about the topic under en.allexperts.com/e/t/te/texniccenter.htm

Quote: „If you want Acrobat to reopen the file after a recompilation at the exact same location as it was just before, and if you have the full version of Acrobat (the following is not supported by the free Acrobat Reader!) set the „view project’s output“ and „forward search“ DDE command to: command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")][MenuitemExecute("GoBack")]„