Closed michaelrsweet closed 8 years ago
CUPS.org User: h.blischke
A quick search in the internet revealed that these printers understand a control language named "KPL", based on ESC sequences. Among a lot of things, this PL supports rendering b/w bitmaps in Windows BMP format. As this format is supported by Ghostscript out of the box, it should be no problem to write a supporting filter as a, say, Perl or Python script.
The KPL language is documented.
CUPS.org User: mwilner
I don't understand your post since I am asking to include the attached driver (filters and ppd's) for the Zebra printers in the next build.
CUPS.org User: mwilner
This is a bugfix to a prior submission STR #3317.
CUPS.org User: mike
Assigning to CUPS 1.5.
CUPS.org User: llowy
Is this feature going to be included in the 1.5 release?
CUPS.org User: mike
Leo,
No, and I had actually sent out an email in March requesting that Zebra sign our new contributor agreement before we could include it:
http://www.cups.org/AppleContributorAgreement.pdf
Can you take care of that?
Thanks!
CUPS.org User: llowy
Mike -
Can you email me the document? The link in your note above does not seem to work.
CUPS.org User: mike
Now have the signed agreement, moving to the 1.6 milestone...
CUPS.org User: mike
Sorry, this is getting pushed out again as we are running out of time for 1.6.
I really want to merge the kiosk driver into rastertolabel, and all of the Kiosk stuff (like zePresenterLoopLength/Tens) needs to be migrated to use custom options - picking 1100 possible values from two different controls is not a good user experience.
CUPS.org User: mike
Here is what I've merged so far to rastertolabel.c.
CUPS.org User: mwilner
Mike, What I can see in the merge file this is all ZPL based stuff and there are two types of Kioks printer, one that is ZPL based (KR403) and all the others in rastertozebrakiosk for KPL based Kiosk printers. Are you planning to merge those together? \Manfred
CUPS.org User: mike
Manfred,
Correct, I want to merge the KPL stuff into rastertolabel. This is partly because we wish to minimize the number of filters bundled with CUPS, and partly because the current KPL driver doesn't follow our coding guidelines and needs to be updated for localization, etc.
CUPS.org User: mwilner
Mike, Thank you, are those coding guidelines documented on the CUPS side so that I can take a look at it? I have taken over the project and am not too familiar with CUPS so I will have to look into it. \Manfred
CUPS.org User: mike
You'll find the guidelines here:
http://www.cups.org/documentation.php/spec-cmp.html
CUPS.org User: mwilner
Mike, Can you leave the rastertozebrakiosk out of the distribution while we are working on the coding to conform to the guidelines and just include the rastertolabel in the 1.6 release? This would help us tremendously. Thank you, \Manfred
CUPS.org User: mwilner
Mike, When are you planning to release CUPS 1.6 so that we can determine how much time we have to get our driver into this build? Thank you, \Manfred
CUPS.org User: mike
Manfred,
CUPS 1.6.0 is coming very soon. We can always add updates to rastertolabel in 1.6.x if we need to...
CUPS.org User: mwilner
Mike, Finally making progress with my CUPS development on the Ubuntu 12.04. I have a question regarding the implementation of the Kiosk printers, we have to kind of Kiosk printers, one is ZPL which is now integrated into the rastertolabel filter but the other is KPL which is ESC based like the Epson but not quite the same. I know you wanted to limit the filter files so I am asking where would you like me to integrate the KPL based Kiosk printers? Thank you, \Manfred
CUPS.org User: mike
Manfred,
If it is a label/receipt printer, then I'd like the code in the rastertolabel filter.
Thanks!
CUPS.org User: manfredf
I cannot log into Cups area...I enter username and password but it will not let me log in. I need to add a printer and this is just not working as instructed. Please advise. Thank you.
CUPS.org User: agiovacchini
Hello, I'd like to be able to use Zebra KR203 KPL under Linux and found this page, but I can't understand how to use the source files from zebraCupsDrivers_v2.zip, can someone help me please?
In a document from Zebra I red that KPL was planned for inclusion in CUPS 1.6 but also in 1.7 I can't find it.
Best regards
CUPS.org User: mike
This STR has not been updated by the submitter for two or more weeks and has been closed as required by the CUPS Configuration Management Plan. If the issue still requires resolution, please re-submit a new STR.
"str3767-prelim.patch":
--- filter/rastertolabel.c (revision 10492) +++ filter/rastertolabel.c (working copy) @@ -561,6 +561,11 @@ printf("^MNY\n"); else if (ppdIsMarked(ppd, "zeMediaTracking", "Mark")) printf("^MNM\n");
}
/*
* Set label top
@@ -595,6 +600,55 @@ printf("R,Y\n"); else if (!strcmp(choice->choice, "Applicator")) printf("A,Y\n");
}
else printf("C,Y\n"); } @@ -638,8 +692,12 @@ */
puts("^IDR:CUPS.GRF^FS");
if (ppdIsMarked(ppd, "zePrintMode", "Kiosk"))
How setup driver ttp8200 on linux?
When i compiling i got
/usr/bin/ld: /tmp/ccAKeKze.o: in function initialize_settings': rastertozebrakiosk.c:(.text+0x4b8): undefined reference to
get_option_choice_index'
/usr/bin/ld: rastertozebrakiosk.c:(.text+0x4d0): undefined reference to get_option_choice_index' /usr/bin/ld: rastertozebrakiosk.c:(.text+0x4e8): undefined reference to
get_option_choice_index'
/usr/bin/ld: rastertozebrakiosk.c:(.text+0x500): undefined reference to get_option_choice_index' /usr/bin/ld: rastertozebrakiosk.c:(.text+0x524): undefined reference to
get_option_choice_index'
/usr/bin/ld: /tmp/ccAKeKze.o:rastertozebrakiosk.c:(.text+0x53c): more undefined references to get_option_choice_index' follow /usr/bin/ld: /tmp/ccAKeKze.o: in function
job_setup':
rastertozebrakiosk.c:(.text+0xb3c): undefined reference to output_command' /usr/bin/ld: rastertozebrakiosk.c:(.text+0xb58): undefined reference to
output_command'
/usr/bin/ld: rastertozebrakiosk.c:(.text+0xb74): undefined reference to output_command' /usr/bin/ld: rastertozebrakiosk.c:(.text+0xb98): undefined reference to
output_command'
/usr/bin/ld: rastertozebrakiosk.c:(.text+0xbb8): undefined reference to output_command' /usr/bin/ld: /tmp/ccAKeKze.o:rastertozebrakiosk.c:(.text+0xbd4): more undefined references to
output_command' follow
/usr/bin/ld: /tmp/ccAKeKze.o: in function job_setup': rastertozebrakiosk.c:(.text+0xbf8): undefined reference to
set_bm_params'
/usr/bin/ld: rastertozebrakiosk.c:(.text+0xc00): undefined reference to set_loop_length' /usr/bin/ld: rastertozebrakiosk.c:(.text+0xc2c): undefined reference to
set_sys_params'
/usr/bin/ld: rastertozebrakiosk.c:(.text+0xc34): undefined reference to set_partial_cut' /usr/bin/ld: /tmp/ccAKeKze.o: in function
page_setup':
rastertozebrakiosk.c:(.text+0xdbc): undefined reference to do_reverse' /usr/bin/ld: /tmp/ccAKeKze.o: in function
end_page':
rastertozebrakiosk.c:(.text+0xe08): undefined reference to do_advance' /usr/bin/ld: rastertozebrakiosk.c:(.text+0xe34): undefined reference to
output_command'
/usr/bin/ld: /tmp/ccAKeKze.o: in function end_job': rastertozebrakiosk.c:(.text+0xeb8): undefined reference to
output_command'
/usr/bin/ld: rastertozebrakiosk.c:(.text+0xed4): undefined reference to output_command' /usr/bin/ld: rastertozebrakiosk.c:(.text+0xee0): undefined reference to
do_eject'
collect2: error: ld returned 1 exit status
Version: -feature CUPS.org User: mwilner
Request to add support for the following Zebra Technology Kiosk Printers: TTP20x0 TTP2130 TTP7030 TTP8200 KR403
The latest version to be included is attached to this request. Enclosed is a summary of the changes.