[reportlab-users] Printing Help

Jerome Alet reportlab-users@reportlab.com
Fri, 10 Jan 2003 09:37:37 +0100


On Fri, Jan 10, 2003 at 03:26:06AM -0500, Dave Rogers wrote:
> 
> I use the os.spawnv() method with a parameter of _P_DETACH (4) to fire up acrobat reader with a command line argument of /t which sends the file to the printer.  (the args of /p /h seem to be less robust than /t and do not allow you to pick the printer)

Why not use os.system() instead ?

it seems that Acrobat Reader is confused whenever you print in rapid succession,
but it's because multiple instances are running at the same time.

os.system() gives you sequential printing, possibily less quick, but probably
more safe.

(untested)

bye,

Jerome Alet