> Hi
> I am working on an app that sends commands to an Eltron P300 Card Printer to
> encode magnetic swipe cards.
> The progamming manual offers a full range of the commands and parameters
> required, but I am having problems with certain required characters (esc,
> space and return).
> The manual suggests sending the commands directly using DOS (e.g COPY
> filename LPT1)
> I have tried in VB6 using FileCopy "c:\CommandTest.txt", LPT2 which seems to
> be received by the printer (as the led's on the front panel of the printer
> light up), but nothing else is happening.
> an example of the code being sent is:
> (esc)&B(space)2(space)123456(return)
> (esc)&E*(return)
> the above command basically writes "123456" to track 2 of the magnetic strip
> of a card.
> The thing I am stuck on is the correct characters to use for esc, space, and
> return.
> Any suggestions would be greatly appreciated
> TIA - Peter