Printing data

Please use this Board for QBasic related requests ( file research, programming, etc.)

Moderators:Administrator, Global Moderator

Post Reply
kanga85
Newbie
Posts:1
Joined:Fri Feb 14, 2020 11:41 am
Printing data

Post by kanga85 » Fri Feb 14, 2020 11:57 am

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)

Peter Swinkels
Newbie
Posts:8
Joined:Fri Sep 17, 2021 12:08 pm

Re: Printing data

Post by Peter Swinkels » Wed Sep 29, 2021 10:22 am

Try Googling for "redirect lpt1 to usb":

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

Post Reply