Re: [fpc-pascal] USB Printers

2007-07-10 Thread Tom York
Sorry for all of these replies, I think my ISP (webhost) is working on their mail servers. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] USB Printers

2007-07-10 Thread Tom York
Disregard my prior post, it is Delphi specific. I did find this one. (http://www.freepascal.org/cgi-bin/viewcvs.cgi/trunk/components/printers/samples/rawmode/unitmain.pas?root=lazarus&rev=10129&view=markup) procedure WritePrinter; var sTemp: String; Written: Integer; begin Written := 0; sTe

Re: [fpc-pascal] USB Printers

2007-07-10 Thread Tom York
Disregard my prior post. It does not work unless the Windows Spooler API is converted. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] USB Printers

2007-07-10 Thread Tom York
Disregard my prior post. It does not work unless the Windows Spooler API is converted. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] USB Printers

2007-07-10 Thread Tom York
Since you specify LPT1:, I assume you are using Windows. Obviously the solution for Linux would be different than Windows. I am not quite sure about FPC, but in Delphi you basically have two choices. 1) Capture the USB printer to an LPT port, then attempt assign(printer, 'LPTx:'); (not a go

[fpc-pascal] USB Printers

2007-07-10 Thread Roberto Gonçalves Barreiro
I'm a delphi programmer. I'm printing a report using: assign(wPrinter,'Lpt1:') and it goes ok in paralel priner. I did assign(wPrinter,'USB001') and it did not work. Do you know how to print in USB printers? I thanks a lot if you can help me. Roberto Barreiro Recife, Brazil Ro