Code Monkey home page Code Monkey logo

epsonsimplecups's People

Contributors

mist-01 avatar plinth666 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

epsonsimplecups's Issues

rpi3 text printing slow. Spooling issue?

The project is great and after working with the driver in cups for some time I was able to get it working and it prints well. I'm printing text only, for now and perhaps barcodes and logo later, but it seems like the text printing is slow. I send a print and I can see the cups print monitor in the Taskbar, wait a bit and it prints.
Any idea how to speed this up? It's connected /dev/ttyACM0
Any help would be appreciated, thanks!

Top and bottom reduction and more

Hi, I am using this on TM T88V
I obversed some missing specs;
Print size is equal to document size. Which inserts spacing where there shouldn't be.
Also, there is a margin of about 2cm to the left and 1cm to the right.
Also, there isn't the top/bottom space reduction like the original driver for the TM T88V.

This is understandable, you designed this for your epson model.
Is there any chance we could request these functions/specifications? I would be willing to pay you freelancer fees to get this added. Maybe others will contribute too. Email me at [email protected] if you are willing to take on the extra work. Thanks!

Thank you!

Works great on my Epson TM-T20iii, your awesome, thanks!

Resize problem

Hi, I was trying to print a reciept, from filemaker app, and this driver worked very well.
But, I think it resize any paper size to A4 format.
It could be possible to unselect this automatic resize?
If I send reciepts from 80mm x 200mm, it automatic resize to A4 format, and it doesn't look very well....
Can you help me?

rpi3 pdf printing issue

Hi there, I am using your driver to print pdf files on the EPSON_TM-T88V printer from the rpi3 but the margins and the fonts are somehow different when printing from Windows 7 and the cutting is not right. I am not sure if this is so because this driver is not fully compatible with the t88v printer or if I am missing something.

The printing is working fine when using esc/pos commands and raw javax.print methods but when it comes to pdf printing, something is not right (this is maybe also an issue how the raspberry is creating pdf files). PPDs are also not helping when modifying the printer driver.

If there is a way to create a full cups driver for tm-t88v like you did for the tm-t20, or if you have some advice how to do this, I would appreciate if you or somebody else could help me with this matter. Thanks! Deki

height block

Hi

First, thanks for the driver, works great!!! and its the only way to print in my TM20II from my raspberry.

Im using it to print large images, and i found an estrange behavior, because i get small blank lines in my print (aprox. 1px height), maybe you can give me a clue?

regards
natxo pedreira gonzalez

Can't make

$ make
mkdir bin

compiling rastertoepsonsimple filter

gcc -Wl,-rpath,/usr/lib -Wall -fPIC -O2 -o bin/rastertoepsonsimple bufferedscanlines.o src/rastertoepsonsimple.c -lcupsimage -lcups
/tmp/cc64RnPF.o: In function main': rastertoepsonsimple.c:(.text.startup+0x74): undefined reference to initializeSettings'
collect2: error: ld returned 1 exit status
makefile:64: recipe for target 'rastertoepsonsimple' failed
make: *** [rastertoepsonsimple] Error 1

Thanks! TM-T88V working

I was looking for a suitable driver for my TM-T88V and finally I found yours!
Just tested a bit and I saw that it always feeds the full Page, instead of stopping after content finishes, but it's not such a problem.
I Will set links to this Page in the forums I visited, in order to help people with the same problem.
Thanks again!

Several problems with the size of the ticket

Hi,

I have used your driver for the TM-T20II printer and the installation in CUPS has been completed successfully but in the final step where the paper size is configured I don't get the recommended size for this printer which is 80 x 297 mm and I had to choose 80 x 100mm. The thing is that when I print something with a size bigger than 100 mm it cuts it off.The way to solve this problem was to increase the size to 80 x 200 mm. The fear I have is that if the ticket exceeds 200 mm, the same thing will happen again. How do you have it configured so that this doesn't happen to you?I have seen in the configuration that you can put 80 x 1500mm (1.5 meters) but I do not know if it is wise to put this size or there is some other parameter to avoid this?

My second problem is that the cut of the end of the ticket is very good (quite tight at the end of the text) but I would like to reduce a little the white space that remains at the top margin. How can I reduce it?

And finally, when I print a ticket or the test page, the text in the right margin is cut and the left margin is about 0.5 cm. How can I center the right and left margins a little better so that the ticket is more centered?

I hope you can help me.

Thank you very much.

Best regards,
Wardiam

Can it open the drawer?

Hi I am about to download this driver but I would like to know if in addition to printing and cutting, will it be able to open a cash register drawer?

Garbled Characters Error on Print Out

We've been trying to isolate a bug and was hoping to get other insights or ideas to troubleshoot.

Setup Configuration
Printer: TM-T20ii
Hardware: Raspberry Pi 3 running CUPs driver
Print Management: Google Cloud Print

Overview: We have a Point of Sale system running a front end on top of WooCommerce WordPress. We use Google Cloud Print to send the print jobs from WooCommerce to the Raspberry Pi 3 running CUPs for print out to the TM-T20ii printer.

Issue: We are finding on random print outs, the print job is being garbled. We haven't been able to find the pattern causing the bug nor anything in the logs to indicate the issue. The challenge, we can't repro it consistently, but the garbled bug occurs on average between every 50 print jobs. No reset is necessary and normally the next print job works OK.

Here is an image of the garbled characters.
img_7510
img_7511

Any insights or ideas on where to troubleshoot would be extremely helpful.

did not work on raspbian and Epson TM-U220

I use Raspbian Jessie with PIXEl version March 2017, 2017-03-02, kernel 4.4
and my printer's Epson TM-U220

I manage to install it and make CUPS detect it. Add printer success. But I still can not print it.

Any idea how to fix it ?

Thankyou! Would you mind a step-by-step

Thank you very much for creating this driver!

I have an Epson T20II connected via USB to a RPI2 and I would like to use cups. Sounds like this is a perfect match.

By any chance, would you be willing to give me a step by step on how to install your driver on my pi? I must be doing something wrong.

Thanks!
Jon

img_1703

Corrupt output on Epson TM-T20II

We're using this driver to print receipts from a WooCommerce shop. The document we're trying to print is actually a PDF file which is generated beforehand and then given to the printer. We're using a raspbery pi 4. The printer is connected via USB.

But sometimes in rather rare cases (like 1 in 15), the printer just prints nonsense. You can find an image attached to this issue to see the output. The printer also just prints like half of the document correctly and then just stops in between.

I configured the printer to cut automatically when the printing is finished. Even that isn't working anymore when the printer prints those random characters. It just stops and doesnt cut at all.
Also it's very difficult to test this properly because right now we have no clue where the issue comes from.

You also find the cups logs attached. I compared the cups logs of a "good-looking" print with a "bad-looking" but cannot find any issues which look like an error. So I assume that this is related to how the driver / printer initially functions. On the other hand, if the driver doesnt render the document properly, it should error out and doesnt print anything at all. But that's not the case.

Do you have any solutions for this?
We're really struggling with this as this is sometimes working and sometimes not.

D [15/Apr/2021:17:02:13 +0200] [Notifier] JobCreated
D [15/Apr/2021:17:02:13 +0200] [Client 14] POST /printers/EPSON_TM-T20III HTTP/1.1
D [15/Apr/2021:17:02:13 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [15/Apr/2021:17:02:13 +0200] [Client 14] Read: status=200, state=6
D [15/Apr/2021:17:02:13 +0200] [Client 14] No authentication data provided.
D [15/Apr/2021:17:02:13 +0200] [Client 14] 2.0 Send-Document 5
D [15/Apr/2021:17:02:13 +0200] [Client 14] Read: status=100, state=6
D [15/Apr/2021:17:02:13 +0200] [Client 14] Read: status=100, state=6
D [15/Apr/2021:17:02:13 +0200] [Client 14] Read: status=100, state=6
D [15/Apr/2021:17:02:13 +0200] [Client 14] Read: status=100, state=6
D [15/Apr/2021:17:02:13 +0200] [Client 14] Read: status=100, state=6
D [15/Apr/2021:17:02:13 +0200] [Client 14] Read: status=100, state=6
D [15/Apr/2021:17:02:13 +0200] [Client 14] Read: status=100, state=6
D [15/Apr/2021:17:02:13 +0200] [Client 14] Read: status=100, state=6
D [15/Apr/2021:17:02:13 +0200] [Client 14] Read: status=100, state=6
D [15/Apr/2021:17:02:13 +0200] [Client 14] Read: status=100, state=6
D [15/Apr/2021:17:02:13 +0200] [Client 14] Read: status=100, state=6
I [15/Apr/2021:17:02:14 +0200] Expiring subscriptions...
D [15/Apr/2021:17:02:14 +0200] [Client 14] Read: status=100, state=6
D [15/Apr/2021:17:02:14 +0200] [Client 14] Read: status=100, state=6
D [15/Apr/2021:17:02:14 +0200] Send-Document ipp://localhost:631/printers/EPSON_TM-T20III
D [15/Apr/2021:17:02:14 +0200] cupsdIsAuthorized: requesting-user-name="pi"
D [15/Apr/2021:17:02:14 +0200] [Job 577] Auto-typing file...
D [15/Apr/2021:17:02:14 +0200] [Job 577] Request file type is application/pdf.
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(---J-)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
I [15/Apr/2021:17:02:14 +0200] [Job 577] File of type application/pdf queued by "pi".
I [15/Apr/2021:17:02:14 +0200] [Job 577] Adding end banner page "none".
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(---J-)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [15/Apr/2021:17:02:14 +0200] [Job 577] time-at-processing=1618498934
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(---J-)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [15/Apr/2021:17:02:14 +0200] [Job 577] 3 filters for job:
D [15/Apr/2021:17:02:14 +0200] [Job 577] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [15/Apr/2021:17:02:14 +0200] [Job 577] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [15/Apr/2021:17:02:14 +0200] [Job 577] rastertoepsonsimple (application/vnd.cups-raster to printer/EPSON_TM-T20III, cost 0)
D [15/Apr/2021:17:02:14 +0200] [Job 577] job-sheets=none,none
D [15/Apr/2021:17:02:14 +0200] [Job 577] argv[0]="EPSON_TM-T20III"
D [15/Apr/2021:17:02:14 +0200] [Job 577] argv[1]="577"
D [15/Apr/2021:17:02:14 +0200] [Job 577] argv[2]="pi"
D [15/Apr/2021:17:02:14 +0200] [Job 577] argv[3]="55525.pdf"
D [15/Apr/2021:17:02:14 +0200] [Job 577] argv[4]="1"
D [15/Apr/2021:17:02:14 +0200] [Job 577] argv[5]="finishings=3 number-up=1 job-uuid=urn:uuid:6b28dbc5-0a62-3831-60b5-0fa8de45fd01 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1618498933 time-at-processing=1618498934 document-name-supplied=55525.pdf"
D [15/Apr/2021:17:02:14 +0200] [Job 577] argv[6]="/var/spool/cups/d00577-001"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[7]="CUPS_STATEDIR=/run/cups"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[8]="HOME=/var/spool/cups/tmp"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[10]="SERVER_ADMIN=root@hostname"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[11]="SOFTWARE=CUPS/2.2.10"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[13]="USER=root"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[14]="CUPS_MAX_MESSAGE=2047"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[17]="IPP_PORT=631"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[18]="CHARSET=utf-8"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[19]="LANG=de_DE.UTF-8"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[20]="PPD=/etc/cups/ppd/EPSON_TM-T20III.ppd"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[21]="RIP_MAX_CACHE=128m"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[22]="CONTENT_TYPE=application/pdf"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[23]="DEVICE_URI=usb://EPSON/TM-T20III?serial=583741560601890000"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[24]="PRINTER_INFO=EPSON TM-T20III"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[25]="PRINTER_LOCATION="
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[26]="PRINTER=EPSON_TM-T20III"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[27]="PRINTER_STATE_REASONS=none"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[28]="CUPS_FILETYPE=document"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[30]="AUTH_I****"
I [15/Apr/2021:17:02:14 +0200] [Job 577] Started filter /usr/lib/cups/filter/pdftopdf (PID 789)
I [15/Apr/2021:17:02:14 +0200] [Job 577] Started filter /usr/lib/cups/filter/gstoraster (PID 790)
I [15/Apr/2021:17:02:14 +0200] [Job 577] Started filter /usr/lib/cups/filter/rastertoepsonsimple (PID 791)
I [15/Apr/2021:17:02:14 +0200] [Job 577] Started backend /usr/lib/cups/backend/usb (PID 792)
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Active clients and dirty files"
D [15/Apr/2021:17:02:14 +0200] [Client 14] Returning IPP successful-ok for Send-Document (ipp://localhost:631/printers/EPSON_TM-T20III) from localhost.
D [15/Apr/2021:17:02:14 +0200] [Client 14] Content-Length: 171
D [15/Apr/2021:17:02:14 +0200] [Client 14] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [15/Apr/2021:17:02:14 +0200] [Client 14] con->http=0xe569b0
D [15/Apr/2021:17:02:14 +0200] [Client 14] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=171, response=0xe3d218(IPP_STATE_DATA), pipe_pid=0, file=-1
D [15/Apr/2021:17:02:14 +0200] [Client 14] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [15/Apr/2021:17:02:14 +0200] [Client 14] bytes=0, http_state=0, data_remaining=171
D [15/Apr/2021:17:02:14 +0200] [Client 14] Flushing write buffer.
D [15/Apr/2021:17:02:14 +0200] [Client 14] New state is HTTP_STATE_WAITING
D [15/Apr/2021:17:02:14 +0200] [Client 14] Waiting for request.
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and dirty files"
D [15/Apr/2021:17:02:14 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:14 +0200] [Notifier] PrinterStateChanged
D [15/Apr/2021:17:02:14 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:14 +0200] [Notifier] JobState
D [15/Apr/2021:17:02:14 +0200] [Client 14] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [15/Apr/2021:17:02:14 +0200] [Client 14] Closing connection.
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:14 +0200] [Job 577] Loading USB quirks from \"/usr/share/cups/usb\".
D [15/Apr/2021:17:02:14 +0200] [Job 577] Loaded 172 quirks.
D [15/Apr/2021:17:02:14 +0200] [Job 577] Printing on printer with URI: usb://EPSON/TM-T20III?serial=583741560601890000
D [15/Apr/2021:17:02:14 +0200] [Job 577] pageCutType = 0
D [15/Apr/2021:17:02:14 +0200] [Job 577] docCutType = 1
D [15/Apr/2021:17:02:14 +0200] [Job 577] bytesPerScanLine = 80
D [15/Apr/2021:17:02:14 +0200] [Job 577] doubleMode = 0
D [15/Apr/2021:17:02:14 +0200] [Job 577] OUTFORMAT=\"(null)\", so output format will be CUPS/PWG Raster
D [15/Apr/2021:17:02:14 +0200] [Job 577] libusb_get_device_list=4
D [15/Apr/2021:17:02:14 +0200] [Job 577] STATE: +connecting-to-device
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(---J-)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [15/Apr/2021:17:02:14 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:14 +0200] [Notifier] PrinterStateChanged
D [15/Apr/2021:17:02:14 +0200] [Job 577] STATE: -connecting-to-device
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(---J-)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Dirty files"
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:14 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:14 +0200] [Notifier] PrinterStateChanged
D [15/Apr/2021:17:02:14 +0200] [Job 577] Device protocol: 2
D [15/Apr/2021:17:02:14 +0200] [Job 577] Sende Daten zum Drucker.
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(---J-)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:14 +0200] [Job 577] Set job-printer-state-message to "Sende Daten zum Drucker.", current level=INFO
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:14 +0200] [Job 577] pdftopdf: Last filter determined by the PPD: rastertoepsonsimple; FINAL_CONTENT_TYPE: application/vnd.cups-raster => pdftopdf will not log pages in page_log.
D [15/Apr/2021:17:02:14 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:14 +0200] [Notifier] JobProgress
D [15/Apr/2021:17:02:14 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:14 +0200] [Notifier] PrinterStateChanged
D [15/Apr/2021:17:02:14 +0200] [Job 577] Color Manager: Calibration Mode/Off
D [15/Apr/2021:17:02:14 +0200] [Job 577] PID 789 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [15/Apr/2021:17:02:14 +0200] [Job 577] Calling FindDeviceById(cups-EPSON_TM-T20III)
D [15/Apr/2021:17:02:14 +0200] [Job 577] Found device /org/freedesktop/ColorManager/devices/cups_EPSON_TM_T20III
D [15/Apr/2021:17:02:14 +0200] [Job 577] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors)
D [15/Apr/2021:17:02:14 +0200] [Job 577] Calling FindDeviceById(cups-EPSON_TM-T20III)
D [15/Apr/2021:17:02:14 +0200] [Job 577] Found device /org/freedesktop/ColorManager/devices/cups_EPSON_TM_T20III
D [15/Apr/2021:17:02:14 +0200] [Job 577] Calling GetProfileForQualifiers(Gray.....)
D [15/Apr/2021:17:02:14 +0200] [Job 577] Found profile /org/freedesktop/ColorManager/profiles/EPSON_TM_T20III_Gray__
D [15/Apr/2021:17:02:14 +0200] [Job 577] Calling org.freedesktop.ColorManager.Profile.Get(Filename)
D [15/Apr/2021:17:02:14 +0200] [Job 577] Use profile filename: \'\'
D [15/Apr/2021:17:02:14 +0200] [Job 577] Color Manager: ICC Profile: 
D [15/Apr/2021:17:02:14 +0200] [Job 577] Ghostscript using Any-Part-of-Pixel method to fill paths.
D [15/Apr/2021:17:02:14 +0200] [Job 577] Ghostscript command line: gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -r203x203 -dDEVICEWIDTHPOINTS=226 -dDEVICEHEIGHTPOINTS=566 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -scupsPageSizeName=X80MMY200MM -I/usr/share/cups/fonts -c \'<</.HWMargins[0.000000 0.000000 0.000000 0.000000] /Margins[0 0]>>setpagedevice\' -f -_
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[0]=\"CUPS_CACHEDIR=/var/cache/cups\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[1]=\"CUPS_DATADIR=/usr/share/cups\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[2]=\"CUPS_DOCROOT=/usr/share/cups/doc-root\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[3]=\"CUPS_FONTPATH=/usr/share/cups/fonts\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[4]=\"CUPS_REQUESTROOT=/var/spool/cups\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[5]=\"CUPS_SERVERBIN=/usr/lib/cups\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[6]=\"CUPS_SERVERROOT=/etc/cups\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[7]=\"CUPS_STATEDIR=/run/cups\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[8]=\"HOME=/var/spool/cups/tmp\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[9]=\"PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[10]=\"SERVER_ADMIN=root@hostname\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[11]=\"SOFTWARE=CUPS/2.2.10\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[12]=\"TMPDIR=/var/spool/cups/tmp\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[13]=\"USER=root\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[14]=\"CUPS_MAX_MESSAGE=2047\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[15]=\"CUPS_SERVER=/run/cups/cups.sock\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[16]=\"CUPS_ENCRYPTION=IfRequested\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[17]=\"IPP_PORT=631\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[18]=\"CHARSET=utf-8\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[19]=\"LANG=de_DE.UTF-8\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[20]=\"PPD=/etc/cups/ppd/EPSON_TM-T20III.ppd\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[21]=\"RIP_MAX_CACHE=128m\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[22]=\"CONTENT_TYPE=application/pdf\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[23]=\"DEVICE_URI=usb://EPSON/TM-T20III?serial=583741560601890000\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[24]=\"PRINTER_INFO=EPSON TM-T20III\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[25]=\"PRINTER_LOCATION=\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[26]=\"PRINTER=EPSON_TM-T20III\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[27]=\"PRINTER_STATE_REASONS=none\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[28]=\"CUPS_FILETYPE=document\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[29]=\"FINAL_CONTENT_TYPE=application/vnd.cups-raster\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] envp[30]=\"AUTH_INFO_REQUIRED=none\"
D [15/Apr/2021:17:02:14 +0200] [Job 577] Start rendering...
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(---J-)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:14 +0200] [Job 577] Set job-printer-state-message to "Start rendering...", current level=INFO
D [15/Apr/2021:17:02:14 +0200] [Job 577] Processing page 1...
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(---J-)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:14 +0200] [Job 577] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:14 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:14 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:14 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:14 +0200] [Notifier] JobProgress
D [15/Apr/2021:17:02:14 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:14 +0200] [Notifier] PrinterStateChanged
D [15/Apr/2021:17:02:15 +0200] [Job 577] PAGE: 1 1
D [15/Apr/2021:17:02:15 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:15 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:15 +0200] cupsdMarkDirty(---J-)
D [15/Apr/2021:17:02:15 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:15 +0200] [Job 577] Read 8192 bytes of print data...
D [15/Apr/2021:17:02:15 +0200] [Job 577] Processing page 2...
D [15/Apr/2021:17:02:15 +0200] cupsdMarkDirty(---J-)
D [15/Apr/2021:17:02:15 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:15 +0200] [Job 577] Set job-printer-state-message to "Processing page 2...", current level=INFO
D [15/Apr/2021:17:02:15 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:15 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:15 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:15 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
I [15/Apr/2021:17:02:15 +0200] Expiring subscriptions...
D [15/Apr/2021:17:02:15 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:15 +0200] [Notifier] JobProgress
D [15/Apr/2021:17:02:15 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:15 +0200] [Notifier] JobProgress
D [15/Apr/2021:17:02:15 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:15 +0200] [Notifier] PrinterStateChanged
D [15/Apr/2021:17:02:15 +0200] [Job 577] Rendering completed
D [15/Apr/2021:17:02:15 +0200] cupsdMarkDirty(---J-)
D [15/Apr/2021:17:02:15 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:15 +0200] [Job 577] Set job-printer-state-message to "Rendering completed", current level=INFO
D [15/Apr/2021:17:02:15 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:15 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:15 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:15 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:15 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:15 +0200] [Notifier] JobProgress
D [15/Apr/2021:17:02:15 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:15 +0200] [Notifier] PrinterStateChanged
D [15/Apr/2021:17:02:15 +0200] [Job 577] Ready to print.
D [15/Apr/2021:17:02:15 +0200] cupsdMarkDirty(---J-)
D [15/Apr/2021:17:02:15 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:15 +0200] [Job 577] Set job-printer-state-message to "Ready to print.", current level=INFO
D [15/Apr/2021:17:02:15 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:15 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:15 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:15 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:15 +0200] [Job 577] PID 790 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [15/Apr/2021:17:02:15 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:15 +0200] [Notifier] JobProgress
D [15/Apr/2021:17:02:15 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:15 +0200] [Notifier] PrinterStateChanged
D [15/Apr/2021:17:02:15 +0200] [Job 577] Wrote 8192 bytes of print data...
D [15/Apr/2021:17:02:15 +0200] [Job 577] Read 8192 bytes of print data...
D [15/Apr/2021:17:02:15 +0200] [Job 577] PID 791 (/usr/lib/cups/filter/rastertoepsonsimple) exited with no errors.
D [15/Apr/2021:17:02:16 +0200] [Job 577] Wrote 8192 bytes of print data...
I [15/Apr/2021:17:02:16 +0200] Expiring subscriptions...
D [15/Apr/2021:17:02:16 +0200] [Job 577] Read 8192 bytes of print data...
D [15/Apr/2021:17:02:16 +0200] [Job 577] Wrote 8192 bytes of print data...
D [15/Apr/2021:17:02:16 +0200] [Job 577] Read 8192 bytes of print data...
D [15/Apr/2021:17:02:17 +0200] [Job 577] Wrote 8192 bytes of print data...
I [15/Apr/2021:17:02:17 +0200] Expiring subscriptions...
D [15/Apr/2021:17:02:17 +0200] [Job 577] Read 8192 bytes of print data...
D [15/Apr/2021:17:02:18 +0200] [Job 577] Wrote 8192 bytes of print data...
I [15/Apr/2021:17:02:18 +0200] Expiring subscriptions...
D [15/Apr/2021:17:02:18 +0200] [Job 577] Read 8192 bytes of print data...
D [15/Apr/2021:17:02:18 +0200] [Job 577] Wrote 8192 bytes of print data...
D [15/Apr/2021:17:02:18 +0200] [Job 577] Read 8192 bytes of print data...
D [15/Apr/2021:17:02:32 +0200] [Job 577] Wrote 8192 bytes of print data...
I [15/Apr/2021:17:02:32 +0200] Expiring subscriptions...
D [15/Apr/2021:17:02:32 +0200] [Job 577] Read 8192 bytes of print data...
D [15/Apr/2021:17:02:32 +0200] [Job 577] Wrote 8192 bytes of print data...
D [15/Apr/2021:17:02:32 +0200] [Job 577] Read 8192 bytes of print data...
D [15/Apr/2021:17:02:33 +0200] [Job 577] Wrote 8192 bytes of print data...
I [15/Apr/2021:17:02:33 +0200] Expiring subscriptions...
D [15/Apr/2021:17:02:33 +0200] [Job 577] Read 3094 bytes of print data...
D [15/Apr/2021:17:02:33 +0200] [Job 577] Wrote 3094 bytes of print data...
D [15/Apr/2021:17:02:33 +0200] [Job 577] Sent 76822 bytes...
D [15/Apr/2021:17:02:33 +0200] [Job 577] Waiting for read thread to exit...
D [15/Apr/2021:17:02:33 +0200] [Job 577] PID 792 (/usr/lib/cups/backend/usb) exited with no errors.
D [15/Apr/2021:17:02:33 +0200] [Job 577] time-at-completed=1618498953
D [15/Apr/2021:17:02:33 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:33 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
I [15/Apr/2021:17:02:33 +0200] [Job 577] Job completed.
I [15/Apr/2021:17:02:33 +0200] Expiring subscriptions...
D [15/Apr/2021:17:02:33 +0200] cupsdMarkDirty(---J-)
D [15/Apr/2021:17:02:33 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:33 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:33 +0200] cupsdMarkDirty(----S)
D [15/Apr/2021:17:02:33 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:33 +0200] cupsdMarkDirty(---J-)
D [15/Apr/2021:17:02:33 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Apr/2021:17:02:33 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:33 +0200] [Notifier] JobCompleted
D [15/Apr/2021:17:02:33 +0200] [Notifier] state=3
D [15/Apr/2021:17:02:33 +0200] [Notifier] PrinterStateChanged
I [15/Apr/2021:17:02:34 +0200] Expiring subscriptions...
D [15/Apr/2021:17:02:34 +0200] [Job 577] Unloading...
I [15/Apr/2021:17:02:44 +0200] Saving job.cache...
I [15/Apr/2021:17:02:44 +0200] Saving subscriptions.conf...
D [15/Apr/2021:17:02:44 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Printing jobs and dirty files"
I [15/Apr/2021:17:02:44 +0200] Expiring subscriptions...
D [15/Apr/2021:17:02:44 +0200] Report: clients=3
D [15/Apr/2021:17:02:44 +0200] Report: jobs=122
D [15/Apr/2021:17:02:44 +0200] Report: jobs-active=0
D [15/Apr/2021:17:02:44 +0200] Report: printers=2
D [15/Apr/2021:17:02:44 +0200] Report: stringpool-string-count=6291
D [15/Apr/2021:17:02:44 +0200] Report: stringpool-alloc-bytes=18976
D [15/Apr/2021:17:02:44 +0200] Report: stringpool-total-bytes=124672
I [15/Apr/2021:17:06:42 +0200] Expiring subscriptions...
D [15/Apr/2021:17:06:42 +0200] cupsdAddCert: Adding certificate for PID 0
D [15/Apr/2021:17:06:42 +0200] Closing client 2 after 300 seconds of inactivity.
D [15/Apr/2021:17:06:42 +0200] [Client 2] Closing connection.
D [15/Apr/2021:17:06:42 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"

image

Dynamic length

Great project and it works really well.

Is it possible to make the printer cut dynamic lengths depending on the text length?

Printing delay

After starting a print job it needs about 2 seconds until the printer feeds the paper and start printing.

I was agree with that because i am so happy about your work!
After a new installation (new RPi) i did a mistake. I don't know how i did but I add the TM88 to cups with a different driver - "Loacal Raw Printer". That happen that printer start print MUCH faster. But it print raw. The postscripted barcode come out as pure text - not as pictured barcode and no cut happen after print.

To be sure that the printer is not the slowing machine while processing the postscript file, i tried both driver with "hello world" text.

The same effect:
Your driver needs about3 second to print.
The raw printer driver start immediately to print.

is there an option to make start prints faster?

Best regards and thump up for your great work! thank you

Work with this?

Hi, how i can help to build this and check the program?, sorry but i'am spanish and my english is very poor.

Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.