Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set printer to LPT1 seem to not work in XP
Message
From
25/10/2006 10:22:06
Eric Gauthier
Transcontinental Interweb (Montreal)
Boucherville, Quebec, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Set printer to LPT1 seem to not work in XP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01164358
Message ID:
01164358
Views:
72
Hello everyone,

We are a mailing House and we print on a dot-matrix printer connected on LPT1 port.
We create some label (500 000) and want to print them DIRECTLY to the printer. We dont want to create a file and then send this file to the printer.

Here what I used at this moment :

Set printer to LPT1
set device to printer

@ prow()+1,0 SAY "This is my first line"
@ prow()+1,0 SAY "This is my second line"

Set printer to
Set device to Screen

This command work fine in foxpro 2.5 (we currently use it)

But now, in Visual Foxpro 9.0, this command no longer work.
Someone can help me??

Thx
Next
Reply
Map
View

Click here to load this message in the networking platform