Bug#1008175: closed by Brian Potkin (Re: Bug#1008175: -o sides=two-sided-long-edge always prints one-sided with lp & lpr)
One additional thing I did not check is the firmware for the printer to see if any updates. Will check this first then will get back to you. My script is for creating a .pdf file from a C source file and auto printing it duplex, then deleting the file,, so yes, this is important for me. Thank you! Cheers! Rick -- Rick Stanley (917) 822-7771 www.rsiny.com Computer Consulting Linux & Open Source Specialist On Mar 28, 2022, 11:09 AM, at 11:09 AM, Debian Bug Tracking System wrote: >This is an automatic notification regarding your Bug report >which was filed against the cups-bsd package: > >#1008175: "-o sides=two-sided-long-edge always prints one-sided with lp >& lpr" > >It has been closed by Brian Potkin . > >Their explanation is attached below along with your original report. >If this explanation is unsatisfactory and you have not received a >better one in a separate message then please contact Brian Potkin > by >replying to this email. > > >-- >1008175: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008175 >Debian Bug Tracking System >Contact ow...@bugs.debian.org with problems > > > > >From: Brian Potkin >To: 1008175-d...@bugs.debian.org >Sent: Mon Mar 28 11:08:22 EDT 2022 >Subject: Re: Bug#1008175: -o sides=two-sided-long-edge always prints >one-sided with lp & lpr > >On Mon 28 Mar 2022 at 06:10:37 -0500, r...@scotsgeek.com wrote: > >> Thanks! Please see the attached. >> >> As regular user: >> ipptool -tv >> "ipps://HP%20LaserJet%20Pro%20M148fdw%20(6CA573)._ipps._tcp.local/" >> get-printer-attributes.test > attributes.txt > >Thank you, Rick. > >All the information you gave has helped upstream to come to the >decision that the issue is a firmware bug. Debian has nowhere to >go with this so I am closing the report. Sorry it did not work >out. > >If using lp/lpr is still something you would like to do, I can >guide you through setting up another print queue that should work. > >Cheers, > >Brian. > > > >From: Rick Stanley >To: Debian Bug Tracking System >Sent: Wed Mar 23 12:33:24 EDT 2022 >Subject: cups-bsd: lp & lpr options sides=one-sided and >sides=two-sided-long-edge are reversed. one-sided prints duplex >(Two-sided) and vice-versa > >Package: cups-bsd >Version: 2.3.3op2-3+deb11u1 >Severity: normal >X-Debbugs-Cc: r...@scotsgeek.com > >Dear Maintainer, > >*** Reporter, please consider answering these questions, where >appropriate *** > > * What led up to the situation? >My script containing "lpr -o sides=two-sided-long-edge test.pdf" that >used to work now does not. The same for lp > * What exactly did you do (or not do) that was effective (or > ineffective)? > had to temporarily use the oposite option > * What was the outcome of this action? > Using sides=one-sided prints duplex as I need > * What outcome did you expect instead? > should have been able to use sides=two-sided-long-edge as it should! > >*** End of the template - remove these template lines *** > > >-- System Information: >Debian Release: 11.2 > APT prefers stable-updates >APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, >'stable') >Architecture: amd64 (x86_64) > >Kernel: Linux 5.10.0-12-amd64 (SMP w/4 CPU threads) >Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), >LANGUAGE not set >Shell: /bin/sh linked to /usr/bin/dash >Init: systemd (via /run/systemd/system) >LSM: AppArmor: enabled > >Versions of packages cups-bsd depends on: >ii cups-client2.3.3op2-3+deb11u1 >ii cups-common2.3.3op2-3+deb11u1 >ii debconf [debconf-2.0] 1.5.77 >ii libc6 2.31-13+deb11u2 >ii libcups2 2.3.3op2-3+deb11u1 > >cups-bsd recommends no packages. > >Versions of packages cups-bsd suggests: >ii cups2.3.3op2-3+deb11u1 >pn inetutils-inetd | inet-superserver >ii update-inetd4.51 > >-- debconf information: > cups-bsd/setuplpd: false
Bug#1008175: marked as done ("-o sides=two-sided-long-edge always prints one-sided with lp & lpr")
Your message dated Mon, 28 Mar 2022 16:08:22 +0100 with message-id <28032022154012.5a86bf6bb...@desktop.copernicus.org.uk> and subject line Re: Bug#1008175: -o sides=two-sided-long-edge always prints one-sided with lp & lpr has caused the Debian Bug report #1008175, regarding "-o sides=two-sided-long-edge always prints one-sided with lp & lpr" to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 1008175: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008175 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: cups-bsd Version: 2.3.3op2-3+deb11u1 Severity: normal X-Debbugs-Cc: r...@scotsgeek.com Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? My script containing "lpr -o sides=two-sided-long-edge test.pdf" that used to work now does not. The same for lp * What exactly did you do (or not do) that was effective (or ineffective)? had to temporarily use the oposite option * What was the outcome of this action? Using sides=one-sided prints duplex as I need * What outcome did you expect instead? should have been able to use sides=two-sided-long-edge as it should! *** End of the template - remove these template lines *** -- System Information: Debian Release: 11.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-12-amd64 (SMP w/4 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages cups-bsd depends on: ii cups-client2.3.3op2-3+deb11u1 ii cups-common2.3.3op2-3+deb11u1 ii debconf [debconf-2.0] 1.5.77 ii libc6 2.31-13+deb11u2 ii libcups2 2.3.3op2-3+deb11u1 cups-bsd recommends no packages. Versions of packages cups-bsd suggests: ii cups2.3.3op2-3+deb11u1 pn inetutils-inetd | inet-superserver ii update-inetd4.51 -- debconf information: cups-bsd/setuplpd: false --- End Message --- --- Begin Message --- On Mon 28 Mar 2022 at 06:10:37 -0500, r...@scotsgeek.com wrote: > Thanks! Please see the attached. > > As regular user: > ipptool -tv > "ipps://HP%20LaserJet%20Pro%20M148fdw%20(6CA573)._ipps._tcp.local/" > get-printer-attributes.test > attributes.txt Thank you, Rick. All the information you gave has helped upstream to come to the decision that the issue is a firmware bug. Debian has nowhere to go with this so I am closing the report. Sorry it did not work out. If using lp/lpr is still something you would like to do, I can guide you through setting up another print queue that should work. Cheers, Brian.--- End Message ---
Bug#1008175: -o sides=two-sided-long-edge always prints one-sided with lp & lpr
Thanks! Please see the attached. As regular user: ipptool -tv "ipps://HP%20LaserJet%20Pro%20M148fdw%20(6CA573)._ipps._tcp.local/" get-printer-attributes.test > attributes.txt Cheers! Rick On 2022-03-28 05:24, Brian Potkin wrote: forwarded 1008175 https://github.com/OpenPrinting/cups/issues/359 tags 1008175 - moreinfo upstream retitle 1008175 "-o sides=two-sided-long-edge always prints one-sided with lp & lpr" thanks On Sun 27 Mar 2022 at 18:33:37 -0500, r...@scotsgeek.com wrote: Brian: > > PRINT_QUEUE_NAME is the actual name of the queue as given in Okular or > > by 'lpstat -a'. Sorry! Was out at a pub with a friend before responding! Should have waited! ;^) The pub sounds the best of ideas :). driverless ipps://HP%20LaserJet%20Pro%20M148fdw%20(6CA573)._ipps._tcp.local/ As root: lpadmin -p testq -v "ipps://HP%20LaserJet%20Pro%20M148fdw%20(6CA573)._ipps._tcp.local/" -E -m everywhere as regular user: lp -d testq -o sides=two-sided-long-edge lipsum.txt.pdf Still printed single-sided I have forwarded your report to upstream CUPS. One further piece of information that could prove useful is attribures.txt. Obtain it with ipptool -tv "URI" get-printer-attributes.test > attributes.txt and attach it to your next mail here. Cheers, Brian. "/usr/share/cups/ipptool/get-printer-attributes.test": Get-Printer-Attributes: attributes-charset (charset) = utf-8 attributes-natural-language (naturalLanguage) = en printer-uri (uri) = ipps://NPI6CA573.local:631/ipp/print requested-attributes (1setOf keyword) = all,media-col-database Get printer attributes using get-printer-attributes [PASS] RECEIVED: 373123 bytes in response status-code = successful-ok (successful-ok) attributes-charset (charset) = utf-8 attributes-natural-language (naturalLanguage) = en printer-uri-supported (1setOf uri) = ipp://NPI6CA573.local/ipp/print,ipps://NPI6CA573.local/ipp/print uri-security-supported (1setOf keyword) = none,tls uri-authentication-supported (1setOf keyword) = requesting-user-name,requesting-user-name printer-name (nameWithoutLanguage) = NPI6CA573 printer-location (textWithoutLanguage) = unitedStates printer-more-info (uri) = https://NPI6CA573.local/hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus printer-info (textWithoutLanguage) = HP LaserJet Pro M148fdw printer-make-and-model (textWithoutLanguage) = HP LaserJet Pro M148f-M149f printer-state (enum) = idle printer-state-reasons (keyword) = wifi-not-configured-report printer-state-message (textWithoutLanguage) = printer-state-change-time (integer) = 15061 printer-state-change-date-time (dateTime) = 2022-03-27T18:22:06Z ipp-versions-supported (1setOf keyword) = 1.0,1.1,2.0 mopria-certified (textWithoutLanguage) = 1.3 ipp-features-supported (keyword) = airprint-1.8 operations-supported (1setOf enum) = Print-Job,Print-URI,Validate-Job,Create-Job,Send-Document,Send-URI,Close-Job,Cancel-Job,Get-Job-Attributes,Get-Jobs,Get-Printer-Attributes,Identify-Printer multiple-document-jobs-supported (boolean) = false multiple-operation-time-out (integer) = 120 multiple-operation-time-out-action (keyword) = abort-job charset-configured (charset) = utf-8 charset-supported (charset) = utf-8 natural-language-configured (naturalLanguage) = en generated-natural-language-supported (naturalLanguage) = en document-format-default (mimeMediaType) = application/pdf document-format-supported (1setOf mimeMediaType) = image/urf,application/PCLm,application/octet-stream,application/pdf,application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,image/jpeg reference-uri-schemes-supported (1setOf uriScheme) = http,https printer-is-accepting-jobs (boolean) = true queued-job-count (integer) = 0 pdl-override-supported (keyword) = attempted printer-up-time (integer) = 23282 printer-current-time (dateTime) = 2022-03-28T05:45:13Z compression-supported (keyword) = none color-supported (boolean) = false page-ranges-supported (boolean) = true job-creation-attributes-supported (1setOf keyword) = copies,finishings,sides,orientation-requested,media,print-quality,printer-resolution,output-bin,media-col,output-mode,ipp-attribute-fidelity,job-name,multiple-document-handling,print-scaling,print-color-mode,print-content-optimize,manual-duplex-sheet-count,margins-pre-applied,pclm-source-resolution,job-mandatory-attributes,pdf-fit-to-page,page-ranges,overrides media-supported (1setOf keyword) = na_letter_8.5x11in,na_legal_8.5x14in,na_executive_7.25x10.5in,na_foolscap_8.5x13in,na_oficio_8.5x13.4in,na_index-4x6_4x6in,na_index-5x8_5x8in,iso_a4_210x297mm,iso_a5_148x210mm,iso_a6_105x148mm
Processed: Re: Bug#1008175: -o sides=two-sided-long-edge always prints one-sided with lp & lpr
Processing commands for cont...@bugs.debian.org: > forwarded 1008175 https://github.com/OpenPrinting/cups/issues/359 Bug #1008175 [cups-bsd] cups-bsd: lp & lpr options sides=one-sided and sides=two-sided-long-edge are reversed. one-sided prints duplex (Two-sided) and vice-versa Set Bug forwarded-to-address to 'https://github.com/OpenPrinting/cups/issues/359'. > tags 1008175 - moreinfo upstream Bug #1008175 [cups-bsd] cups-bsd: lp & lpr options sides=one-sided and sides=two-sided-long-edge are reversed. one-sided prints duplex (Two-sided) and vice-versa Removed tag(s) moreinfo. > retitle 1008175 "-o sides=two-sided-long-edge always prints one-sided with lp > & lpr" Bug #1008175 [cups-bsd] cups-bsd: lp & lpr options sides=one-sided and sides=two-sided-long-edge are reversed. one-sided prints duplex (Two-sided) and vice-versa Changed Bug title to '"-o sides=two-sided-long-edge always prints one-sided with lp & lpr"' from 'cups-bsd: lp & lpr options sides=one-sided and sides=two-sided-long-edge are reversed. one-sided prints duplex (Two-sided) and vice-versa'. > thanks Stopping processing here. Please contact me if you need assistance. -- 1008175: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008175 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#1008175: -o sides=two-sided-long-edge always prints one-sided with lp & lpr
forwarded 1008175 https://github.com/OpenPrinting/cups/issues/359 tags 1008175 - moreinfo upstream retitle 1008175 "-o sides=two-sided-long-edge always prints one-sided with lp & lpr" thanks On Sun 27 Mar 2022 at 18:33:37 -0500, r...@scotsgeek.com wrote: > Brian: > > > > PRINT_QUEUE_NAME is the actual name of the queue as given in Okular or > > > by 'lpstat -a'. > > Sorry! Was out at a pub with a friend before responding! Should have > waited! ;^) The pub sounds the best of ideas :). > driverless > ipps://HP%20LaserJet%20Pro%20M148fdw%20(6CA573)._ipps._tcp.local/ > > As root: > lpadmin -p testq -v > "ipps://HP%20LaserJet%20Pro%20M148fdw%20(6CA573)._ipps._tcp.local/" -E -m > everywhere > > as regular user: > lp -d testq -o sides=two-sided-long-edge lipsum.txt.pdf > > Still printed single-sided I have forwarded your report to upstream CUPS. One further piece of information that could prove useful is attribures.txt. Obtain it with ipptool -tv "URI" get-printer-attributes.test > attributes.txt and attach it to your next mail here. Cheers, Brian.