Hi, sorry about my bad English.
I would like to know if there is a way to program a function to use the printing machine.
Printing Machine
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Printing Machine
Can you explain what you mean by printing machine?
Because this is a printing machine
Do you meant a typewriter effect, where the text appears letter by letter instead of all at a time?
Because this is a printing machine
Do you meant a typewriter effect, where the text appears letter by letter instead of all at a time?
Re: Printing Machine
Sorry i don't know how to say it in english but it's look like that:
https://upload.wikimedia.org/wikipedia/ ... rinter.jpg
https://upload.wikimedia.org/wikipedia/ ... rinter.jpg
- zorg
- Party member
- Posts: 3468
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Printing Machine
So you want to use the printer... not sure if there's an easy solution available.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Printing Machine
You could use another program to do the printing for you. On Windows you could use Wordpad to print by command. For this you have to save your Text-File and then use
(See the Lua OS Library Tutorial for more information for os.execute().)
The advantage of using Wordpad over Notepad is Wordpads support for Rich-Text-Format (RTF). In RTF you can use bold, italics and even images (How to add images to RTF-Files with code). This should be enough to write a simple Word-Processor on Windows.
Code: Select all
os.execute("write /p filename")
The advantage of using Wordpad over Notepad is Wordpads support for Rich-Text-Format (RTF). In RTF you can use bold, italics and even images (How to add images to RTF-Files with code). This should be enough to write a simple Word-Processor on Windows.
-
- Party member
- Posts: 107
- Joined: Wed Oct 15, 2014 5:00 pm
- Location: Yorkshire, England
Re: Printing Machine
I was wondering what that command was in Lua, in python it's
I will use this in the future
Code: Select all
os.startfile(dir_path, "print")
Code: Select all
if not wearTheseGlasses() then
chewing_on_trashcan = true
end
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Bing [Bot] and 7 guests