Page 1 of 1

Printing data

Posted: Fri Feb 14, 2020 11:57 am
by kanga85
I previously had an old HP Laser Jet printer plugged into a printer port and opened in QB64 with:
Open"O",#1, "LPT1:"
I now have a new printer (Brother HL 2310) connected through a USB port. How should I change the 'Open Printer' line to address the USB connected printer.
Thanks for any help.
kanga85

p.s. I have been running this program, first in GWBasic, then in QBasic, then in QB64, since about 1975 (first written for an old Hitachi Peach)

Re: Printing data

Posted: Wed Sep 29, 2021 10:22 am
by Peter Swinkels
Try Googling for "redirect lpt1 to usb":

https://superuser.com/questions/182655/ ... sb-printer