Skip to main content
se añadieron 6 caracteres en el cuerpo
Origen Enlace
Alfabravo
  • 9.9k
  • 5
  • 24
  • 32

It looks like that your printer is configured to use continuous paper (receipt paper) while it has label media installed. That's the reason you see the printer feeds multiple labels just for one line of print ("HOLA MUNDO"). There is nothing wrong with the ZPL you used in the code, and nothing wrong with the encoding.

You need to change the media.type to label on the printer and do a media calibration. The following SGD commands will help.

! U1 getvar "media.type" // Get the currently setting of media.type.

! U1 setvar "media.type" "label" // Set media.type to label if label media is installed.

! U1 setvar "media.type" "journal" // Set media.type to journal if receipt media is installed.

~JC // Start media sensor calibration

! U1 getvar "media.type"<CR><LF> // Get the currently setting of media.type.

! U1 setvar "media.type" "label"<CR><LF> // Set media.type to label if label media is installed.

! U1 setvar "media.type" "journal"<CR><LF> // Set media.type to journal if receipt media is installed.

~JC // Start media sensor calibration

Hope this helps.

It looks like that your printer is configured to use continuous paper (receipt paper) while it has label media installed. That's the reason you see the printer feeds multiple labels just for one line of print ("HOLA MUNDO"). There is nothing wrong with the ZPL you used in the code, and nothing wrong with the encoding.

You need to change the media.type to label on the printer and do a media calibration. The following SGD commands will help.

! U1 getvar "media.type" // Get the currently setting of media.type.

! U1 setvar "media.type" "label" // Set media.type to label if label media is installed.

! U1 setvar "media.type" "journal" // Set media.type to journal if receipt media is installed.

~JC // Start media sensor calibration

Hope this helps.

It looks like that your printer is configured to use continuous paper (receipt paper) while it has label media installed. That's the reason you see the printer feeds multiple labels just for one line of print ("HOLA MUNDO"). There is nothing wrong with the ZPL you used in the code, and nothing wrong with the encoding.

You need to change the media.type to label on the printer and do a media calibration. The following SGD commands will help.

! U1 getvar "media.type"<CR><LF> // Get the currently setting of media.type.

! U1 setvar "media.type" "label"<CR><LF> // Set media.type to label if label media is installed.

! U1 setvar "media.type" "journal"<CR><LF> // Set media.type to journal if receipt media is installed.

~JC // Start media sensor calibration

Hope this helps.

Origen Enlace

It looks like that your printer is configured to use continuous paper (receipt paper) while it has label media installed. That's the reason you see the printer feeds multiple labels just for one line of print ("HOLA MUNDO"). There is nothing wrong with the ZPL you used in the code, and nothing wrong with the encoding.

You need to change the media.type to label on the printer and do a media calibration. The following SGD commands will help.

! U1 getvar "media.type" // Get the currently setting of media.type.

! U1 setvar "media.type" "label" // Set media.type to label if label media is installed.

! U1 setvar "media.type" "journal" // Set media.type to journal if receipt media is installed.

~JC // Start media sensor calibration

Hope this helps.