hello !
i have made a simple android printing service . i
from android printing manager i convert the pdf => image and then i print it with
printer1.printImage(new ZebraImageAndroid( mergeMultiple(myBitmapList)), 0, 0,830,1200,false); // true false i have try it
i have try all posible ways
printer1.printImage(new ZebraImageAndroid( mergeMultiple(myBitmapList)), 0, 0);
and set the label image with
SGD.SET("zpl.label_length", "1200", connection);
but everytime its print ,i thing the height its have stored at device
my "allcv" is
bluetooth.bluetooth.encryption : on , Choices: on,offbluetooth.discoverable : on , Choices: on,offbluetooth.authentication : setpin , Choices: on,off,default,setpinbluetooth.friendly_name : ******// hidden bluetooth.version : 2.1.14 bluetooth.date : 12/10/08 bluetooth.local_name : ******// hideen bluetooth.address : ******* // hidden bluetooth.bluetooth_pin : **** bluetooth.short_address : ********// hidden bluetooth.radio_version : 2.0 bluetooth.afh_mode : off , Choices: on,offbluetooth.afh_map : 7FFFFFFFFFFFFFFFFFFF bluetooth.afh_map_curr : 7FFFFFFFFFFFFFFFFFFF bluetooth.enable : on , Choices: on,offbluetooth.radio_auto_baud : 115 bluetooth.connected : No , Choices: Yes,Nocard.card.inserted : Not Inserted card.cisproccard.mfgidcard.cardidcard.fncodecard.idtext1card.idtext2card.idtext3card.idtext4card.fcrbasecard.fcrlistcard.defcfgcard.corcard.defmacaddrcard.mac_addr : //hidden card.mac_raw : //hiddencard.enable : off , Choices: on,offcomm.comm.baud : 19200 , Choices: 19200,4800,9600,38400,57600,115200comm.data_bits : 8 , Choices: 8,7comm.parity : N , Choices: N,O,Ecomm.stop_bits : 1 , Choices: 1,2comm.dsr : on head.head.latch : ok ip.ip.dhcp.ip.dhcp.enable : off , Choices: on,offip.dhcp.cid_type : 1 ip.dhcp.cid_prefix : ip.dhcp.cid_value : 01:d1:06:30:1c:60 ip.dhcp.requests_per_session : 0 , Choices: 1-10ip.dhcp.request_timeout : 0 , Choices: 2-30ip.dhcp.session_interval : 0 , Choices: 0-60ip.dhcp.lease.ip.dhcp.lease.length : 0 ip.dhcp.lease.time_left : 0 ip.dhcp.lease.server : 0.0.0.0 ip.dhcp.lease.last_attempt : 0 ip.dhcp.cache_ip : off , Choices: on,offip.dhcp.vendor_class_id : ip.dhcp.user_class_id : ip.dhcp.option12 : on ip.dhcp.option12_format : ip.dhcp.option12_value : Rw4201093 ip.ftp.ip.ftp.enable : off , Choices: on,offip.ftp.execute_file : off , Choices: on,offip.lpd.ip.lpd.enable : off , Choices: on,offip.tcp.ip.tcp.enable : off , Choices: on,offip.udp.ip.udp.enable : off , Choices: on,offip.http.ip.http.enable : off , Choices: on,offip.smtp.ip.smtp.enable : off , Choices: on,offip.smtp.server_addr : ip.pop3.ip.pop3.enable : off , Choices: on,offip.pop3.print_headers : off , Choices: on,offip.pop3.verbose_headers : off , Choices: on,offip.pop3.print_body : off , Choices: on,offip.pop3.save_attachments : off , Choices: on,offip.pop3.poll : 0 ip.pop3.username : ip.pop3.password : ip.pop3.server_addr : ip.pop3.print_attachments : off , Choices: on,offip.snmp.ip.snmp.enable : off , Choices: on,offip.snmp.get_community_name : ip.snmp.set_community_name : ip.snmp.create_mibip.telnet.ip.telnet.enable : off , Choices: on,offip.telnet.disconnectip.addr : 0.0.0.0 ip.netmask : 0.0.0.0 ip.gateway : 0.0.0.0 ip.port : 0 ip.remote : ip.ping_remoteip.netstat : TCP/IP is not initialized. ip.remote_port : 0 ip.remote_autoconnect : off , Choices: on,offip.bootp.ip.bootp.enable : off , Choices: on,offip.mirror.ip.mirror.auto : off , Choices: on,offip.mirror.username : user ip.mirror.password : ******** ip.mirror.server : 127.0.0.1 ip.mirror.path : Zebra ip.mirror.freq : 0 ip.mirror.fetchip.mirror.version : Sep 29 2008 12:14:56ip.mirror.freq_hours : 0 ip.mirror.error_retry : 0 ip.mirror.feedback.ip.mirror.feedback.auto : off , Choices: on,offip.mirror.feedback.path : Zebra/feedback ip.mirror.feedback.freq : 0 ip.mirror.feedback.size : 4000 , Choices: size: bytes (4K-32K)ip.mirror.success : No ip.mirror.success_time : 0 ip.mirror.last_time : 0 ip.mirror.last_error : ip.mirror.file_failsafe : on , Choices: on,offip.mirror.mode : ftp , Choices: ftp,sftpip.vpn.ip.vpn.username : user ip.vpn.password : ******** ip.vpn.domain : mydomain ip.vpn.mode : off ip.vpn.addr : 0.0.0.0 ip.vpn.version : May 12 2008 11:46:53ip.vpn.status : ip.ping_len : 10 ip.dns.ip.dns.domain : 0 …H0 ip.dns.servers : 0 …H0 ip.discovery.ip.discovery.enable : off , Choices: on,offip.discovery.port : 4201 ip.roam_packet : on , Choices: on,offip.ssh.ip.ssh.server.ip.ssh.server.enable : off , Choices: on,offip.ipsec.ip.ipsec.enable : off ip.ipsec.rules : TCP/IP is not initialized. label.label.x_move : 0 , Choices: inc,dec,nnnlabel.y_move : 0 , Choices: inc,dec,nnnlabel.crc : label.calculate_crclabel.noprint : off , Choices: on, off, p_on, p_offmotor.motor.direction : forward media.media.status : ok media.sense_mode : bar , Choices: gap,barmedia.tof : 0 , Choices: up,down,valuemedia.type : journal , Choices: journal,labelmedia.width_sense.media.width_sense.enable : on , Choices: on,offmedia.width_sense.in_mm : 104.0 media.width_sense.in_cm : 10.40 media.width_sense.in_dots : 832 media.width_sense.in_inches : 4.098 sensor.sensor.ribbon : no ribbon sensor.paper_supply : ok sensor.peeler : clear srf.wlan.wlan.operating_mode, Choices: ad hoc,infrastructurewlan.essidwlan.current_essidwlan.station_namewlan.tx_rate, Choices: 1,2,5.5,11,allwlan.current_tx_ratewlan.encryption_mode, Choices: off,40-bit,128-bitwlan.associated, Choices: yes,nowlan.encryption_index, Choices: 1,2,3,4wlan.encryption_key1wlan.encryption_key2wlan.encryption_key3wlan.encryption_key4wlan.leap_mode, Choices: off,onwlan.leap_usernamewlan.leap_passwordwlan.power_save, Choices: off,1,2,3,4,bestwlan.test.wlan.kerberos.wlan.kerberos.mode, Choices: off,onwlan.kerberos.usernamewlan.kerberos.passwordwlan.kerberos.realmwlan.kerberos.kdcwlan.auth_type, Choices: open,sharedwlan.preamble, Choices: long,shortwlan.bssidwlan.tx_power, Choices: 1,5,20,30,50,100wlan.firmware_versionwlan.signal_strengthwlan.scrambler, Choices: off,onwlan.bias_supp, Choices: off,onwlan.current_freqwlan.current_hop_indexwlan.international_mode, Choices: off,on,autowlan.roam.wlan.roam.signalwlan.roam.intervalwlan.roam.monitorwlan.roam.interchannel_delaywlan.roam.max_chan_scan_timewlan.khzwlan.channelwlan.wpa.wlan.wpa.enable : off , Choices: off,onwlan.wpa.authentication, Choices: psk,leap,eap-tls,peap,ttls,fastwlan.wpa.pskwlan.wpa.mixedmode : off , Choices: off,onwlan.wpa.wpa_version : wlan.wpa.groupkey_ciphersuite : wlan.wpa.pairwise_ciphersuite : wlan.8021x.wlan.8021x.enable : off , Choices: off,on,wpawlan.8021x.authentication, Choices: psk,leap,eap-tls,peap,ttls,fastwlan.8021x.peap.wlan.8021x.peap.peap_usernamewlan.8021x.peap.peap_passwordwlan.8021x.peap.privkey_passwordwlan.8021x.eap.wlan.8021x.eap.usernamewlan.8021x.eap.passwordwlan.8021x.eap.privkey_passwordwlan.adhocchannel, Choices: 1,2,3,4,5,6,7,8,9,10,11,12,13,14wlan.adhocautomode, Choices: off, onwlan.enable : off wlan.encryption_optional, Choices: yes,nowlan.adhoc_last_channelwlan.secure_ssid : off wlan.ip.wlan.ip.addr : 0.0.0.0 wlan.ip.netmask : 0.0.0.0 wlan.keep_alive.wlan.keep_alive.enable : off , Choices: off,onwlan.keep_alive.timeout : 0 display.display.contrast : 4 display.text : Zebra RW 420 Baud Rate:19200 Batteryή²²²²ΝΓ(ok) Latch: ok Menu display.backlight : on , Choices: on,offdisplay.icon_contrast : 0 , Choices: up,down,0-3display.printdisplay.flip_display : off , Choices: normal,auto,reverseddisplay.backlight_on_time : 10 , Choices: 1-65535display.counter, Choices: off,0-19999,getvarmemory.memory.flash_size : 8388607 Bytes memory.ram_size : 16777215 Bytes memory.flash_free : 3980000 Bytes Free memory.ram_free : 10078707 Bytes Free memory.clearpower.power.voltage : 7.84 power.percent_full : 80% Full power.status : ok power.low_battery_warning : 7.10(182) power.low_battery_shutdown : 6.79(174) power.low_battery_timeout : 60 Seconds power.inactivity_timeout : 0 Seconds power.dtr_power_off : off , Choices: on,offpower.shutdownpower.ascii_graph : ή²²²²ΝΓ power.low_battery_warning_raw : 182 power.power_on_cycles : 1809 power.percent_raw : 80 power.design_voltagepower.design_capacitypower.manufacture_datepower.relative_state_of_chargepower.serial_numberpower.temperaturepower.cycle_countpower.manufacturer_datapower.full_charge_capacitypower.healthpower.date_first_usedpower.charge_startpower.charge_stoppower.charge_resetfile.file.dir : Directory ZPL_CFG .CFG 84 CONFIG .SYS 55 FF3 .BAT 116 INDEX .WML 4532 OILCHANG.ZPL 708 3980000 Bytes Freefile.typefile.deletefile.printfile.runfile.renamefile.appendfile.failsafe : on , Choices: on, offtest.test.print_diagstest.report_diagstest.feedodometer.odometer.user_label_count : 18480 , Choices: 0-65535odometer.total_label_count : 308 odometer.total_print_length : 1643366 mm odometer.media_marker_count : 59 , Choices: 0-65535odometer.latch_open_count : 201 , Choices: 0-65535odometer.label_dot_length : 0 odometer.rfid.appl.appl.date : 02/02/09 appl.name : SHSCG11x20 appl.version : 9011 appl.ps.appl.in : RAM device.device.resetdevice.restore_defaults, Choices: wlan,ip,display,power,bluetoothdevice.card.device.card.description : Bluetooth device.card.name : Bluetooth device.card.id : 0x77 device.bridge.device.bridge.enable : off , Choices: on,off,interim_ondevice.friendly_name : Rw420device.company_name : Zebra device.product_name : RW 420 device.status : ready device.pld.device.pld.model : 0 device.pld.rev : 0 device.ms_tick_count : 17920 device.jobs_print : 0 device.label_counter : 0 device.languages : zpl , Choices: EPL, ZPL, epl_zpl, line_print, aplmdevice.cph_enable : off , Choices: on,offdevice.cph_interval : 300 , Choices: 0-65535device.macro_getdevice.user_p1 : ? device.user_p2 : ? device.two_key_wait : 2 , Choices: 0-15device.uptime : 12 device.volume : high , Choices: high, medium, lowdevice.local_menu_modedevice.ff_disable : off , Choices: on, offdevice.ftn_disable : off , Choices: on, offdevice.h8_comp : 0 input.
any suggestions please ?
1 Replies
Gregory,
You can use the Zebra Printer Setup Utility Support & Downloads | Zebra to configure the label length for the media you are using.
Thanks,
Brian Moore
Software Engineer Kutir Mobility
Posted on behalf of Zebra Technologies