LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-17-2020, 02:30 AM   #1
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Rep: Reputation: 28
Printer will only print a page at a time on Fedora cinnamon.


Printer will only print a page at a time on Fedora cinnamon.

I enter 10 in the number of pages to print it only prints one page.

Whatever I write in the field a or b or c it only prints one page.

Any ideas.
 
Old 03-17-2020, 06:56 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,802

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Does this happen regardless of the application? Please share more details about your printer and driver...
Code:
lpstat -t
Code:
egrep -i "name|model|filter" /etc/cups/ppd/*
 
Old 03-17-2020, 09:14 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Take a look at /var/log/cups. One of the log files there might provide some hints as to what's happening.

If your printer has a menu dialog, you might also want to look there. Admittedly, this is a shot in the dark, but it's likely worth checking.
 
Old 03-18-2020, 02:07 AM   #4
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by ferrari View Post
Does this happen regardless of the application? Please share more details about your printer and driver...
Code:
lpstat -t
Whatever document I try

[root@localhost includes]# lpstat -t
scheduler is running
system default destination: EPSON-XP-640-Series
device for EPSON-XP-640-Series: usb://EPSON/XP-640%20Series?serial=583245343032343072&interface=1
device for EPSON-XP-640-Series-2: usb://EPSON/XP-640%20Series?serial=583245343032343072&interface=1
device for XP-640-Series: usb://EPSON/XP-640%20Series?serial=583245343032343072&interface=1
EPSON-XP-640-Series accepting requests since Fri 13 Mar 2020 06:11:52 GMT
EPSON-XP-640-Series-2 accepting requests since Fri 13 Mar 2020 15:44:21 GMT
XP-640-Series accepting requests since Fri 13 Mar 2020 11:00:50 GMT
printer EPSON-XP-640-Series disabled since Fri 13 Mar 2020 06:11:52 GMT -
Rendering completed
printer EPSON-XP-640-Series-2 is idle. enabled since Fri 13 Mar 2020 15:44:21 GMT
printer XP-640-Series is idle. enabled since Fri 13 Mar 2020 11:00:50 GMT
EPSON-XP-640-Series-42 gina 26624 Fri 13 Mar 2020 06:14:16 GMT
EPSON-XP-640-Series-42 gina 26624 Fri 13 Mar 2020 06:14:16 GMT
many more here " " "
EPSON-XP-640-Series-197 gina 46080 Sun 15 Mar 2020 03:36:05 GMT
[root@localhost includes]#
 
Old 03-18-2020, 02:12 AM   #5
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by ferrari View Post
Code:
egrep -i "name|model|filter" /etc/cups/ppd/*
[root@localhost includes]# egrep -i "name|model|filter" /etc/cups/ppd/*
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*PCFileName: "STP04957.PPD"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*ModelName: "Epson XP-15000 Series"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*ShortNickName: "Epson XP-15000 Series"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*NickName: "Epson XP-15000 Series - CUPS+Gutenprint v5.3.3 Simplified"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*cupsFilter: "application/vnd.cups-raster 100 rastertogutenprint.5.3"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*cupsFilter: "application/vnd.cups-command 33 commandtoepson"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*StpDriverName: "escp2-xp15000"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*StpDriverModelFamily: "132_escp2"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*StpPPDLocation: "/usr/share/cups/model/gutenprint/5.3/C/ppd/stp-escp2-xp15000.5.3.sim.ppd"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*ColorKeyWords: "ColorModel"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*OpenUI *ColorModel/Color Model: PickOne
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*OPOptionHints ColorModel: "radiobuttons"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*OrderDependency: 2 AnySetup *ColorModel
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*DefaultColorModel: RGB
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*StpDefaultColorModel: RGB
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*ColorModel Gray/Grayscale: "<</cupsColorSpace 0/cupsColorOrder 0/cupsBitsPerColor 8/cupsPreferredBitsPerColor 16>>setpagedevice"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*ColorModel Black/Inverted Grayscale: "<</cupsColorSpace 3/cupsColorOrder 0/cupsBitsPerColor 8/cupsPreferredBitsPerColor 16>>setpagedevice"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*ColorModel RGB/RGB Color: "<</cupsColorSpace 1/cupsColorOrder 0/cupsBitsPerColor 8/cupsPreferredBitsPerColor 16>>setpagedevice"
loads more
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*zh_TW.ColorModel KCMY/KCMY: ""
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*PCFileName: "STP04953.PPD"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*ModelName: "Epson Expression Home XP-820"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*ShortNickName: "Epson Expression Home XP-820"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*NickName: "Epson Expression Home XP-820 - CUPS+Gutenprint v5.3.3 Simplified"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*cupsFilter: "application/vnd.cups-raster 100 rastertogutenprint.5.3"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*cupsFilter: "application/vnd.cups-command 33 commandtoepson"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*StpDriverName: "escp2-xp820"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*StpDriverModelFamily: "91_escp2"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*StpPPDLocation: "/usr/share/cups/model/gutenprint/5.3/C/ppd/stp-escp2-xp820.5.3.sim.ppd"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*ColorKeyWords: "ColorModel"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*OpenUI *ColorModel/Color Model: PickOne
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*OPOptionHints ColorModel: "radiobuttons"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*OrderDependency: 2 AnySetup *ColorModel
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*DefaultColorModel: RGB
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*StpDefaultColorModel: RGB
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*ColorModel Gray/Grayscale: "<</cupsColorSpace 0/cupsColorOrder 0/cupsBitsPerColor 8/cupsPreferredBitsPerColor 16>>setpagedevice"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*ColorModel Black/Inverted Grayscale: "<</cupsColorSpace 3/cupsColorOrder 0/cupsBitsPerColor 8/cupsPreferredBitsPerColor 16>>setpagedevice"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*ColorModel RGB/RGB Color: "<</cupsColorSpace 1/cupsColorOrder 0/cupsBitsPerColor 8/cupsPreferredBitsPerColor 16>>setpagedevice"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*ColorModel CMY/CMY Color: "<</cupsColorSpace 4/cupsColorOrder 0/cupsBitsPerColor 8/cupsPreferredBitsPerColor 16>>setpagedevice"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*ColorModel CMYK/CMYK: "<</cupsColorSpace 6/cupsColorOrder 0/cupsBitsPerColor 8/cupsPreferredBitsPerColor 16>>setpagedevice"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*ColorModel KCMY/KCMY: "<</cupsColorSpace 8/cupsColorOrder 0/cupsBitsPerColor 8/cupsPreferredBitsPerColor 16>>setpagedevice"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*CloseUI: *ColorModel
loads more
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*zh_TW.ColorModel KCMY/KCMY: ""
/etc/cups/ppd/XP-640-Series.ppd:*% "foomatic-rip" backend filter script of Foomatic 4.0.0 or newer. This
/etc/cups/ppd/XP-640-Series.ppd:*PCFileName: "EPSON.PPD"
/etc/cups/ppd/XP-640-Series.ppd:*cupsModelNumber: 2
/etc/cups/ppd/XP-640-Series.ppd:*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip"
/etc/cups/ppd/XP-640-Series.ppd:*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip"
/etc/cups/ppd/XP-640-Series.ppd:*ModelName: "Generic ESC/P Dot Matrix Printer"
/etc/cups/ppd/XP-640-Series.ppd:*ShortNickName: "Generic ESC/P Dot M. Pri. epson"
/etc/cups/ppd/XP-640-Series.ppd:*NickName: "Generic ESC/P Dot Matrix Printer Foomatic/epson (recommended)"
/etc/cups/ppd/XP-640-Series.ppd:*driverName epson: ""
[root@localhost includes]#

Have made it shorter but cannot see anything wrong.

Thanks for your help.
 
Old 03-18-2020, 02:20 AM   #6
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by frankbell View Post
Take a look at /var/log/cups. One of the log files there might provide some hints as to what's happening.

If your printer has a menu dialog, you might also want to look there. Admittedly, this is a shot in the dark, but it's likely worth checking.
This CUPS log has been moved into journal by default unless changes have been made in /etc/cups/cups-files.conf. Log messages can be got by "$ journalctl -u cups -e"
This CUPS log has been moved into journal by default unless changes have been made in /etc/cups/cups-files.conf. Log messages can be got by "$ journalctl -u cups -e"

[root@localhost includes]# journalctl -u cups -e
Mar 17 20:25:40 localhost.localdomain cupsd[1133]: Bad File number 1 on line 74>
Mar 17 20:25:40 localhost.localdomain cupsd[1133]: Bad File number 1 on line 76>
Mar 17 20:25:40 localhost.localdomain cupsd[1133]: Bad File number 1 on line 79>
Mar 17 20:25:40 localhost.localdomain cupsd[1133]: Bad File number 1 on line 81>
Mar 17 20:25:40 localhost.localdomain cupsd[1133]: Bad File number 1 on line 84>
Mar 17 20:25:40 localhost.localdomain cupsd[1133]: Bad File number 1 on line 87>
Mar 17 20:25:40 localhost.localdomain cupsd[1133]: Bad File number 1 on line 10>
Mar 17 20:25:40 localhost.localdomain systemd[1]: Started CUPS Scheduler.
Mar 17 20:25:47 localhost.localdomain cupsd[1133]: REQUEST localhost - - "POST >
Mar 17 20:25:58 localhost.localdomain cupsd[1133]: REQUEST localhost - - "POST >
Mar 17 20:26:06 localhost.localdomain cupsd[1133]: REQUEST localhost - - "POST >
Mar 17 20:26:06 localhost.localdomain cupsd[1133]: REQUEST localhost - - "POST >
Mar 17 21:24:18 localhost.localdomain cupsd[1133]: REQUEST localhost - - "POST >
Mar 17 22:22:38 localhost.localdomain cupsd[1133]: REQUEST localhost - - "POST >
Mar 17 23:20:58 localhost.localdomain cupsd[1133]: REQUEST localhost - - "POST >
Mar 18 00:19:18 localhost.localdomain cupsd[1133]: REQUEST localhost - - "POST >
Mar 18 01:17:38 localhost.localdomain cupsd[1133]: REQUEST localhost - - "POST >
Mar 18 02:15:58 localhost.localdomain cupsd[1133]: REQUEST localhost - - "POST >
Mar 18 03:14:18 localhost.localdomain cupsd[1133]: REQUEST localhost - - "POST >
Mar 18 04:12:38 localhost.localdomain cupsd[1133]: REQUEST localhost - - "POST >
Mar 18 05:10:58 localhost.localdomain cupsd[1133]: REQUEST localhost - - "POST >
Mar 18 06:09:18 localhost.localdomain cupsd[1133]: REQUEST localhost - - "POST >
Mar 18 07:07:38 localhost.localdomain cupsd[1133]: REQUEST localhost - - "POST >
lines 992-1014/1014 (END)

That bad file number might be because I was putting a b c text in
 
Old 03-18-2020, 02:26 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by bscho View Post
root@localhost
Don't be root if you don't have to.
 
Old 03-18-2020, 03:16 AM   #8
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,802

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Ok, first you should enclose requested commands and output within CODE tags. (Refer to the '#' button in the advanced forum editor.)

The output you shared shows that you have 3 printers defined. Likely not intentional and possibly as a result of trying different drivers while configuring?
Code:
device for EPSON-XP-640-Series: usb://EPSON/XP-640%20Series?serial=583245343032343072&interface=1
device for EPSON-XP-640-Series-2: usb://EPSON/XP-640%20Series?serial=583245343032343072&interface=1
device for XP-640-Series: usb://EPSON/XP-640%20Series?serial=583245343032343072&interface=1
The .ppd grep shows that the first two printer configs are using the gutenprint driver but for two different models...
Code:
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*PCFileName: "STP04953.PPD"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*ModelName: "Epson Expression Home XP-820"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*ShortNickName: "Epson Expression Home XP-820"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*NickName: "Epson Expression Home XP-820 - CUPS+Gutenprint v5.3.3 Simplified"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*cupsFilter: "application/vnd.cups-raster 100 rastertogutenprint.5.3"
/etc/cups/ppd/EPSON-XP-640-Series.ppd:*StpDriverName: "escp2-xp820"
and
Code:
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*PCFileName: "STP04957.PPD"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*ModelName: "Epson XP-15000 Series"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*ShortNickName: "Epson XP-15000 Series"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*NickName: "Epson XP-15000 Series - CUPS+Gutenprint v5.3.3 Simplified"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*cupsFilter: "application/vnd.cups-raster 100 rastertogutenprint.5.3"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*cupsFilter: "application/vnd.cups-command 33 commandtoepson"
/etc/cups/ppd/EPSON-XP-640-Series-2.ppd:*StpDriverName: "escp2-xp15000"
The third (XP-640-Series) is disabled and was configured to use a foomatic-rip driver.

It may well be that you are not using a PPD appropriate for your particular model.

Last edited by ferrari; 03-19-2020 at 04:46 PM.
 
Old 03-18-2020, 08:51 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Quote:
This CUPS log has been moved into journal by default
Quite correct, but most SystemD-using distros that I've used include rsyslog, which pipes journald messages into the traditional log format under /var/log.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session." xxxindigo Linux Mint 22 09-01-2019 09:21 AM
Can print from Windows to CUPS printer. Cannot print from Windows to Samba printer. PastorJeremyWilson Linux - Server 9 09-24-2018 02:11 PM
HL 1430 printer installed on SUSE 10.1 yet will only print test page or from Gedit dooda01 Linux - Hardware 0 05-14-2006 03:29 AM
printer print only the first page for FC2 powah Linux - General 1 02-02-2006 01:53 PM
RH & HP4050N PCL - page, pause, page, pause, page andguent Linux - Hardware 0 11-10-2003 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration