LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mageia
User Name
Password
Mageia This forum is for the discussion of Mageia Linux.

Notices

Reply
 
Search this Thread
Old 07-29-2013, 07:43 PM   #1
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,728

Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
Printing ProblemHP L7680 All-in-One on Mageia 3


The printer is directly on the network with its own IP address and works fine with every other computer in the house.

It works fine with this computer under Windows and, previously, with Wubi and Mint 13, but I can't seem to get it to print with Mageia. I tried installing it using Mageia's own tools and with HPLIP several times. In both cases, it appears to be properly set up, but when I send a page to the printer, whether it's a test page or a page from a document, it pulls two sheets of paper, prints random text across the top of the first one, and feeds the second one through blank.

When I look at the cups logs, everything looks okay to my untrained eye. For example:

Code:
# tail -100 /var/log/cups/page_log
HP-Officejet-Pro-l7600 root 11 [29/Jul/2013:18:34:39 -0400] 1 1 - localhost Test Page - -
HP-Officejet-Pro-l7600 frankbell 12 [29/Jul/2013:18:35:40 -0400] 1 1 - localhost (stdin) - -
HP-Officejet-Pro-l7600 frankbell 13 [29/Jul/2013:19:45:01 -0400] 1 1 - localhost test.txt - -
Officejet_Pro_L7600 frankbell 14 [29/Jul/2013:19:48:28 -0400] 1 1 - localhost tmpw75pwU - -
HP-Officejet-Pro-l7600 frankbell 15 [29/Jul/2013:19:50:37 -0400] 1 1 - localhost HPR_Mageia - -
HP-Officejet-Pro-l7600 frankbell 16 [29/Jul/2013:20:07:56 -0400] 1 1 - localhost HPR_Mageia - -

# tail - /var/log/cups/error_log
==> standard input <==
                                                     <---I sent a page to the printer and no output appeared here.

# tail -10 /var/log/cups/page_log
HP-Officejet-Pro-l7600 root 11 [29/Jul/2013:18:34:39 -0400] 1 1 - localhost Test Page - -
HP-Officejet-Pro-l7600 frankbell 12 [29/Jul/2013:18:35:40 -0400] 1 1 - localhost (stdin) - -
HP-Officejet-Pro-l7600 frankbell 13 [29/Jul/2013:19:45:01 -0400] 1 1 - localhost test.txt - -
Officejet_Pro_L7600 frankbell 14 [29/Jul/2013:19:48:28 -0400] 1 1 - localhost tmpw75pwU - -
HP-Officejet-Pro-l7600 frankbell 15 [29/Jul/2013:19:50:37 -0400] 1 1 - localhost HPR_Mageia - -
HP-Officejet-Pro-l7600 frankbell 16 [29/Jul/2013:20:07:56 -0400] 1 1 - localhost HPR_Mageia - -

# tail -10 /var/log/cups/access_log
localhost - root [29/Jul/2013:19:48:15 -0400] "POST /admin/ HTTP/1.1" 200 345 CUPS-Add-Modify-Printer successful-ok
localhost - - [29/Jul/2013:19:48:16 -0400] "POST /admin/ HTTP/1.1" 401 1272 CUPS-Add-Modify-Printer successful-ok
localhost - root [29/Jul/2013:19:48:16 -0400] "POST /admin/ HTTP/1.1" 200 1272 CUPS-Add-Modify-Printer successful-ok
localhost - - [29/Jul/2013:19:48:28 -0400] "POST /printers/Officejet_Pro_L7600 HTTP/1.1" 200 323 Create-Job successful-ok
localhost - - [29/Jul/2013:19:48:28 -0400] "POST /printers/Officejet_Pro_L7600 HTTP/1.1" 200 423159 Send-Document successful-ok
localhost - - [29/Jul/2013:19:50:37 -0400] "POST /printers/HP-Officejet-Pro-l7600 HTTP/1.1" 200 252 Create-Job successful-ok
localhost - - [29/Jul/2013:19:50:37 -0400] "POST /printers/HP-Officejet-Pro-l7600 HTTP/1.1" 200 28105 Send-Document successful-ok
localhost - - [29/Jul/2013:19:50:38 -0400] "POST / HTTP/1.1" 200 346 Create-Printer-Subscription successful-ok
localhost - - [29/Jul/2013:20:07:55 -0400] "POST /printers/HP-Officejet-Pro-l7600 HTTP/1.1" 200 252 Create-Job successful-ok
localhost - - [29/Jul/2013:20:07:55 -0400] "POST /printers/HP-Officejet-Pro-l7600 HTTP/1.1" 200 27410 Send-Document successful-ok
I will attach a copy of what does print to this post (I cropped it to just what printed).

