Re: [cups-devel] cups-devel Digest, Vol 27, Issue 3

"tong@hue" <[email protected]>
Newsgroups gmane.comp.printing.cups.devel
Message-ID <CAO6GHWA-=Ot3wOVNc15wBMUL0LPHREmTgpNhBDPARzEnXxTi-A@mail.gmail.com>
Most POS printers could receive either raster data or ESC/POS commands but
for my application, I will be working primarily with esc/pos data.

I stumbled on tea4cups and from what I have learned, offers print data
manipulation
using the backend filter.

Would that be sufficient to handle step l & IV?

As for step II & III, I am planning to use either Python ESC/POS(
https://github.com/python-escpos/python-escpos) or ESC/POS PHP library (
https://github.com/mike42/escpos-php) to create and append the QR code.

Thanks!

TG



On 5 February 2016 at 04:00, <[email protected]> wrote:

> Send cups-devel mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://www.cups.org/mailman/listinfo/cups-devel
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of cups-devel digest..."
>
>
> Today's Topics:
>
>    1. Re: [UNKN] STR #4764: allow setting of default user       name from
>       per instance options (Vincent Danjean)
>    2. Re: [UNKN] STR #4764: allow setting of default user       name from
>       per instance options (Vincent Danjean)
>    3. [UNKN] STR #4767: Possible nonconformance of      'hold-new-jobs'
>       to RFC3998/3.3.1 (Arney)
>    4. [UNKN] STR #4768: Brazilian Portuguese (pt_BR)    translation
>       for CUPS (Rafael Fontenelle)
>    5. Capture raw print data,   append QR code before sending to
>       printer (CK TONG)
>    6. Re: [UNKN] STR #4764: allow setting of default user       name from
>       per instance options (Michael Sweet)
>    7. Re: [UNKN] STR #4764: allow setting of default user       name from
>       per instance options (Vincent Danjean)
>    8. Re: Capture raw print data,       append QR code before sending to
>       printer (Helge Blischke)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu,  4 Feb 2016 03:43:18 -0800 (PST)
> From: Vincent Danjean <[email protected]>
> To: [email protected]
> Cc: [email protected], [email protected]
> Subject: Re: [cups-devel] [UNKN] STR #4764: allow setting of default
>         user    name from per instance options
> Message-ID: <20160204114318.1587814706E-NXuN9tI6zXJg9hUCZPvPmw@public.gmane.org>
> Content-Type: text/plain
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK
> BELOW.
>
> [STR Unresolved]
>
> Argh. I really do not understand to design to allow to choose a username
> system-wide (/etc/client.conf) or account-wide ($HOME/.cups/client.conf)
> but not per queue, unless you do not consider the use-case of a computer
> (laptop) that connect to different environments.
>
> I tried to dig into the code, but I did not see any easy way to turn
> arround this problem. In my case, the backend is lpd that use the name from
> the second parameter of its invocation. As the backend is launched by the
> cups scheduler at the same time as the filters (connected by pipes), there
> is no way a filter can 'update' the login name for the lpd backend. The
> only 'trick' I can think of is that a filter add the modified username
> (taken from a cups option and/or a ppd field) to its output and that a
> wrapper lpd backend first read the name from the job that comes and invoke
> the real backend with the user name modified...
>
> I will perhaps try that if I fond the time to do it. But it will be
> specific to my usecase, not something that can be integrated upstream.
>
> Link: https://www.cups.org/str.php?L4764
> Version: 2.1.2
> Fix Version: None
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
> Comment: GPGTools - https://gpgtools.org
>
> iQIcBAEBCgAGBQJWszlVAAoJENujp6sI12IjDFIP/A+dBe3Mj+2kx5vSQ6YOaI0A
> xCrf+GRbt/47ePwOKhGaTBG8NgCt/UQQrAxY38Ym/pOsGzQwBz3VgX0XddXYijL3
> HcJdmLaK+O6A8p0i21wENZAO5m/v2AzGhzBFNWQYO0GlC7gderen8N0Nnaw/1pEX
> 3gCslF+g2O3FYhYC19DmCx2+vNyDCCHeHfhJMj7YXPP19o0WTVOaE1hpzKt2vW/1
> SJ/M3aB5nkpEyoXAjTvse1TxpJyQSyQ/55GlyGvbFpRr7o/biMwcdfdvKu5JgBpX
> ukDf3TGqsNMsYSGDoVmEf5T+4Vts5lZUnIwJ0oxsTAjT7hT/Y2G/q6+SZAaRRVVr
> 5SkX1zIRV0tXhQD1yazt+5IUHmnRRlqvklGiuKsZlYJEiLyHmPEx64J91gQyudXg
> ib4qxV20XC8g9nOh018Tq46Lba4chnYEvVp67RjAbpXlDfcMQ5hBaNXNDJapfbE/
> UTVAuhHWl1ab+jZ7PHFciiPxehPkDpjD6tsQhoRNJ/mA6N0bxJvrR3YYJcAexlpH
> paLaKQMS4sUJ8KJs6YP9wEZ1QvLkI6Z50g+R8wPcVrqoDoOCG63Mn9FtUVhCWnrX
> mxc8J8vmpi1OyFG8oRZiqBA8zjzvwjowQFaxLwQrWCuqarRaxbCARZzUNQQosp3x
> 91dfb7UbWmQW55WJoyfy
> =8oXz
> -----END PGP SIGNATURE-----
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu,  4 Feb 2016 04:25:43 -0800 (PST)
> From: Vincent Danjean <[email protected]>
> To: [email protected]
> Cc: [email protected], [email protected]
> Subject: Re: [cups-devel] [UNKN] STR #4764: allow setting of default
>         user    name from per instance options
> Message-ID: <20160204122543.0D44E140196-NXuN9tI6zXJg9hUCZPvPmw@public.gmane.org>
> Content-Type: text/plain
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK
> BELOW.
>
> [STR Unresolved]
>
> Still the 'Unable to save file to STR: Browser-supplied MIME media type
> does not match filename extension.'.
> Trying as a tar.gz...
>
> Link: https://www.cups.org/str.php?L4764
> Version: 2.1.2
> Fix Version: None
> Attachment: https://www.cups.org/strfiles.php/3603/username-wrapper.tar.gz
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
> Comment: GPGTools - https://gpgtools.org
>
> iQIcBAEBCgAGBQJWs0NGAAoJENujp6sI12IjxwIP/1kfGtuAYwxUS9cBedUKU+/H
> xJ66nYn+FcNBgpxEy2xsV5V9eEJl9xpeOavZVk8LXiIv/tOfSiyO5KmsmCQXkniU
> KVJj9HbgqUNj0UzR5k/6481PM8StocWbfSml+1wKEouNijUxG8Ka6121OYTRCmqH
> pkxOJTqDfyO+2ZJ7uRWtuvVBozbeaj9vQ/ZFpaMwPzFaiBS0Vu55ZqElw+yzRmZn
> fIjbtxfFCIJHAt8ct2ogtsm7ewSXTvc9E9es9yzKotzVL9xCuDTcrCP+i7PM+sJ5
> 36fXREWRpwzhl7xnLDhpb+EjUcSnaxRBTGxjv/v4FYIZGFKBsZ+rjKmZ8T7Jrfe2
> 9aoAIcqzreNeMsJWqsNJ023HRB31vPEMszDVVkEQg1LM+3FiDcgPAVr3TpXHIzoD
> V3zvnZLw1Pl/8way+2M4HWu19+rPH/PzRyquDYI2YH1uMoeJgZ1XkW40UDqOeZDC
> C/o+GsNL9e7344RQgkM/z+gb+Oyb2uRoERLiewUJ8oIx8YoJTq4zEPdjmOeo+yr0
> m0/X8BU9hfEeA6PIgufxGaZwEhLT0ACUVnJqCpknyVUeDyEMmhhIhNcH03OsGTR5
> gs2boOSR2Z9htDeVbJVNc8dKe5eFlcQglzWzCWyUtkWZ2jzWrohwi6xfa41D0yeC
> DW6T7kd0cbztOuOfH3ng
> =aBut
> -----END PGP SIGNATURE-----
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu,  4 Feb 2016 05:07:15 -0800 (PST)
> From: Arney <[email protected]>
> To: [email protected]
> Subject: [cups-devel] [UNKN] STR #4767: Possible nonconformance of
>         'hold-new-jobs' to RFC3998/3.3.1
> Message-ID: <20160204130715.1632C141227-NXuN9tI6zXJg9hUCZPvPmw@public.gmane.org>
> Content-Type: text/plain
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK
> BELOW.
>
> [STR New]
>
> Given the scenario
>
> sudo lpadmin -p TestPrinter -m drv:///sample.drv/generic.ppd
> sudo lpadmin -d TestPrinter
> sudo cupsaccept TestPrinter
> lp sometext.txt
> lp sometext.txt
> lp sometext.txt
> sudo cupsdisable --hold TestPrinter
> lp sometext.txt
> lp sometext.txt
> lp sometext.txt
> sudo cupsenable TestPrinter
>
> I would expect the first three pending jobs to start printing while the
> later three jobs should remain pending-held.
>
> Actual behavior: All jobs remain queued until the queue gets released.
>
> Tested on:
> - - Ubuntu 14.04 (CUPS 1.7.4)
> - - Ubuntu 15.10 (CUPS 2.0.2)
> - - Centos7 (CUPS 1.6.3)
>
> Link: https://www.cups.org/str.php?L4767
> Version: 2.0.2
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
> Comment: GPGTools - https://gpgtools.org
>
> iQIcBAEBCgAGBQJWs00DAAoJENujp6sI12Ijg7wP/3jzHTVCHSphMp3G1/hqVI9A
> ykQbh6yKY4b6bjfaYIZjHTA+s4r5SO/YfO6INrhZe4IKVnX8bkkr03RhzGvB/NkQ
> 05loYSh+LM56Hk0XU1lNRXtbyExdJqCHh7K908RcqT94w+DA3e71TFHxSmTjSiYP
> kxCTG2dzoBaNbIeRa6JKgd5r/OFbGH4DYIuMkhCUiwUUU86Jg9V0MPuMIR0oLjkt
> ij1lFH9BFVrhOmpwNJCHuDds6rgkcJADYszHJ6cwt5ARo4HIYckzxq5HYgPCd7zT
> Y7D29PlQxK2Rt2j3Gpm6vgBEWSCGTRlWE5GkFlWKtBFvh/8sTBJFc0mx7z+UtyhM
> 9CyLULSQLppMaGVyFHGGxG1II0rE66Xk8SWACTeMDTOpniFWKoh4LNqR0U2thSwN
> AIM6DGozMF/Z7rvwEVi+yfCnAwEtj6OEpAT1sBI/g8wsCzBgoJmclJRYz0yrKyKq
> EiK/UHfodfbw1mSvcoUWNTvmKl1cS1bIbWxOlDz67+1htQUqm9Tag37HOYA8Oi4q
> jqcrOuVT4RUb1/vXUrFAJJCIw4egjbvYA6BPWaOwRxYS5ZXKFzQHxB0d/ZJfVR+7
> y0e743Uah1i8Z0i1L43FeAB1558czBkPhgVGtd/ERyFpzekx/JGx7QHqWbUxxpJ8
> S89703ZfFTgLM59HKFI0
> =tIXB
> -----END PGP SIGNATURE-----
>
>
>
> ------------------------------
>
> Message: 4
> Date: Thu,  4 Feb 2016 05:26:00 -0800 (PST)
> From: Rafael Fontenelle <[email protected]>
> To: [email protected]
> Subject: [cups-devel] [UNKN] STR #4768: Brazilian Portuguese (pt_BR)
>         translation for CUPS
> Message-ID: <20160204132600.08C68140196-NXuN9tI6zXJg9hUCZPvPmw@public.gmane.org>
> Content-Type: text/plain
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK
> BELOW.
>
> [STR New]
>
> The attached tarball contains desktop file, index.html.in, templates and
> PO
> file translation for Brazilian Portuguese. Translation is ready for version
> 2.1.2.
>
> Link: https://www.cups.org/str.php?L4768
> Version: 2.1.2
> Attachment: https://www.cups.org/strfiles.php/3604/pt_BR.tar.gz
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
> Comment: GPGTools - https://gpgtools.org
>
> iQIcBAEBCgAGBQJWs1FnAAoJENujp6sI12IjcPcP/3uTAt14HcJUZIf9Muf/ltNN
> pwJ9ugUzE7YrrL2mNqV2DNhXwXxmCiWfuBa2MNTQDQ4w6F07mc2BsVLJq9E+1LAv
> RpKNWFj4qRBJSp7ryAQy8oP6h/uwCQBgYA9csl+i2PJpDXkm7Qm9BtgkXBm8NIGz
> soeXTVQDr1MSiNsyZYmVI6UT3OruWHMzX3gi33oxQrv9xULqqi3yht7jpbUnWdAL
> 5u8p1mt49tbaOCshUOjXiusDsz/Qw+CSxj79NlQljGYJGJ5Ng/TfSdXBh3StuE71
> dtFutt49zaRDD3l0w3RdIV7XamMOCG6t2v07w9vE6/NaQ/X9Q5b160UxhVU/pZJv
> Tv3l4GKKEzII2fl9anr77sphIee2HQPJkb8I0SpdneYu/dpAQA/qm/Me5Nkto1iP
> gXjhXmViJcGvUZQVBy/wVCqq/DlkH7dgQpdnBmbuajaoGrpD5VIjQbB/+1sFYI4Y
> MuZMkn6wj1yMWG48zQfcNN/mIMWJWJwHTkKBruZXYVay2WGTMdhJzH5rJIfktdTr
> ec5OeP81I/15U1iUOPrOSTTmW6GhpzB9FaDQJEx57HWIKJMFvDQzjrxVjGvQj7N0
> HkZIaBpX4TmOvQCiyMUan9MJxfCrQQZnFEoHfb9ljPlrfPr/SPsdpukLZF+QXNcm
> EKioH1yVTH9ykhGujLA2
> =pFeg
> -----END PGP SIGNATURE-----
>
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 4 Feb 2016 17:09:33 +0800
> From: CK TONG <mail-/OGFVUI/Gc/[email protected]>
> To: [email protected]
> Subject: [cups-devel] Capture raw print data,   append QR code before
>         sending to printer
> Message-ID:
>         <
> CAO6GHWCxoVHGPBKHqgdsyOVKC94rhJLfi4DWSafq9RQkKTJFOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
> Content-Type: text/plain; charset=UTF-8
>
> I am trying to intercept raw print data stream from a POS system, modify it
> before sending it to a networked Epson thermal receipt printer as described
> below:
>
>
> i) Intercept print data,
>
> ii) use the data to encode a QR code,
>
> iii) append it to the captured data,
>
> iv) send to printer
>
>
> I have limited knowledge on linux and CUPS. Appreciate if someone could
> direct me to relevant resource for further research.
>
>
> Thanks in advance!
>
>
> TG
>
>
> ------------------------------
>
> Message: 6
> Date: Thu,  4 Feb 2016 07:16:04 -0800 (PST)
> From: Michael Sweet <[email protected]>
> To: [email protected]
> Cc: [email protected], [email protected]
> Subject: Re: [cups-devel] [UNKN] STR #4764: allow setting of default
>         user    name from per instance options
> Message-ID: <20160204151604.E813D141203-NXuN9tI6zXJg9hUCZPvPmw@public.gmane.org>
> Content-Type: text/plain
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK
> BELOW.
>
> [STR Unresolved]
>
> If you use a modern network printing protocol (i.e. IPP) then the username
> can be requested and authenticated by the server.  LPD is "print and pray"
> and has no way to tell the client it needs a different user or to
> authenticate the user that is provided.
>
> Link: https://www.cups.org/str.php?L4764
> Version: 2.1.2
> Fix Version: None
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
> Comment: GPGTools - https://gpgtools.org
>
> iQIcBAEBCgAGBQJWs2s0AAoJENujp6sI12IjV7UP/jMCEr+IIZRUBCzbf67PNxbX
> ZBLHYy9XPVwqL77no4VKcXGjY39GFd3pkRX3UWICNL2BzL+35nvN8IwcHIRpGVCc
> I+sdDS9dtRUoHxyb/PzITnLxUiBainn+P66CP1g9TczRrpYrB0HiLKs6Q1zLZxYr
> yN5IoZmI4kVs6/5AGjLpCVUNIF8EWLd7e4h4sLh+jVv51NQUw8tO0ZNiUU04IkZ2
> 4qDRSjN0TVsVcqN+v+xjgxx9cpypUSMdxFf9rgMaCj3AEuQoD2xcxyTYe1DnM1GY
> 8fkZFFyFEjzcFSUlR7AX+OCq5nFFUM5SPURZDAmDXSxzCurpc0p5gM74moCxjKW+
> hzjatc+QSE8SKofvNZEnj+H0ugKtV0P7xxIoupKug/Ki5wm/UjiWqRZAu2/7DCPo
> aBWMjJhX3gSIf1E87cOHG4zLb/9GFjlwUUxrKdSxJWzK/v9/SkjQVFVMlyOM8hAa
> /SVNCRJz37Z+l6iRCnLeIrYMB49933Y9kDk36bQ4gpbD4suFLZLL1nuW83E0Es2z
> jXZ+92iPkTzK7kwRUIx7T+oNWBY4uf3qIC2xpYxFT91whsQKgZuYIlGEGO3yqwvk
> Xa6tSyyapDzgIh0F2hNvkS9y4olE2xy754Pj5kbvPV0d6Cem1WBwOheqkEJR5iGd
> v+MiSJdPDdOS6U+VOsNZ
> =yiEp
> -----END PGP SIGNATURE-----
>
>
>
> ------------------------------
>
> Message: 7
> Date: Thu,  4 Feb 2016 07:50:32 -0800 (PST)
> From: Vincent Danjean <[email protected]>
> To: [email protected]
> Cc: [email protected], [email protected]
> Subject: Re: [cups-devel] [UNKN] STR #4764: allow setting of default
>         user    name from per instance options
> Message-ID: <20160204155032.591A5140196-NXuN9tI6zXJg9hUCZPvPmw@public.gmane.org>
> Content-Type: text/plain
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK
> BELOW.
>
> [STR Unresolved]
>
> I've lots of constraints due to the fact that I cannot configure/manage the
> main printer server. The main printer server can be reached by either lpd
> or ipp (both services provided by a windows server that allows to print the
> job on any of all printers of the building after authentification on the
> printer)
>   So, to get its print, a user must submit its job with the username he
> will be able to authentificate itself on the printer (but the main print
> server do not require authentification at submission time, only at printing
> time on the printers themselves).
>
>   As the building has several subnetworks and DNS-SD is not used, we
> installed on our subnet a local cups server that relay jobs to the main
> server (so no local configuration on client is required to be able to
> print, avahi being used to propose the printer).
>   But, sometimes, user do not have the same login on their laptop and on
> the print server.
>   So, to avoid the needed to write config files (and to allow to have
> different username for different printers as we have the same kind of setup
> in another building with different logins), I managed to write a wrapper
> against the lpd backend (cf my previous message). I suppose (but I did not
> test) that the same trick could possibly be used by the ipp backend (I'm
> not sure here as the ipp backend is probably more complex as it is
> bidirectionnal).
>
>   That said, sometimes, on the middle (local) cups server, I detect the
> submitted user name is wrong. I would like to report this error to the user
> (so the error detection occurs *before* the lpd protocol is used). For now,
> I did not find how to do it. The job is just quietly discarded. The user do
> not see in a job list for example that its job have been discarded. It is
> displayed as if it has been sent to the main print server.
>   I was asking if there is a correct way for a backend or a filter to
> report back to the user that its job has been discarded instead of being
> sent to the printer.
>
> Link: https://www.cups.org/str.php?L4764
> Version: 2.1.2
> Fix Version: None
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
> Comment: GPGTools - https://gpgtools.org
>
> iQIcBAEBCgAGBQJWs3NIAAoJENujp6sI12IjWKoP/jBeI3WRJmIYa/acrlHW9GRQ
> 6JAcg53+Qd3WokkGMql4jdAiCKh4JScUxd0ZIZ40B84OMdbzQMpSHRh3BMt2ZxzP
> ofZMjUMlPmoB/AK1MViZ4ovjagKCZNswg9mZB8NpElQWppDxNL6h2v45wGLV6HTh
> WqgjSNvFMPrD+z6Ct/6ukIjwj7dfID+R/rBkXA8ylnhW5kiK0EMjUkZ4q4izEG8q
> VVKnR1XXkUOX8Qnc08vkR+VlEPWz2Z/dttYTdUkwVFid5zSlChrLgA8w0wPdMzTL
> 8d4EPTKjmliwh6zbY4jKW9xn9eJUPPcUiX83cvHYlmB+m8a1Wlm9unN2EaCY9KhS
> bD7PDJlJ6VpQIH/YWZpSeRNYOY5/L5Bsqt9bd3TbufHKHN9fTzMSj1JghTl9I/py
> KvFWE4XFjZo9oNFw/bT4SwSj8azcxK9/8cXZ/pdxRpLtWepV4TEqJDLDWjeGvKdn
> H6EsZ2B4qvVTjHFIwsNseLBPr9eU/b1vr6dpAhWmyXNVyHQQI31KlJY6Z77WPyp4
> EQKuCwGmMzVCyRoxyO4cyIIK8OA7Lvox1rznnUvUvT9zCSDY+NVUgmREjQjqmg1y
> FMyhCc//97n5IXA5KDtbfHH+706cYyf8pXODvwVTo3GnN607W8seT+eaUYm8HhT8
> 4tHL5S6qhWXJK2Eyuwt4
> =Mvze
> -----END PGP SIGNATURE-----
>
>
>
> ------------------------------
>
> Message: 8
> Date: Thu, 4 Feb 2016 20:40:15 +0100
> From: Helge Blischke <helgeblischke-S0/[email protected]>
> To: "The CUPS developer list." <[email protected]>
> Subject: Re: [cups-devel] Capture raw print data,       append QR code
>         before sending to printer
> Message-ID: <1056905C-5591-4596-B510-220C4789FADA-S0/[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
>
> > Am 04.02.2016 um 10:09 schrieb CK TONG <mail-/OGFVUI/Gc/[email protected]>:
> >
> > I am trying to intercept raw print data stream from a POS system, modify
> it
> > before sending it to a networked Epson thermal receipt printer as
> described
> > below:
> >
> >
> > i) Intercept print data,
> >
> > ii) use the data to encode a QR code,
> >
> > iii) append it to the captured data,
> >
> > iv) send to printer
> >
> >
> > I have limited knowledge on linux and CUPS. Appreciate if someone could
> > direct me to relevant resource for further research.
> >
> >
> > Thanks in advance!
> >
> >
> > TG
>
> First, we must know what kind of data you get from your POS system in
> order to
> think about how to accomplish your items II and III.
>
> Helge
>
>
>
> ------------------------------
>
> _______________________________________________
> cups-devel mailing list
> [email protected]
> https://www.cups.org/mailman/listinfo/cups-devel
>
>
> End of cups-devel Digest, Vol 27, Issue 3
> *****************************************
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.