Print by command line

Hi all,

I have to print from a Zebra printer.
Does exist a way from Servoy to print directly from command line?
It should works also on OSX.
Actually I write a txt file and by a shell “print” command I send the file to the Zebra printer. This in windows xp, actually the customer I’m working for, would upgrade the system to windows 7 and to use OSX client also.

Does exist a way to do this in servoy? Or I need for external libraries?

Thanks in advance

Marco

Hi Marco,

In similar cases (TEC printer language) running on windows client pc’s we print plain text to a ‘Generic Text’ printerdriver.

Hope this gives a new print option…

Regards,

Marco R.:
Hi all,

I have to print from a Zebra printer.
Does exist a way from Servoy to print directly from command line?
It should works also on OSX.
Actually I write a txt file and by a shell “print” command I send the file to the Zebra printer. This in windows xp, actually the customer I’m working for, would upgrade the system to windows 7 and to use OSX client also.

Are you sending ZPL to the Zebra? If so I have a plugin that I threw together a while back to help with sending raw ZPL (or any other printer control language I suppose) directly to the printer, bypassing any of the normal system print dialogs and making high volume label printing efficient. It works on Mac, Linux and Windows*, I’ll work on getting it up on servoyforge. Most of the code came from http://code.google.com/p/jzebra/

*Windows not tested extensively, we mostly use linux.

ryanparrish:
Are you sending ZPL to the Zebra? If so I have a plugin that I threw together a while back to help with sending raw ZPL (or any other printer control language I suppose) directly to the printer, bypassing any of the normal system print dialogs and making high volume label printing efficient. It works on Mac, Linux and Windows*, I’ll work on getting it up on servoyforge. Most of the code came from http://code.google.com/p/jzebra/
*Windows not tested extensively, we mostly use linux.

Awesome! You really need to put it in ServoyForge. Thank you!
Carlos

ryanparrish:
Are you sending ZPL to the Zebra? If so I have a plugin that I threw together a while back to help with sending raw ZPL (or any other printer control language I suppose) directly to the printer, bypassing any of the normal system print dialogs and making high volume label printing efficient. It works on Mac, Linux and Windows*, I’ll work on getting it up on servoyforge. Most of the code came from http://code.google.com/p/jzebra/
*Windows not tested extensively, we mostly use linux.

Thank you Ryan! Yes. I’m using the ZPL for the Zebra.
I’m going to get the jZebra, it seems to be great!

Thanks again

Marco