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

Username:   Password: 
 RegisterRegister   
 print in turing?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
hey_joe42




PostPosted: Sat Mar 15, 2003 9:50 pm   Post subject: print in turing?

can your print in turing?
if so how, i tried one method but didn't work and too confusing
and seemed like it only would do one string variable a page, like not many
Sponsor
Sponsor
Sponsor
sponsor
Dan




PostPosted: Sat Mar 15, 2003 9:52 pm   Post subject: la la la

this shode help:

http://www.compsci.ca/bbs/viewtopic.php?t=11
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
hey_joe42




PostPosted: Sun Mar 16, 2003 2:52 pm   Post subject: (No subject)

i went to that file and tried using it, like it should work, my printer is on lpt1 but it doesn't print, there are no errors, dataout = 1, and yeah
does it not work on like new computers, cuz i used to have an old tandy and i could definitly see it working with one of those computer and printer,but this one i just can't see it like have a direct connection with the printer, you'd think the print dialogue box would have to open, anyways i just tried using the program they had there the example one and it doesn't work for me, anyone know why?
Tony




PostPosted: Sun Mar 16, 2003 4:11 pm   Post subject: (No subject)

i have a feeling that this would work only with serial printers... so if your printer is connected via USB or on a network, there might be a problem Confused
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Asok




PostPosted: Sun Mar 16, 2003 4:12 pm   Post subject: (No subject)

Well the obvious problem could actually be in your printer config, try just printing something ie word/paint. if that doesn't work then we've isolated your problem.
hey_joe42




PostPosted: Sun Mar 16, 2003 10:09 pm   Post subject: (No subject)

It works when i print something from word and paint
hey_joe42




PostPosted: Tue Mar 18, 2003 6:58 pm   Post subject: (No subject)

im looking for another way to print the one i have decided upon but isn't good enough is well creating the document you want to print in turing 4.01 or whatever version has a print button, and then hitting hte print button on the run windows' menu
but that isn't a good command, any one know another better way which would work on a network printer
Tony




PostPosted: Tue Mar 18, 2003 7:17 pm   Post subject: (No subject)

write output to a file and print that file through another program such as word or even notepad.

after writing to a file, you can open up that file using Sys.Exec but it needs to have a proper extension (such as .txt for notepad or .doc for word)
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
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  [ 8 Posts ]
Jump to:   


Style:  
Search: