Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print command
Message
From
13/09/2007 14:25:15
 
 
To
13/09/2007 14:00:14
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01254171
Message ID:
01254179
Views:
15
>I am using XP box and trying to use print command:
>
>PRINT /D:LPT1 fullpthfilename
>
>Nothing is happening. What am I doing wrong?

- Do you have a printer physically attached to LPT1, OR
- Have you redirected LPT1 to whichever local or network port has the printer?

Your printer must be DOS-compatible for this to work. This rules out a lot of low-cost "Windows-only" (so-called GDI) printers which don't have any processor or memory of their own, they rely on your PC for all rendering etc.

Assuming you do have a DOS-compatible printer attached to LPT1 you should be able to print to it with
COPY /b FullPathFileName LPT1

or

COPY /b FullPathFileName LPT1.DOS

or

COPY /b FullPathFileName PRN
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform