SDK Browser Print problem from Safari macOS 10.12 to GC420t

Hi,

i'm trying to print a label to printer Zebra GC420t from browser. The printer is connected to a print server.
The printer has been installed on mac by following the procedure https://www.unifaunonline.com/ufoweb-prod-201703061448/public/SUP/SUP-103-ZebraPrinterinstallation_MAC-en.pdf

Also installed sdk browser for macOS Browser Print SDK | Link-OS | Zebra

I created an html page that uses BrowserPrint-1.0.4.min.js downloaded from Zebra's website to print label using ZPL commands

If I print from a Windows PC, the label is printed correctly

If I print from a Mac, a label is printed with the zpl commands in clear!!!

Are there developers who have already encountered this type of mac problem?

Tips?

Solutions?

Anonymous (not verified)
Hi Fabio, When you say the

Hi Fabio, When you say the label is printed with zpl commands in clear, do you mean the label is blank or the zpl commands themselves are printed?  If the ZPL is what is being printed, are you using a different printer with the MAC then the PC?

Robin

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


fabio morandini
Hi Robin, The printer is the

Hi Robin,

The printer is the same, connected to a print server on the same corporate network.

The label is printed with zpl command themselves
Fabio

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi Fabio, I'm not really sure

Hi Fabio, I'm not really sure why this is happening, but I have a suggestion to try and fix it.  The system might be sending an additional command to set the printer into line mode.   When you are sending your ZPL print commands, Add additional commands to tell it to switch to page/zpl mode:

var zpl = String.fromCharCode(27) + "EPL2\r\n! U1 setvar \"device.languages\" \"zpl\"\r\n";

zpl += "^XA...^XZ";

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


fabio morandini
Hi Robin,I tried to add

Hi Robin,

I tried to add commands.

Now, in MACOS, the label is not printed.

In Win the label is printed

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


fabio morandini
Hi Robin,I found Zebra Setup

Hi Robin,

I found Zebra Setup Utilities for OSX

what do you think about it?

Fabio

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


fabio morandini
Hi Robin,Do you have other

Hi Robin,

Do you have other tips?

Fabio

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


lilian bideau
I know this problem has about

for gk420t this String.fromCharCode(27) + "EPL2\r\n! U1 setvar \"device.languages\" \"zpl\"\r\n " solved my problem thanks

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments