Good Morning..
i'm working in updating project was developed in qbasic scince 1988 ,i face many problems understanding the code statments such as:
dh=cid-rod : dh2=cid*cid-rod*rod
y(1)=pvd:y(2)=od
IF ABS(y(1)-pvd)>10 GOTO 100
other mater is how to make the program prints the output to a usb printer
attached in a network or directly to my computer ?
and how to make the output saved to excell sheet ,if possible?
thanks alot for your worthly help
_________________
hesham hafez
QB Coding and Printer questions
QB Coding and Printer questions
I'm sure you guys can help Hesham:
Printing from DOS to a Network Printer
Printing from DOS to a network printer is easy with the Windows "Net use" command. Before printing (via a batch file or something) issue a "net use" command like:
I've noticed on my network, it works best to delete it first, even if it doesn't already exist. I use:
You can check to see if the printer (device mapping) exists with:
with no parameters.
Code: Select all
Net Use lpt1: \\servername\printername
Code: Select all
Net Use lpt1: /delete
Code: Select all
Net Use
--- Zim ---
--- Time flies like an arrow, but fruit flies like a banana ---
--- Time flies like an arrow, but fruit flies like a banana ---