Dobrica Pavlinušić's random unstructured stuff
Evolis Dualys 3 Smart: Revision 18
Programming_Guide_A5013_RevE.pdf
Tehnical test card:
PageSize[243.84 155.52] Upstream CUPS support
Debianapt-cache show evolisprinterPackage: evolisprinter Status: install ok installed Priority: extra Section: checkinstall Installed-Size: 160 Maintainer: root@klin Architecture: i386 Version: 3.0-2 Provides: evolisprinter Depends: cups Description: New Pebble Card Printer CUPS driver Compilationapt-get install libcups2-dev libcupsimage2-dev make sudo checkinstall dmesg[88415.288187] usb 2-4.3: new full speed USB device using ehci_hcd and address 10 [88415.381054] usb 2-4.3: New USB device found, idVendor=058f, idProduct=9254 [88415.381058] usb 2-4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [88415.381061] usb 2-4.3: Product: Generic USB Hub [88415.381063] usb 2-4.3: Manufacturer: ALCOR [88415.381149] usb 2-4.3: configuration #1 chosen from 1 choice [88415.381333] hub 2-4.3:1.0: USB hub found [88415.381555] hub 2-4.3:1.0: 4 ports detected [88415.652178] usb 2-4.3.1: new full speed USB device using ehci_hcd and address 11 [88415.745545] usb 2-4.3.1: New USB device found, idVendor=0f49, idProduct=0400 [88415.745549] usb 2-4.3.1: New USB device strings: Mfr=4, Product=18, SerialNumber=0 [88415.745552] usb 2-4.3.1: Product: Evolis Dualys [88415.745554] usb 2-4.3.1: Manufacturer: EVOLIS [88415.745639] usb 2-4.3.1: configuration #1 chosen from 1 choice [88415.747080] usblp0: USB Bidirectional printer dev 11 if 0 alt 0 proto 2 vid 0x0F49 pid 0x0400 [90082.139083] rastertoevolis[8692]: segfault at 0 ip b7ddf657 sp bfd60bc8 error 6 in libc-2.9.so[b7d67000+158000] [90122.522505] usb 2-4.3.1: USB disconnect, address 11 [90122.522690] usblp0: removed [90133.216207] usb 2-4.3.1: new full speed USB device using ehci_hcd and address 13 [90133.309579] usb 2-4.3.1: New USB device found, idVendor=0f49, idProduct=0400 [90133.309582] usb 2-4.3.1: New USB device strings: Mfr=4, Product=18, SerialNumber=0 [90133.309585] usb 2-4.3.1: Product: Evolis Dualys [90133.309587] usb 2-4.3.1: Manufacturer: EVOLIS [90133.309676] usb 2-4.3.1: configuration #1 chosen from 1 choice [90133.311236] usblp0: USB Bidirectional printer dev 13 if 0 alt 0 proto 2 vid 0x0F49 pid 0x0400 [94350.140355] gs[27363]: segfault at 197 ip b79fb9a6 sp bf9bf070 error 6 in libgs.so.8.70[b790d000+3fc000] [94393.919251] gs[27502]: segfault at 197 ip b79be9a6 sp bfefe230 error 6 in libgs.so.8.70[b78d0000+3fc000] [94459.139970] gs[27726]: segfault at 197 ip b78459a6 sp bfdbcb90 error 6 in libgs.so.8.70[b7757000+3fc000] lsusbBus 002 Device 013: ID 0f49:0400 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0f49 idProduct 0x0400 bcdDevice 6.02 iManufacturer 4 EVOLIS iProduct 18 Evolis Dualys iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 52 Standard Configuration bmAttributes 0x40 (Missing must-be-set bit!) Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 7 Printer bInterfaceSubClass 1 Printer bInterfaceProtocol 2 Bidirectional iInterface 98 Printer Interface Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Device Status: 0x0001 Self Powered CUPSprinter optionsdpavlin@klin:~$ lpoptions -p EVOLIS_Dualys -l ColorModel/Output Mode: *RGB PageSize/Media Size: *Card Collate/Collate: *True False MediaType/Media Type: *Blank InkType/Ink Type: YMCKO YMCKOS YMCKOK KO *Black Blue Gold Green Red Silver White Scratch BlackWax Hologram Duplex/Two-sided Printing: None *DuplexNoTumble Brightness/Luminosity: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20 Contrast/Contrast: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20 BlackIn/Black Panel : *N Y TreatementK/Effect: *G L SensibilityK/Intensity black panel: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20 OverlayPannel/Define : *FO SCI SCA MS NO SensibilityO/Intensity overlay panel: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20 BrightnessV/Luminosity: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20 ContrastV/Contrast: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20 BlackInV/Black Back Panel : *N Y TreatementKV/Effect: *G L SensibilityKV/Intensity black panel: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20 OverlayBackPannel/Define : FO SCI SCA MS NO SensibilityOV/Intensity Overlay Back Panel: 0 1 2 3 4 5 6 7 8 9 *10 11 12 13 14 15 16 17 18 19 20 EjectCard/Specific Action : *None iSmart iCtless Eject Reject Test TestTech Clean Coercivity/Coercivity: *None Hico Loco JIS Track1/Track1 : *1 2 3 4 5 8 6 7 Track2/Track2 : 1 *2 3 4 5 8 6 7 Track3/Track3 : 1 2 *3 4 5 8 6 7 duplex printingdpavlin@klin:~$ lpoptions -p EVOLIS_Dualys -l | grep Duplex Duplex/Two-sided Printing: None *DuplexNoTumble dpavlin@klin:~/klin/evolis-dualys-3$ lpr -Pdualys3 -o Duplex=DuplexNoTumble out/200900000042.print-duplex.pdf cups rastersudo apt-get install libfltk1.1-dev libcups2-dev libcupsimage2-dev gs cups rasterizator/usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -I/usr/share/cups/fonts -sMediaColor=k -sMediaType=Card -r300x300 -dDEVICEWIDTHPOINTS=243 -dDEVICEHEIGHTPOINTS=155 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=1 -scupsPageSizeName=Card -c -f - evolis rasterizator/usr/lib/cups/filter/rastertoevolis 42 dpavlin foobar 0 Duplex=DuplexNoTumble duplex.ras > foo.evolis |