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:
00088672
Views:
29
>>
>>If you've been through the Generic Setup dialog and it doesn't work, then I'd guess that this can't be done *directly* from VFP. From the codes you've posted elsewheres on this thread, it looks similar to the sequences I've seen associated with a line printer.
>>
>>The only suggestion that might work involves a file available in the download section ("Send raw files to print queue" - Win32 API and...). What you'd have to do is create a text file on the drive, and try to send that using this file to the printer.
>>
>Tried that. Did not help.
>
>>Old line printers, however, are tricky beasts to deal with. We have some around here. They're the size of a large barbeque grill and slow. I wrote a program to print labels to one in QuickBASIC (about 8 years ago). Recently I had to drop supporting it. One, I didn't have direct access to one for testing. Two, I no longer had a 5.25 floppy capable of writing in double density (so it could be loaded on a PC-XT). Three, I didn't have any of the manuals.
>
>I say, let's get rid of the old junk...
>
>Marc

I'm with you, my friend. If it's more than five years old, "to the scrap heap with 'em".

About the only suggestion I have left would be to try using FOPEN() to open the port and send the characters and strings directly. But I'll bet you already tried that one and it didn't work.

I don't think that the API would be any more help since you'd be invloving the print manager. You'd get the same results that you would from the command. Sorry. It's real hard to investigate something like this when you don't have access to what's actually receiving the information.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform