Marcelo Almeida wrote: > > I am trying to print a string (not a file) with win32print api and I'm > using Tim Golden's > <http://timgolden.me.uk/python/win32_how_do_i/print.html> third block > of code (pasted below) as a testing example but without success. There > is just no errors and the printer spool show the file rapidly and then > nothing occurs. I could print using the ShellExecute but that's not > what I need, since it prints files (and file names to pages, which I > also don't want). Here is Tim Golden's snippet I'm using to test:
What printer is this? Most printers these days expect to receive their "printer control language" (PCL or Postscript or whatever). They don't have any idea what to do with a raw text string. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32