Difficulties configuring print job for Zebra ZD620

I have the same problem with you before, I install the driver on the PC

  1. you should setPrintName
  2. if you want it directly print without popup a window, you should setPrintDialog =0
  3. you should change the parameter of set Orientation
  4. you should set the ZoomFactor
    the last but not least, the most import thing is the following two parameter
    PageHeight and PageWidth,that you should manual change it’s parameter to see what happen
    I have the experience the same parameter (Height and Width), different print will have different result

after you set the correct information , then you can use a button to trigger or make it working in a client scripting trigger by some tags

	job = system.print.createPrintJob(ui.parent.getComponent('print'))
	#job = system.print.createPrintJob(event.source.parent)		
	#job.setPrinterName('Cumtenn CTP-2200 Series')	
	job.setPrinterName('FX DocuPrint P378 db')	
	job.setShowPrintDialog(0)
	job.setPageHeight(12)
	job.setPageWidth(10)
	
	job.setBottomMargin(0.01)
	job.setTopMargin(0.01)
	job.setRightMargin(0.01)
	job.setLeftMargin(0.01)
	job.setOrientation(0)
	job.setZoomFactor(0.62)
	job.print()