javascript - Printing ZPL (txt) from browser (Coldfusion scripted) -


we have developed webshop using coldfusion. adding new functionality printing labels on internet.

what happens, or rather should happen is:

  • the customer logs in @ shop , selects order print labels.
  • our coldfusion code creates label use of native zpl language: label saved on server plain text file zpl instructions.
  • javascript used open text file in new window.

the problem is: printing text file browser doesn't work. not when set printing not show additional header , footer details. when request source code , print it, labels printed. have tested on ie9 , ff7.

so questions are:

  • is way use javascript send plain text printer, without html mark up? came across javascript code embeds text html mark , using window.print() command. not option.
  • or there way make printing of plain text file out browser work properly?

thank attention!

if service limited windows users, can have them install ups activex control direct zpl code connected thermal printer.

ups thermal printer activex

simply return data mime type of application/epl2 , activex control take data , send thermal printer.

note newer zebra printers still support epl rendering allows greater printer compatibility (lp2844 + zp450 series).


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -