Using a USB Printer in QB

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Master-of-Mischief
Coder
Posts: 14
Joined: Thu Aug 02, 2007 8:53 pm
Location: USA

Using a USB Printer in QB

Post by Master-of-Mischief »

Hello everyone,

Does anyone know how to simulate a USB printer as a LPTn device compatable with QB?
User avatar
Seb McClouth
Veteran
Posts: 342
Joined: Wed Nov 09, 2005 7:47 am
Location: Inside the Matrix...
Contact:

Post by Seb McClouth »

In theory, if DOS recognizes your printer, you can use in QB as well... using, I believe LPRINT.

Grtz
QBinux is a Linux distribution with the aim of integrating the work of the vast community of free software developers at Pete's QBASIC Site in order to create a modern, performant, safe and easy to use system for system administrators and desktop users.
sid6.7
Veteran
Posts: 318
Joined: Tue Jun 21, 2005 8:51 am
Location: west USA
Contact:

Post by sid6.7 »

i'm pertty sure this is all but impossible to do in QB many have tried
and many have died in the attempt... :)
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

It'll work if the printer has support for printing in MS-DOS. Most newer printer drivers don't have this, though.
Post Reply