Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

USB PRINTER

Status
Not open for further replies.

crpryor1

Programmer
Mar 25, 1999
21
US
win98
fpw26
lpt1 old ibm proprinter
lpt2 old ibm proprinter
usb new hp officejet v40 set as default
can not print to usb at all
when printing to lpt1 or 2
get messeage ( an error has occured in your program) click on ignore will then print ok
 
USB didn't exist when FPW was written and it only recognizes the old DOS ports. Unless you can "map" this port to one of those, you may want to consider upgrading to VFP.

Rick
 
What Rick (rgbean) says is true....

BUT my own personal development PC has a USB printer and works fine with Foxpro 2.6 for Windows - not only interactively (command window, etc.) but also when I run the applications that I develop.

The trick within your applications is to make certain that there are no SET PRINTER TO ..... commands within your code.

You might want to look at:
thread182-321536
thread182-321163

Good Luck,
jrbbldr
jrbbldr@yahoo.com

 
win98
fpw26
lpt1 old ibm proprinter
lpt2 old ibm proprinter
usb new hp officejet v40 set as default
can not print to usb at all
when printing to lpt1 or 2
get messeage ( an error has occured in your program) click on ignore will then print ok
>
>
I do not have 'set printer to' in any of my code.
lpt1 printer name is 'PICKUP'
lpt2 printer name is 'INVOICE'
pickup slip prints to lpt1, invoice to lpt2 I want all other reports to print on the USB printer which is the default printer.
 
It would appear you need to clear the default printer information out of your .FRXs (actually .FRTs). See thread182-38172 for details on the technique.

Rick
 
win98
fpw26
lpt1 old ibm proprinter
lpt2 old ibm proprinter
usb new hp officejet v40 set as default
can not print to usb at all
when printing to lpt1 or 2
get messeage ( an error has occured in your program) click on ignore will then print ok
>
>
I do not have 'set printer to' in any of my code.
lpt1 printer name is 'PICKUP'
lpt2 printer name is 'INVOICE'
pickup slip prints to lpt1, invoice to lpt2 I want all other reports to print on the USB printer which is the default printer.
>
>
I have been trying all sorts of sugestions, but still can not get fpw to print to the usb printer. As sone as I select the usb printer BOOM an error has occured in your program. Then I have to do (ctrl+alt+del). However if I go to the command window and enter (display memory to printer) it works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top