Sponsored Content
Full Discussion: Printer (dmesg) error
Operating Systems Linux Slackware Printer (dmesg) error Post 58912 by locustfurnace on Friday 3rd of December 2004 10:33:48 PM
Old 12-03-2004
Printer (dmesg) error

I am setting up a printer for a friend. I've built the box using (Gnu/Linux), Slackware-current, Kernel 2.6.7. I have the same setup. Currently the only way I have access to my friends machine is across the Internet via SSH, so I'm unable to manually check cabling at the moment.
On my Slackware box, printing works fine. CUPSd is not installed on either machines, nor do I plan to use it. The setup, LPRng, is not really in question.

The questionable printer, a Xerox M750, does in fact work under MS Windows 98.
When sent cat somefile > /dev/lp0, the printer just starts blinking but nothing is printed. Same results when sent gs -dSAFER -dNOPAUSE -sDEVICE=pcl3 -sOutputFile=\|lpr file.ps
Looking at the dmesg output produces the lp0 on fire error message, which is not useful.

The only thing I've noticed that was not the same as with my machine, which prints fine, is in the dmesg output.

My box, which prints fine, shows:

parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
parport0: Printer, EPSON STYLUS COLOR II
lp0: using parport0 (polling).
lp0: console ready

The Xerox (non-printing printer box) shows:

parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
parport0: Printer, Xerox DocuPrint M750
lp0: using parport0 (polling).


What's missing is the line lp0: console ready. Plus I noticed the additional line
parport0: irq 7 detected.


My question is just, has anyone seen the absence of lp0: console ready line in their setups, and know what may have caused this? Such as a bad cable or incorrect BIOS port setting, or something else possibly?
I'm thinking it might be a bad cable.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sun dmesg says

Oct 22 13:40:07 snmpdx: community_check() : bad community from Oct 22 13:40:07 snmpdx: session_open() failed for a pdu received from any help? thanks (4 Replies)
Discussion started by: yls177
4 Replies

2. UNIX for Dummies Questions & Answers

dmesg freebsd

hey,i use freeBSD 4.7stable, dmesg returns me a tons of info like: ax R *Handler Int 16 aio_max R *Handler Int 17 aio_prio_delta_max R *Handler Int 18 delaytimer_max R *Handler Int 19 mq_open_max R *Handler Int 20 pagesize R *Handler Int 21 rtsig_max R *Handler Int... (6 Replies)
Discussion started by: hachik
6 Replies

3. UNIX for Dummies Questions & Answers

dmesg error

hi, when i do a "dmesg" command, i saw many of this message appeared. Nov 12 07:00:20 catty graph_ftp: graph_ftp ftp faild it seems like it has some problems with my gftp application? pls tell me what's wrong and how to solve it. thanks alot. (1 Reply)
Discussion started by: champion
1 Replies

4. IP Networking

dmesg error

Oct 8 05:01:48 servername raid: Sense=7000060000000098000000003FD8000000000000000000000000000000000000000000000008380 00000000000000000000000FF0F053154303338343333353320202020202003010300000000000000000000000000000000000000000000000000000... (1 Reply)
Discussion started by: yls177
1 Replies

5. HP-UX

dmesg error ??

