Can anyone analyze the cause of this problem?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1982551

Title:
  Print is failed via USB

Status in cups package in Ubuntu:
  New

Bug description:
  Phenomenon:
  After installing the driver (such as RICOH IM C6000 PS) via USB protocol, it 
can be printed at the first time, but after the second or multiple times, the 
job will be canceled.

  Comment:
  1.Wait a few minutes and the job still won't be printed.
  2.After unplugging in and plugging in the USB cable, the job can be printed
  3.The problem does not occur via network printing.
  4.Other systems (such as Windows, Mac OS) do not have this problem.

  Our analysis:
  1.We think that part of the data was lost via USB transmission

  2.In CUPS ErrorLog, the job has been delivered completely.
  (refer to error_log->[Job 313])
  D [21/Jul/2022:15:21:17 +0800] [Job 313] Starting renderer with command: 
\"printf \"%%!PS-Adobe-3.0
  D [21/Jul/2022:15:21:17 +0800] [Job 313] %%%%Title: 
(/home/rits/文档/17540黑白-2017.doc)
  D [21/Jul/2022:15:21:17 +0800] [Job 313] %%
  D [21/Jul/2022:15:21:17 +0800] [Job 313] 
%%\\n/lppswd()def\\n/usrcode()def\\n/sppswd()def\\nmark\\n/usrcode 
where{pop}{/usrcode()def}ifelse\\n(rits) usrcode (20`date +%y%m%d%R | sed 
\'s/://\'`) {setuserinfo} stopped\\ncleartomark\\nmark {\\n<<\\n /JobType 0\\n 
/JobInfo <<\\n /UserID (rits)\\n /Time (20`date +%y%m%d%R | sed \'s/://\'`)\\n 
/HostLoginName (rits)\\n /HostName (rits-OptiPlex-3010)\\n >>\\n>> 
/RDeviceProcSet /ProcSet findresource /SetJobType get exec\\n}stopped 
cleartomark\\nmark{\\nuserdict /RPS_BPdict 2 dict put\\nuserdict /RPS_BPdict 
get begin /RPS_BP_MEDIAPOSITION null def end\\n} stopped 
cleartomark\\nmark{\\nuserdict /RPS_BPdict get begin\\n/RPS_BP_MEDIATYPE (Auto) 
def end\\n} stopped cleartomark\\nmark{\\n<<\\n/BannerPageMode 
false\\n/MediaPosition null\\n/MediaType null\\n>>\\n/RDeviceProcSet\\n/ProcSet 
findresource\\n/SetBannerPage get exec\\n} stopped cleartomark\\n\"%%%%; cat;\"
  D [21/Jul/2022:15:21:17 +0800] [Job 313] Starting process \"kid3\" 
(generation 1)
  D [21/Jul/2022:15:21:17 +0800] [Job 313] Starting process \"kid4\" 
(generation 2)
  D [21/Jul/2022:15:21:17 +0800] [Job 313] Starting process \"renderer\" 
(generation 2)
  D [21/Jul/2022:15:21:17 +0800] [Job 313] JCL: \033%-12345X@PJL
  D [21/Jul/2022:15:21:17 +0800] [Job 313] <job data>
  …………
  I [21/Jul/2022:15:21:25 +0800] [Job 313] Job completed.

  3.However, I found an error on USB Request Block (URB) with Wireshark on 
Ubuntu 18.04
  [Error: undefined; Off fendingCommand: BPdict Flushing: rest of job (to end 
of file) will be ignored] appeared at [URB BULK IN]
  (refer to usb2.pcapng, snapshot.pn)

  4.We extracted the accepted data on the printer side, the data is really lost.
  (refer to prt00016.prn,
  prt00013.prn is the data of normal print)

  Description:  Ubuntu 18.04.5 LTS
  Release:      18.04
  CUPS 2.2.7

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: cups 2.2.7-1ubuntu2.9
  ProcVersionSignature: Ubuntu 5.4.0-122.138~18.04.1-generic 5.4.192
  Uname: Linux 5.4.0-122-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.28
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Jul 22 15:43:30 2022
  InstallationDate: Installed on 2022-07-05 (16 days ago)
  InstallationMedia: Ubuntu 18.04.5 LTS "Bionic Beaver" - Release amd64 
(20200806.1)
  MachineType: Dell Inc. OptiPlex 3010
  Papersize: a4
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-122-generic 
root=UUID=72470cc0-4db9-4b77-b9de-77d32b61feb5 ro quiet splash vt.handoff=1
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/16/2013
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A11
  dmi.board.name: 042P49
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A02
  dmi.chassis.type: 6
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA11:bd09/16/2013:svnDellInc.:pnOptiPlex3010:pvr01:rvnDellInc.:rn042P49:rvrA02:cvnDellInc.:ct6:cvr:
  dmi.product.name: OptiPlex 3010
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1982551/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to