[reportlab-users] Printing Help
Dave Rogers
reportlab-users@reportlab.com
Fri, 10 Jan 2003 15:27:33 -0500
Jerome,
When I try os.system(), it blocks on it. One of my fundamental problems is that Acrobat refuses to start, print, and exit. It wants to stay running, thus I have to detach to keep processing. New Acrobat instances seem to send their requests to the original running process.
Best Regards,
Jerome Alet wrote:
> 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
> _______________________________________________
> reportlab-users mailing list
> reportlab-users@reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
--
Dave Rogers
DaveRogers@StockAlerts.com
http://StockAlerts.com