FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Copy to USB? Argox/Zebra
Posts: 389
Joined: Mon Oct 13, 2008 11:26 AM
Copy to USB? Argox/Zebra
Posted: Fri May 25, 2012 08:40 PM

Hello, I'm having trouble to generate the labels on printers Argox / Zebra when I try to to generate through USB.
To print via the parallel port I simply create the file and use a Copy to LPT1 and generates smoothly, which path should I follow in order to generate the labels through the USB?

Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: Copy to USB? Argox/Zebra
Posted: Fri May 25, 2012 09:25 PM

Hello,

Harbour has a contrib abour zebra printers. Please, look at harbour\contrib\hbzebra\

Muchas gracias. Many thanks.



Un saludo, Best regards,



Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]



Implementando MSVC 2010, FWH64 y ADO.



Abandonando uso xHarbour y SQLRDD.
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Copy to USB? Argox/Zebra
Posted: Sat May 26, 2012 06:27 AM
Instead of copying the file to LPT1, did you try

Code (fw): Select all Collapse
PrintFileRaw(PrngetName(),cFileName, "PrintFileRaw FiveWin")


Regards
Anser
Posts: 117
Joined: Tue Jan 03, 2006 06:18 PM
Re: Copy to USB? Argox/Zebra
Posted: Sun May 27, 2012 01:49 PM

Dear Sambomb,

using usb parallel printer cable ( brand Aten ) model UC-1284b without changing your code

regards,

Kok

Posts: 389
Joined: Mon Oct 13, 2008 11:26 AM
Re: Copy to USB? Argox/Zebra
Posted: Mon May 28, 2012 12:08 PM

Lucas, thx for the reply but I already have the code done, justa have to change the print code.

Anserkk I'm trying something like it right now.

Kok, I can't make all my clients buy an especific piece of hardware because other programms do without it.

Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Copy to USB? Argox/Zebra
Posted: Mon May 28, 2012 05:29 PM

If you are using windows:
1. Bring up printer properties and Share printer.
2. Create batch file with the following contents.
net use lpt1 /delete
net use lpt1 \%computername%\PRINTERSHARENAME /persistent:yes
rem replace PRINTERSHARENAME with the name you used.
3. Create link to batch file in startup folder.

Sometimes you may need to add the user to the local administrator group. This happens if there is a physical lpt1 and the user cannot redirect it.

Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Copy to USB? Argox/Zebra
Posted: Tue May 29, 2012 08:39 AM

Hi,

I have installed the Windows-printer-driver of the Zebra-printer and changed my program to print to a Windows-printer instead of copy to LPT1. Now it is just tghe same as a normaly print , only the paper-size is smaller...
Is't there a Windows-driver for that Zebra-printer?

Regards,
Marc

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 117
Joined: Tue Jan 03, 2006 06:18 PM
Re: Copy to USB? Argox/Zebra
Posted: Tue May 29, 2012 10:29 AM
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Copy to USB? Argox/Zebra
Posted: Tue May 29, 2012 10:32 AM

Hi Kok,

Thanks for the reply, but for me it's working fine, I have a driver.
I asked sambomb that he have a driver for his printer.

Regards,
Marc

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite

Continue the discussion