Re: is this possible?

2005-07-22 Thread scrimp
I am using reportlab not to generate PDF files, but I want to be able to print them without having to install acrobat reader. I looked through the users guide and found nothing about printing to a printer (programmatically). I want to be able to automate the printing of reports when they are availa

is this possible?

2005-07-22 Thread scrimp
Is it possible to print a PDF file using python without having acrobat reader installed on the machine?? -- http://mail.python.org/mailman/listinfo/python-list

Re: print pdf file to network printer using python

2005-07-21 Thread scrimp
I just tried it and all that printed out was garbage. I found another way to do it. It all depends on what you wanna do. If u want to print to the default printer (easiest way) then just use this line: win32api.ShellExecute(0, "print", file_path, None, ".", 0) file_path of course being the full p

print pdf file to network printer using python

2005-07-21 Thread scrimp
Well, Ive been searching through google groups and Ive seen a lot about printing a pdf file, but I havent seen a definite answer. I tried this code: f = open(printer_path, 'w') f.write(pdffile_path) f.close() Basically it doesnt work and what it prints out is the value of pdffile_path variable. I

Re: Using PAMIE to upload and download files...is it possible?

2005-06-16 Thread scrimp
Well, thanx to Erin I got everything I needed to do to work. I basically used 2 classes and wrote a driver using PAMIE 1 for the two File Download windows and 1 for the Save As window Here are the classes I used. I took out the comments, but its really not too hard to understand class FileDownloa

Re: Using PAMIE to upload and download files...is it possible?

2005-06-14 Thread scrimp
Theres one problem with the code that I saw off the bat. My PAMIE script takes IE all the way up the window thats called "File Download". It has 4 buttons Open, Save, Cancel, More Info. The code u gave to me is for the next window I reach AFTER I click manually on Save. It brings up the Save As win

Re: Using PAMIE to upload and download files...is it possible?

2005-06-14 Thread scrimp
I dont see the modaltest.py would u please send me a link to it. I still have not been able to gets winGuiAuto to work. I have pamie logging into a site, navigating to the downloads section, and clicking the link of the file to download and it stops right there. I am downloading a zip file and the

Re: Using PAMIE to upload and download files...is it possible?

2005-06-10 Thread scrimp
This is your code I used...I didnt change anything from it def useSaveASDialog(filePath=None): from watsup.winGuiAuto import findTopWindow,findControl,setEditText from time import sleep rVal = None handle = winGuiAuto.findTopWindow("Save As") sButton = winGuiAuto.findControl(h

Re: Using PAMIE to upload and download files...is it possible?

2005-06-10 Thread scrimp
Thank you. I will try to come up with something I will post more if I have any other questions. Thanks -- http://mail.python.org/mailman/listinfo/python-list

Using PAMIE to upload and download files...is it possible?

2005-06-06 Thread scrimp
Ive been using PAMIE 1.4 to try to automate web page processes. The one thing I cannot do with it is upload files and download files. With uploading files, the file input box does not allow PAMIE to enter in a path to a file. With downloading files, I can click on the link to download the file, b

Re: saving .zip or .txt email attachments instead of deleting them

2005-06-03 Thread scrimp
Here is the complete traceback..sorry about that though. I used the run button and entered in "C:\email.txt" for the msgfile parameter thats used for input This email.txt file has a zip file attached to it and is all in text, so hopefully I am working with the correct input file. I used the pop3

Re: saving .zip or .txt email attachments instead of deleting them

2005-06-02 Thread scrimp
OK i got past that syntax error I think. This is the error I am getting nowAttributeError: 'NoneType' object has no attribute 'lower' All Im reading is a text file of the email message with an attachment --zip file -- http://mail.python.org/mailman/listinfo/python-list

Re: saving .zip or .txt email attachments instead of deleting them

2005-06-02 Thread scrimp
Im using the winpython IDE to run that script for the unpacking the email. The usage says unpackmail [options] msgfile. I type unpackmail -d filename and it gives me a syntax error. What modifications did u do to that module to make it work? -- http://mail.python.org/mailman/listinfo/python-list

saving .zip or .txt email attachments instead of deleting them

2005-06-02 Thread scrimp
How would I go about retriving an email message and stripping out the attachment into a file. I have seen examples where they would read in the file and delete the attachment and replace it with text saying that the attachment was removed. For testing purposes Im using a pop3 server to receive mes

Re: FTP/TLS connection using python

2005-05-05 Thread scrimp
Does anyone know how I can get m2crypto installed on a windows box w/o paying for the installer? I think thats dumb to charge for the windows version and the unix version is free...o well --Barry -- http://mail.python.org/mailman/listinfo/python-list

Re: FTP/TLS connection using python

2005-05-04 Thread scrimp
Wow, thanks very much Ive been searching on google for a few days now and have never seen this yet. Thanks ill take a look at what I can do with this --Barry -- http://mail.python.org/mailman/listinfo/python-list

FTP/TLS connection using python

2005-05-04 Thread scrimp
Hello, I was wondering if there is any other way to securly connect to an FTP site using SSL or TLS? I dont have the option of purchasing M2Crypto from the site. Any help/suggestions would help. Thanks! --Barry -- http://mail.python.org/mailman/listinfo/python-list