James Posted December 31, 2006 Posted December 31, 2006 _Kurt and I are wandering how we would go about printing documents that have been set a font. E.g. The font in $DocEd1 is set to "Courier New" and we want to print out $DocEd1 with the font it has been set with. _FilePrint only prints the document not the font. So how would we do it? Secure Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
martin Posted December 31, 2006 Posted December 31, 2006 _Kurt and I are wandering how we would go about printing documents that have been set a font. E.g. The font in $DocEd1 is set to "Courier New" and we want to print out $DocEd1 with the font it has been set with. _FilePrint only prints the document not the font. So how would we do it? SecureMaybe instead of _Fileprint you could write the text to Notepad, set the font and print from there. Or maybe easier (though I haven't tried it) to use the SET PRINTER command line options - see [url="http://msdn2.microsoft.com/en-us/library/6y8f2cxk(VS.80).aspx"] which lets you set the font name, style etc. 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.
James Posted December 31, 2006 Author Posted December 31, 2006 We have the font and everything set ready. It saves it all to the document. Thats why we had to make a new filetype *.btp to handle it, as normal *.txt files do not work with our new version. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
martin Posted December 31, 2006 Posted December 31, 2006 We have the font and everything set ready. It saves it all to the document. Thats why we had to make a new filetype *.btp to handle it, as normal *.txt files do not work with our new version.Is SET PRINTER not suitable? If the file contains a mixture of fonts,colurs and sizes then maybe a richedit would have been better. 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.
James Posted December 31, 2006 Author Posted December 31, 2006 Well, I will have to talk with _Kurt about changing to rich edit. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
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