Hi all, I have a very weard error message in my dmesg output, and I cannot find the solution in google. Does anyone know what it might be ? Equivalently mapped reserve pool exhausted; Overall application performance may be improved by increasing the "eqmemsize" tunable parameter (currently... (3 Replies)
Discussion started by: davidg
3 Replies

6. Linux

dmesg error

hi all, this is my permenent error.how to clear this error permenently... please help me out. here is my error output. please tell me clearly as i am very new to Linux(beginner) hda: packet command error: status=0x51 { DriveReady SeekComplete Error } hda: packet command error:... (2 Replies)
Discussion started by: rrlog
2 Replies

7. BSD

dmesg giving errors

When running dmesg, the output is a long list of the following: ACPI Error: No object attached to node 0xffffff00016622e0 20090521 exresnte-211 ACPI Error (uteval-0329): Method execution failed (Node 0xffffff00016622e0), AE_AML_NO_OPERAND As a workaround I resort to sysctl, which gives... (0 Replies)
Discussion started by: figaro
0 Replies

8. HP-UX

Dmesg with date possible?

Hi there, I miss date information when executing # dmesg Is it possible to add this a date information to my results of # dmesg ? Best wishes (12 Replies)
Discussion started by: System
12 Replies

9. Red Hat

Dmesg errors

Dear All , Very recently I find there are a lot of I/O errors in our Red HAt Linux Server. Pl find the below end_request: I/O error, dev sdcp, sector 0 sd 7:0:0:32784: SCSI error: return code = 0x00010000 end_request: I/O error, dev sdn, sector 0 sd 7:0:0:33289: SCSI error: return... (7 Replies)
Discussion started by: jegaraman
7 Replies
pac(8)							      System Manager's Manual							    pac(8)

NAME
pac - Outputs printer/plotter accounting information SYNOPSIS
pac [-cmrs] [-p price] [-P printer] [name] FLAGS
Sorts output according to the computed cost instead of alphabetically according to user. Groups all printing charges for the user speci- fied by name, without regard for the host machine from which printing was invoked. The dollar amount charged per unit of output specified by price. The default dollar amount charged is $0.02 per unit. Specifies the printer for which accounting records are produced. Alterna- tively, the system selects the printer named with the PRINTER environment variable, or the default printer lp0. Reverses the sorted order, so that records are listed alphabetically from z to a, or in descending order by computed cost when this flag is used with the -c flag. Writes printer accounting information to a summary file. You must specify the -P flag and printer name (or synonym) when you use this flag. Output is made to a file that is associated with the af entry for the specified printer in the /etc/printcap file. This file is located in the /usr/adm directory. The file name is usually the af accounting file name, with the letters _sum (summary) appended, for example: /usr/adm/lp2acct_sum. Accounting information is in three unheaded columns in the format: pages/feet machinename:username runs DESCRIPTION
When printer accounting is enabled in the /etc/printcap file, and you use the pac command in a shell script or from the standard input, pac outputs printer/plotter accounting records to the standard output for each user of the printer specified with the -P flag and printer name or for users specified with the name parameter. The unit used for printer accounting is the number of pages printed. However, for raster devices (such typesetters, and plotters) length in feet of print medium (film, for example) is the unit used. Output units are expressed both as the number of units used and the charge in dollars according to the price specified with -p flag and price amount per unit. The printer/plotter accounting output has the following column headings and format: Login pages/feet runs price chicken:rcb 19.00 2 $ 0.38 sardine:jmp 22.00 3 $ 0.44 hunch:lucy 53.00 12 $ 1.06 stovetop:suki 1.00 1 $ 0.02 newspaper:myralou 834.00 202 $ 16.68 wimbledon:nhk 69.00 20 $ 1.38 norfolk:sophie 184.00 17 $ 3.68 There are four fields, each with its own column heading, in each record of the default output produced by the pac command: 1) the machine from which the print command was entered and login name is entered in the Login column; 2) the number of pages or feet of paper output is entered in the page/feet column; 3) the number of times the printer was used is entered in the runs column; and 4) the cost computed at the default or specified price is entered in the price column. EXAMPLES
To print printer/plotter accounting information for all users of default printer lp0 to the standard output device, enter: /usr/sbin/pac Output is sorted alphabetically according to machine name and username. The number of printed pages or feet of output paper used and the charge per foot of paper or page is computed at the default dollar amount of $0.02 per page because no flags are specified. To write accounting records for printer printer1 in a summary file, enter the following line as a superuser or as adm: /usr/sbin/pac -Pprinter1 -s Summary information is written to the file /var/adm/printer1acct_sum. To produce accounting information for users lucy, suki and myralou for pages printed on printer putnam408, enter: /usr/sbin/pac -Pputnam408 lucy suki myralou FILES
Specifies the command path Accounting information summary file. Printer information summary file, where printcap symbol af defines the name of the accounting file. RELATED INFORMATION
Commands: acct(8), acctcms(8), acctcom(8), acctcon(8), acctmerg(8), acctprc(8), printcap(4), runacct(8) delim off pac(8)
All times are GMT -4. The time now is 10:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy