redndahead Posted September 2, 2004 Share Posted September 2, 2004 Here is a UDF that will print any jpg; gif; or png file. It's pretty simple just give it the filename and it will do the rest.Future additions:Choose what size you want the picture.Choose how many pictures you want.Print Text filesPrint delimitted files as tables.Tell me what you think. http://www.autoitscript.com/fileman/users/red/udfs/_print.au3red Link to comment Share on other sites More sharing options...
jacksont123 Posted May 27, 2006 Share Posted May 27, 2006 (edited) i can't access your print udf. could you post it again, please? Edited May 27, 2006 by The Great 'Awesoma-Powa!' Link to comment Share on other sites More sharing options...
ptrex Posted May 28, 2006 Share Posted May 28, 2006 @redndahead Your UDF is not available for download, so don't expect to much feedback Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
jacksont123 Posted May 29, 2006 Share Posted May 29, 2006 Knowing that redndahead hasn't logged on for approximately one week, and that this file was posted in 2004, has anyone else downloaded this and is willing to share? Link to comment Share on other sites More sharing options...
WeMartiansAreFriendly Posted September 15, 2008 Share Posted September 15, 2008 I'm currently rushing to find an appriate printing function, the one included with File.au3 UDF only prints input as text, I need to print files based on their formats, e.g. word documents, pdf files, images, ect.. Kid It's disappointing to see the only UDF that could be appropriate doesn't even exist anymore. Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet() Link to comment Share on other sites More sharing options...
james3mg Posted September 15, 2008 Share Posted September 15, 2008 (edited) I'm currently rushing to find an appriate printing function, the one included with File.au3 UDF only prints input as text, I need to print files based on their formats, e.g. word documents, pdf files, images, ect.. Kid It's disappointing to see the only UDF that could be appropriate doesn't even exist anymore. How about the one I've posted a few times that uses IE's print function? Func _PrintFile($filetoprint) RunWait(@COMSPEC & ' /c rundll32.exe ' & @SystemDir & '\mshtml.dll,PrintHTML "' & $filetoprint,"",@SW_HIDE) EndFunc This prints anything that IE can print. It'll resize pictures to fit on a sheet if you have IE7+ (if I remember right), but other than that doesn't allow you to choose the image size. Also, it will print the normal IE header and footers for HTML type files (text, pictures, etc...not word or pdf files, afaik). Edited September 15, 2008 by james3mg "There are 10 types of people in this world - those who can read binary, and those who can't.""We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." ~Robert Wilensky0101101 1001010 1100001 1101101 1100101 1110011 0110011 1001101 10001110000101 0000111 0001000 0001110 0001101 0010010 1010110 0100001 1101110 Link to comment Share on other sites More sharing options...
martin Posted September 15, 2008 Share Posted September 15, 2008 I'm currently rushing to find an appriate printing function, the one included with File.au3 UDF only prints input as text, I need to print files based on their formats, e.g. word documents, pdf files, images, ect.. KidIt's disappointing to see the only UDF that could be appropriate doesn't even exist anymore. As well as james3mg's solution there is my print udf which lets you print images at any position and size on the page. But it won't deal with everything you want. For printing word docs I would expect that is done best by, um, Word, or Big_Daddy's Word udf. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now