Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 printers
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
bass_maniac




PostPosted: Mon Sep 19, 2005 11:06 am   Post subject: printers

I thought I posted this yesterday, but it's not showing up anywhere so...

Is there a way in Turing to make your program send stuff to a printer?
Sponsor
Sponsor
Sponsor
sponsor
beard0




PostPosted: Mon Sep 19, 2005 12:28 pm   Post subject: (No subject)

This is from a tutorial
beard0, in tutorials, wrote:
This code allows you to print to any printer installed (user's choice). It pops up the normal dialogue with # of copies, print range, etc.
code:

var dataout :int %the var can have any name you want

open: dataout, "printer", put %yes, litterally the string "printer"
put:dataout, "STRING TO SEND TO PRINTER" %string to print
close: dataout %close the connection to the printer
StarGateSG-1




PostPosted: Mon Sep 19, 2005 12:46 pm   Post subject: (No subject)

Thats cool. I know with old ones you could send it bit by bit but that is cool.
Token




PostPosted: Mon Sep 19, 2005 2:07 pm   Post subject: (No subject)

Hey StarGate, you double posted Razz

The Printer at my school only let you print bit by bit, and I tried it with a full sentence, so I wasted around 30 sheets of paper because I couldent stop it. but my home printer works fine.
bass_maniac




PostPosted: Mon Sep 19, 2005 2:35 pm   Post subject: (No subject)

Thanks beard0, I'll try that!
StarGateSG-1




PostPosted: Mon Sep 19, 2005 7:55 pm   Post subject: (No subject)

I didn't double post, unless by mistake, and I son;t see it there, I think your full of it! Very Happy Very Happy

Mod edit: Yes, you did double post. I deleted it.
Token




PostPosted: Mon Sep 19, 2005 8:16 pm   Post subject: (No subject)

StarGate wrote:
I think your full of it!


Who's full of it?, Laughing

I've done it before too, I've seen somthing wrong with the post and hit the stop button after pressing send, but it was too late and it posts 2.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: