[cups] cups Digest, Vol 103, Issue 4

nreynders6 nreynders6 at gmail.com
Wed Dec 14 23:13:35 PST 2022


Unsubscribe Sent from my Galaxy
-------- Original message --------From: cups-request at cups.org Date: 2022/12/14  22:00  (GMT+02:00) To: cups at cups.org Subject: cups Digest, Vol 103, Issue 4 Send cups mailing list submissions to	cups at cups.orgTo subscribe or unsubscribe via the World Wide Web, visit	https://lists.cups.org/mailman/listinfo/cupsor, via email, send a message with subject or body 'help' to	cups-request at cups.orgYou can reach the person managing the list at	cups-owner at cups.orgWhen replying, please edit your Subject line so it is more specificthan "Re: Contents of cups digest..."Today's Topics:   1. Re: Problem with cups selecting manual tray on HP laserjet      (Steinar Bang)   2. Re: Problem with cups selecting manual tray on HP laserjet      (Steinar Bang)   3. Re: Problem with cups selecting manual tray on HP laserjet      (Helge Blischke)   4. Problems printing two files in one job (Claus Tøndering)   5. controlling media size / paper tray selection when printing      to a class (Gary Dale)----------------------------------------------------------------------Message: 1Date: Wed, 14 Dec 2022 00:01:26 +0100From: Steinar Bang <sb at dod.no>To: cups at cups.orgSubject: Re: [cups] Problem with cups selecting manual tray on HP	laserjetMessage-ID: <871qp2zz5l.fsf at dod.no>Content-Type: text/plain; charset=utf-8>>>>> Helge Blischke <helgeblischke-S0/GAf8tV78 at public.gmane.org>:> Well, from HP there is no hope to get diagnostics without having the real printer ready.> So, I’d suggest you do the following:> —	execute > 	cupsctl —debug-loggingOk, done!root at marquez:~# /usr/sbin/cupsctl --debug-loggingroot at marquez:~# > —	print a test job to your printer> 	and save the job ID (up top 5 digits, I think).The id was HP_Color_LaserJet_Pro_M252dw_501595_-13 so presumably "13"was the number> —	select all the lines containing  > 	Job nnnn> 	(where nnnn is the jib ID mentioned above; the space between Job and nnnn> 	is mandatory)Here are all error_log entries starting with 13/ : https://gist.github.com/steinarb/7ab8d472b82f1c42b3864a759ede827a> —	The resulting text might be quite large; you could send it off the list to me.> 	I then  can check which printer settings the printer sends to cups.Well, a gist seemed appropriate...:-)> Note that the „driverless“ setup (from openprinting.org <http://openprinting.org/>) reduces the possible> PDLs to URF, PWGRQASTER,, PDF (and a bitmap only PDF variant); no PostScript.Ahh, so that's the wrong driver to use.  I was kind of hoping this meantit would got PS all the way.What's the best driver to use for a dual side printing color nativePostScript printer?Thanks for looking into this! :-)------------------------------Message: 2Date: Wed, 14 Dec 2022 00:12:20 +0100From: Steinar Bang <sb at dod.no>To: cups at cups.orgSubject: Re: [cups] Problem with cups selecting manual tray on HP	laserjetMessage-ID: <87wn6uyk2z.fsf at dod.no>Content-Type: text/plainNow here's a weird thing: this time the printer picked the paper fromthe regular tray, instead of waiting for a sheet to be fed into themanual slot.So the result was waiting for me when I got down.Yesterday it didn't work.Today it does.I have made no changes on the GNU/linux side. Ie. no config changes andno updates.Well, at least: no changes except "cupsctl --debug-logging"But I have printed to the printer from a windows machine, with tray 2explicitly selected.Is it possible that that printing changed the printer somehow?Or is it black magic...?(And... will it go back to expecting paper to be fed from the manualslot when it's least convenient that it does so...?)------------------------------Message: 3Date: Wed, 14 Dec 2022 11:58:29 +0100From: Helge Blischke <helgeblischke at web.de>To: "The CUPS user discussion list." <cups at cups.org>Subject: Re: [cups] Problem with cups selecting manual tray on HP	laserjetMessage-ID: <378792E9-BB77-40BC-B3C8-D28F29235C15 at web.de>Content-Type: text/plain;	charset=utf-8Thanks for the pretty long list. In alll the attribute listings therein, I didn’t find anything concerning the input bin(s),and even the job options listed didn’t mention the input bin or things like „manual feed“.But the several instances denoting the PPD generation only stated that the printer’s PPD has beengenerated fromm the IPP attributes requested from the printer, but no details.Even when looking into the sources from cups-browsed and the driverless utility (using a fairly recent source) I found nothing concerning the input bin(s).To shorten the procedure, could you please do the following:—	shut down the printer, so that the printer queue and the printer’s PPD get deleted by cups.—	switch on the printer again	and possibly print a test file—	save the printer’s PPD /from /etc/cups/ppd/HP_Color_Laserjet_Pro_M252dw_nnnn_.ppd)	where nnnn is a ID number generated by the PPD generator	and send it to me.Helge> Am 14.12.2022 um 00:12 schrieb Steinar Bang <sb at dod.no>:> > Now here's a weird thing: this time the printer picked the paper from> the regular tray, instead of waiting for a sheet to be fed into the> manual slot.> > So the result was waiting for me when I got down.> > Yesterday it didn't work.> > Today it does.> > I have made no changes on the GNU/linux side. Ie. no config changes and> no updates.> > Well, at least: no changes except "cupsctl --debug-logging"> > But I have printed to the printer from a windows machine, with tray 2> explicitly selected.> > Is it possible that that printing changed the printer somehow?> > Or is it black magic...?> > (And... will it go back to expecting paper to be fed from the manual> slot when it's least convenient that it does so...?)> _______________________________________________> cups mailing list> cups at cups.org> https://lists.cups.org/mailman/listinfo/cups------------------------------Message: 4Date: Wed, 14 Dec 2022 13:32:25 +0100From: Claus Tøndering <claus at tondering.dk>To: cups at cups.orgSubject: [cups] Problems printing two files in one jobMessage-ID: <186be2ee-5fd0-8b6e-4b5b-21f80a531198 at tondering.dk>Content-Type: text/plain; charset=UTF-8; format=flowedI have an HP OfficeJet Pro 6970 printer. I'm running CUPS 2.4.1 on Ubuntu 22.04.1 LTS.My problem is that I cannot get CUPS to print two files as one job. I try to print two files from the command line thus:     $ lp alpha.txt beta.txtThe lpq command gives this output:     $ lpq     HP_OfficeJet_Pro_6970_7BE7A4 is ready     Rank    Owner   Job     File(s)                         Total Size     1st     claus   62      alpha.txt                       2048 bytesHere, it mentions only the file alpha.txt. However, only the file beta.txt is actually printed. alpha.txt is not printed.When I use lp to print more than one file, these messages appear the /var/log/cups/error_log:    W [13/Dec/2022:16:58:28 +0100] [Job 62] /tmp/126c463a5b414: file is damaged    W [13/Dec/2022:16:58:28 +0100] [Job 62] /tmp/126c463a5b414 (offset 14802): xref not found    W [13/Dec/2022:16:58:28 +0100] [Job 62] /tmp/126c463a5b414: Attempting to reconstruct cross-reference tableThe first digits of the filename (in this case 126c4) appear to always be the hexadecimal value of the PID of the gstoraster CUPS filter that runs as part of the printing process.I've enabled debugging, and the resulting error log (366KB) can be downloaded here:https://www.dropbox.com/s/fe7oruwlek1p1rz/lperror_log.txt?dl=0What is the problem here, and why is only one file printed?Until recently, I used CUPS 2.3.1 on Ubuntu 20.04 LTS. I had the same problem then. I did a complete reinstall of everything, but my present system (CUPS 2.4.1 on Ubuntu 22.04.1 LTS) still has the problem.This is not a very big problem for me. I can always print the files as separate jobs, but something must be wrong nevertheless.Thanks for any help./Claus------------------------------Message: 5Date: Wed, 14 Dec 2022 10:48:40 -0500From: Gary Dale <gary at extremeground.com>To: cups at cups.orgSubject: [cups] controlling media size / paper tray selection when	printing to a classMessage-ID: <cb974fe3-cec6-e597-892b-201a4152ab9f at extremeground.com>Content-Type: text/plain; charset=UTF-8; format=flowedI'm running Debian/Bookworm on an AMD64 system.I've got a script that prints to class queue - "photo" - which has 3 actual photo printers in it. The printers are all different except that they are made by Epson. One is an old R300, the second is an XP-820 and the third is an XP-6100. The first just has one paper feed while the other two should be auto-selecting the tray based on media.I have a script that controls a camera to take and download a picture then rotate and crop it before sending it to the printer (size according to GIMP is 4" x 6" @600dpi). This worked fine until I added the third printer and bought a new laptop.The old R300 uses a CUPS+Gutenprint driver while the XP-820 used the Epson Inkjet Printer Driver (ESC/P-R) for Linux - which somehow survived upgrading over the years. However when I installed Linux on the new laptop, I had to install Debian/Bookworm - Debian/Bullseye had too many issues. I've got the CUPS+Gutenprint driver now because the Epson drivers wouldn't install. For some reason photos printed on the XP-820 with the new driver are distinctly yellowy.The real problem however is the XP-6100, which doesn't have a Linux driver so I installed it as an ipps (IPP Anywhere) printer. It prints a beautiful CUPS test page on Letter and 4x6.borderless photo paper. However when I print a photo to it, it insists on printing on letter size paper - scaling the photo up to file the page.The CUPS default options are "4x6.borderless" glossy photo paper printing cropped to fit. However, when I send a photo to it using     lpr -P photo <photo name>.jpegwhich works on the other two printers, I get letter-size output. Even if I remove the paper from the letter-size tray, it still wants to print from it.I thought of adding a paper size definition to the lpr command but the first two printers (in their PPDs) have a "4x6" size for borderless printing while the XP-6100 uses "4x6.Borderless" - the "4x6" size has a border. That would mean I didn't get the same output from all three printers.Can anyone suggest a way I can get all three printers to print the same?------------------------------Subject: Digest Footer_______________________________________________cups mailing listcups at cups.orghttps://lists.cups.org/mailman/listinfo/cups------------------------------End of cups Digest, Vol 103, Issue 4************************************


More information about the cups mailing list