•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Legacy and Other Languages section within the Software Development category of DaniWeb, a massive community of 402,911 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,068 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Legacy and Other Languages advertiser: Programming Forums
Views: 5242 | Replies: 11
![]() |
•
•
Join Date: Jan 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
HELPPPPPPPP, Need to know about Windows XP and QuickBasic USB printer driver access
#1
Jan 5th, 2007
•
•
Join Date: Apr 2005
Location: Old Hampshire, Old England (LOL)
Posts: 11,937
Reputation:
Rep Power: 30
Solved Threads: 268
Re: HELPPPPPPPP, Need to know about Windows XP and QuickBasic USB printer driver access
#2
Jan 6th, 2007
Re: HELPPPPPPPP, Need to know about Windows XP and QuickBasic USB printer driver access
#3
Mar 7th, 2007
•
•
Join Date: Mar 2007
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
Re: HELPPPPPPPP, Need to know about Windows XP and QuickBasic USB printer driver access
#4
Mar 7th, 2007
Humm, not very helpfull...
If he is just trying to print to a USB printer then he can use the NET USE Command from the DOS prompt like this:
:>net use lpt1 \\[Server]\[Shared Printer]\ /persistent:y
OR
He can use a third party program like DOSPrint from
www.andtechnologies.com/dosprint.html
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,701
Reputation:
Rep Power: 18
Solved Threads: 195
Re: HELPPPPPPPP, Need to know about Windows XP and QuickBasic USB printer driver access
#5
Mar 8th, 2007
that assumes the printer is actually assigned to a DOS accessible printer port rather than a network URI (which is quite possible with USB printers).
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
Re: HELPPPPPPPP, Need to know about Windows XP and QuickBasic USB printer driver access
#6
Mar 10th, 2007
•
•
Join Date: Mar 2008
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Re: HELPPPPPPPP, Need to know about Windows XP and QuickBasic USB printer driver access
#7
Mar 7th, 2008
•
•
Join Date: Mar 2007
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
Re: HELPPPPPPPP, Need to know about Windows XP and QuickBasic USB printer driver access
#8
Mar 7th, 2008
•
•
•
•
Specifically what command within a QB4.5 basic program with send output to a printer rather than the DOS screen when running a compiled QB program within XP. Obviously "LPRINT" does not do it.
LPRINT does work, but there is very long pause becuase the LPRINT command does not use the CLOSE Command. This started with the WinNT. Without it, the windows spooler will pause for ~90 secs before it prints anything out, or will wait until the next output command... Try something like this first, and be sure to be useing either the NET USE command to virtually route the port, or use a free third party app like DOSPRINT to route the port to a USB. I have over 500 customers "still" using with these methods.
File$ = "LPT1:" d% = FREEFILE OPEN File$ FOR OUTPUT AS #d% 'Open Device PRINT #d%, TAB(5); "Printed stuff goes here" PRINT #d%, CHR$(12) Close #d%
Do not forget to use the form feed, CHR$(12) !!! Printing starts as soon as the close command is received, if you do not, then there can also be a pause depending on the type of printer you are useing, ie Dotmatrix...
•
•
Join Date: Mar 2008
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 1
Re: HELPPPPPPPP, Need to know about Windows XP and QuickBasic USB printer driver access
#9
Mar 20th, 2008
These articles explains either how to speed up printing from DOS to Windows printers (without changes to the Basic source) or how to let Basic programs printing to GDI Windows printers.
Regards,
Davide Guolo
aSwIt s.r.l.
Regards,
Davide Guolo
aSwIt s.r.l.
Last edited by printfil : Mar 20th, 2008 at 7:58 am.
Re: HELPPPPPPPP, Need to know about Windows XP and QuickBasic USB printer driver access
#10
Mar 23rd, 2008
![]() |
•
•
•
•
•
•
•
•
DaniWeb Legacy and Other Languages Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
access apple browser cd compilers computer core crack dell development download environment explorer fedora hardware ie 7 install internet ip languages legacy leopard linux microshaft microsoft mobile ms news office open operating os photo project security server software source system technology ubuntu unix upgrade usb vista web windows windows update windows vista xp
- Sending PCL3 Laserjet files to USB printer (Peripherals)
- Secondary montior freezes when USB printer is plugged in (Monitors, Displays and Video Cards)
- Dell Photo 926 printer - driver causing system freeze (Peripherals)
- How can I switch from direct USB printing to print server in Mac OS X? (OS X)
Other Threads in the Legacy and Other Languages Forum
- Previous Thread: Dr scheme read text file help
- Next Thread: Fortran - Fibonacci search not as efficient as it should be



Linear Mode