Radsam Posted March 29, 2005 Share Posted March 29, 2005 Is it possible to create a print gui and actually print something? Link to comment Share on other sites More sharing options...
Blue_Drache Posted March 29, 2005 Share Posted March 29, 2005 Is it possible to create a print gui and actually print something?<{POST_SNAPBACK}>RunWait("copy filename.txt > LPT1") Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
therks Posted March 29, 2005 Share Posted March 29, 2005 ... You realize that prints off a page that says "1 file(s) copied" (and even then it didn't really print it off, I had to press the Skip Error button on the printer to get it to spit out the page) My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
Radsam Posted March 29, 2005 Author Share Posted March 29, 2005 The AU3Xtra.dll contains functions for a "font" gui. Is there something like this for the print gui, like the one in Notepad? Link to comment Share on other sites More sharing options...
Radsam Posted March 30, 2005 Author Share Posted March 30, 2005 I might have found a dll that contains the Print Dialog function. Could someone who is experienced in dll's take a look at this and answer the following questions? 1. Is it possible to use this dll/function with AutoIT's DLLCALL function?2. If it is possible, could someone please post an example of how to use it?DLL: comdlg32.dllFunction name: PrintDialogDescription: The PrintDialog function displays a Print dialog box or a Print Setup dialog box. The Print dialog box enables the user to specify the properties of a particular print job.Declaration: Declare Function PrintDialog Lib "comdlg32.dll" Alias "PrintDlgA" (pPrintdlg As PRINTDLG_TYPE) As LongParameters: · lppdPointer to a PRINTDLG structure that contains information used to initialize the dialog box. When PrintDlg returns, this structure contains information about the users selections.Return Values: If the user clicks the OK button, the return value is nonzero. The members of the PRINTDLGstructure pointed to by the lppd parameter indicate the users selections. If the user cancels or closes the Print or Printer Setup dialog box or an error occurs, the return value is zero. To get extended error information, use the CommDlgExtendedError function, which can return one of the following values:CDERR_FINDRESFAILURE, PDERR_CREATEICFAILURE, CDERR_INITIALIZATION, PDERR_DEFAULTDIFFERENT, CDERR_LOADRESFAILURE, PDERR_DNDMMISMATCH, CDERR_LOADSTRFAILURE, PDERR_GETDEVMODEFAIL, CDERR_LOCKRESFAILURE, PDERR_INITFAILURE, CDERR_MEMALLOCFAILURE, PDERR_LOADDRVFAILURE, CDERR_MEMLOCKFAILURE, CDERR_NODEFAULTPRN, CDERR_NOHINSTANCE, PDERR_NODEVICES, CDERR_NOHOOK, PDERR_PARSEFAILURE, CDERR_NOTEMPLATE, PDERR_PRINTERNOTFOUND, CDERR_STRUCTSIZE, PDERR_RETDEFFAILUREThanks,Radsam Link to comment Share on other sites More sharing options...
layer Posted March 31, 2005 Share Posted March 31, 2005 ...structure...i don't think so... =/ this has been asked before.. FootbaG Link to comment Share on other sites More sharing options...
CyberSlug Posted March 31, 2005 Share Posted March 31, 2005 http://www.autoitscript.com/forum/index.ph...=print++wordpad Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
dirty Posted November 13, 2011 Share Posted November 13, 2011 How about printing GUI controls ? For example i managed to generate a barcode and 2 labels on top and button of the barcode, so how do i print those ? Link to comment Share on other sites More sharing options...
John404 Posted November 13, 2011 Share Posted November 13, 2011 How about printing GUI controls ?For example i managed to generate a barcode and 2 labels on top and button of the barcode, so how do i print those ?This thread is almost 6 years old!!! Link to comment Share on other sites More sharing options...
dirty Posted November 14, 2011 Share Posted November 14, 2011 when you have a question to your grandfather, do you care how old he is ? Link to comment Share on other sites More sharing options...
guinness Posted November 14, 2011 Share Posted November 14, 2011 (edited) when you have a question to your grandfather, do you care how old he is ?Completely out of context and totally irrelevant in this situation dirty.Firstly, it's common sense as to why old threads shouldn't be resurrected. Secondly, your question is off-topic to the original question which was inquiring about _FilePrint (in File.au3.) Therefore I suggest you search the forum throughly and then if you find nothing ask your question in a new topic. I will give you a clue..._ScreenCapture_CaptureWnd. Edited November 14, 2011 by guinness UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 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