This is not an emergency. I'm more curious than anything else.

I have also posted this to the forums for my LUG; if I learn anything there, I'll post it back here.
Attached Images
File Type: jpg mageia_print.jpg (34.6 KB, 5 views)
 
Old 07-30-2013, 12:59 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,897

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
The posted random text is Printer Job Language. PJL is an extension to PCL which is the language your printer uses. I can not tell exactly but I would guess the PJL start code is missing or incorrect. It should be Ec%-12345X@PJL where Ec% is the escape code. I'm not sure where to start looking for PJL or filter in cups at the moment.

Last edited by michaelk; 07-30-2013 at 08:59 PM.
 
1 members found this post helpful.
Old 07-30-2013, 08:18 PM   #3
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,728

Original Poster
Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
Thanks, michaelk. Now at least I have something to look for!
 
Old 08-17-2013, 01:18 AM   #4
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
I don't have your hw but have you seen note 8 of
http://hplipopensource.com/hplip-web...pro_l7600.html

which links to
http://hplipopensource.com/node/309
 
Old 08-17-2013, 07:44 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,897

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
If you look at the information box it states none which means a plug in is not required.
 
Old 08-17-2013, 09:02 PM   #6
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,728

Original Poster
Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
Just as an update, no progess so far, but, as I said in my original post, it's a low priority. I'll keep poking at it when time allows.
 
Old 08-18-2013, 03:28 AM   #7
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
ok hope you don't mind a fishing expedition either

since you are have tried to print as a local user, can you print as root?

how about posting the contents of your cupds.conf?
 
Old 08-19-2013, 07:44 PM   #8
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,728

Original Poster
Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
Darn, I should have thought of testing as root. I'll report back tomorrow.
 
Old 08-20-2013, 07:59 PM   #9
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,728

Original Poster
Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
Tested as root, both from Kate and from the command line. No change, output to the error log, access and page logs report successful print job.

When I get a chance sometime later this week, I'll remove the Mageia HPLIP package, test again with without it, then try compiling HPLIP from sources.
 
Old 01-21-2014, 09:29 PM   #10
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,728

Original Poster
Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
I still haven't gotten my printer to work with Mageia, but I did something today that leads me to think that this is a Magiea bug.

I have a VM of PCLinuxOS on the Mageia machine, because I wanted to take a look at that distro. On a whim, I gave it a bridged network connection and was able to install the printer to PCLinuxOS (in the VM) and print a valid test page.
 
Old 05-21-2014, 09:07 PM   #11
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,728

Original Poster
Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
I know this is old, but the problem is, in a manner of speaking, fixed, so here is the rest of the story.

Because of a number of nagging little issues--no serious, but in aggregate irritating--stemming from the on-line version upgrade from v. 3 to v. 4, I wiped the install and installed v.4 from scratch.

The printer now works properly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Mageia 1 Support Terminated, Upgrade to Mageia 2 LXer Syndicated Linux News 0 12-02-2012 08:00 AM
Mageia 2 is out ennael Mageia 12 08-10-2012 08:16 AM
[SOLVED] Can't Boot Mageia 2 after Upgrading from Mageia 1 gdawg Mageia 3 06-24-2012 10:20 AM
Mageia 2 now available floppywhopper Mandriva 7 06-12-2012 10:45 PM
LXer: Open Source: Mageia 1 to Mageia 2 Upgrade LXer Syndicated Linux News 0 05-22-2012 04:30 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration