Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label printer blues, a sticky mistery
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00088478
Message ID:
00088507
Views:
27
Marc,

The old code like:
set printer on
??? chr(27) + "E" && reset a PCL printer
??? "Hi there"
set printer off
set printer to


works just great to talk directly to the printer without the windows printer driver getting in the way.

>I have this label printer. TEC421 B.
>
>It will work only from notepad on the generic printer.
>
>From nowhere else.
>
>The same file that was created under notepad and that contains exclusively text characters to which notepad adds carriage return and line feed , generates an error when copied from DOS, from vfp, from fpd, when printed from windows commander. My guess is that somehow somewhere, characters are sent to the printer that make it go south. This animal is overly sensitive.
>
>What are my alternatives? I could drive the printer though the comm port, but you know me, I'd rather develop cyclic classes ...
>
>I could ask for Georges' help, may be he could tell me how I could address the printer port directly with a API chMapi magic.
>
>Or I could renew the 10 printers ... I
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform