Forum Home
Press F1
 
Thread ID: 116173 2011-02-20 01:44:00 Printer Problem Malcom (16242) Press F1
Post ID Timestamp Content User
1179890 2011-02-20 01:44:00 I regularly use programs written in GW-BASIC.
I recently purchased a new computer and printer. My old computer used a 15 pin computer cable wherwas my new computer uses a USB computer cable.
With the old computer the GW-BASIC command LPRINT would send data to
the printer and the printer would print the data to paper. With the new computer the GW-BASIC command LPRINT simply stops the running program
and nothing is printed to paper.
What do I need to do to get the new printer to print to paper?
Malcom (16242)
1179891 2011-02-20 02:01:00 Welcome to Press F1.

What sort of printer? Have you installed the software (drivers etc) that come with your printer?
R.M. (561)
1179892 2011-02-20 02:14:00 You will need to trick the program into thinking its printing to a parallel printer if its quite an old program.

The way to do it would to be to network share the printer
then use a command like 'net use lpt1: \\127.0.0.1\*printername* /persistant:yes' to map the usb printer to lpt1. Unsure how robust it will be, ive had to do a similar thing before and it seemed to break every now and again, so set up a batch file with that command that the user could run when it broke.
Alex B (15479)
1179893 2011-02-20 02:18:00 Welcome to Press F1.

What sort of printer? Have you installed the software (drivers etc) that come with your printer?

The printer is a "Brother HL-2140" and yes the software drivers have been installed.
Malcom (16242)
1179894 2011-02-20 03:12:00 Read here:

www.printfil.com
pctek (84)
1