On 07/19/2010 08:00 AM, John wrote:
> On Sunday 18 July 2010 08:19:23 am Jeff Johnson wrote:
>    
>> Paul:  You mentioned the other day that you have a Print and Preview
>> button on your reports.  I have only seen things "previewed" because
>> they are sent to a pdf.  Would you be willing to share your technique
>> for printing directly to the printer?
>>
>> TIA
>>      
> Funny I ran across this today.  Should help those printing from windows.
>
> http://timgolden.me.uk/python/win32_how_do_i/print.html#shellexecute
>
> Johnf
>
>    
John:  I found that the other day, too.

win32api.ShellExecute (0, "print", pdf_file_name, None, ".", 0)

Can be used to print the pdf output of Dabo on Windows directly.

-- 
Jeff

-------------------

Jeff Johnson
[email protected]



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to