Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Printing Text


  • Please log in to reply
7 replies to this topic
AHK_LDaniel
  • Members
  • 57 posts
  • Last active: Jul 07 2015 01:43 AM
  • Joined: 22 Aug 2012
Is there a way to print without using the run command?
Example:
run, print "Myfile.txt"
There's a little girl behind you...
She's watching you're every move...

Leef_me
  • Moderators
  • 8510 posts
  • Last active: Sep 10 2015 05:50 AM
  • Joined: 08 Apr 2009
May I ask, what seems to be the problem with using "run" ?

AHK_LDaniel
  • Members
  • 57 posts
  • Last active: Jul 07 2015 01:43 AM
  • Joined: 22 Aug 2012
The run command uses the default word processor.
There's a little girl behind you...
She's watching you're every move...

Leef_me
  • Moderators
  • 8510 posts
  • Last active: Sep 10 2015 05:50 AM
  • Joined: 08 Apr 2009
Sorry I haven't responded sooner.

Here is a previous thread that was for printing directly frm AHk
http://www.autohotke...inting-library/

IMO, the method involves some trial and error to get things working, because of the many possible 'printers'

The author has removed the important source code.
(But, I have received permission to re-post that code, but have not had the time)

Since you have few posts, I presume you are a novice at AHk.
But I am possibly wrong.

IMO, the method for your application seems like you would use AHk to read the file
and then 'print' using the code. The code could be used to select a printer or go with default.

Is this something you wish to persue ?

noticz
  • Members
  • 8 posts
  • Last active: Aug 09 2013 03:28 AM
  • Joined: 24 Apr 2012

Hey Leef_me, is there anyway you can post that SGDIPrint.ahk script, pretty pretty pretty please smile.png



Leef_me
  • Moderators
  • 8510 posts
  • Last active: Sep 10 2015 05:50 AM
  • Joined: 08 Apr 2009

It would have been nice if you spelled my name correctly. icon_sad.gif

 

But I meant to do this before, so thanks for the reminder.

 

http://www.autohotke...ith-permission/



noticz
  • Members
  • 8 posts
  • Last active: Aug 09 2013 03:28 AM
  • Joined: 24 Apr 2012

Hey thanks, yeah sorry about that. I was replying to the thread from my phone.



AHK_LDaniel
  • Members
  • 57 posts
  • Last active: Jul 07 2015 01:43 AM
  • Joined: 22 Aug 2012

Yah, thanks Leef_Me!


There's a little girl behind you...
She's watching you're every move...