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 - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-26-2005, 11:53 AM   #16
chstani
Member
 
Registered: Aug 2005
Posts: 42

Original Poster
Rep: Reputation: 15

the question was how i can test my printer (whatever it prints or not) not using CUPS, not using KDE, in text-only mode!!
that why i started new thread!!!!
 
Old 09-26-2005, 01:39 PM   #17
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
First of all, that wouldn't warrant a new thread, you're still trying
to fix the same problem.

There was NO mention of without cups what-so-ever, you just
talked about "without X". To see whether the raw-device
works, try

cat some-text > /dev/your_printers_devicenode




Cheers,
Tink
 
Old 09-26-2005, 02:22 PM   #18
chstani
Member
 
Registered: Aug 2005
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
cat some-text > /dev/your_printers_devicenode
it is newbie forum, what is that "some-text" and "your_printers_devicenode" ??

p.s. i thought "without X" means no desktop environment and no CUPS. i`m newbie...

Last edited by chstani; 09-26-2005 at 02:26 PM.
 
Old 09-26-2005, 02:51 PM   #19
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by chstani
it is newbie forum, what is that "some-text" and "your_printers_devicenode" ??
Any text file, use your /etc/fstab for all I care.
The device node depends on how the printer is hooked up
to the computer. For me it would be /dev/lp0 for my locally
attached parallel printer.

Quote:
Originally posted by chstani
p.s. i thought "without X" means no desktop environment and no CUPS. i`m newbie...
CUPS is a daemon that is run way before X comes into the
picture. The fact that there are GUI tools to set it up doesn't
mean that X is required to run CUPS.



Cheers,
Tink
 
Old 09-26-2005, 03:47 PM   #20
chstani
Member
 
Registered: Aug 2005
Posts: 42

Original Poster
Rep: Reputation: 15
i tried "cat /etc/fstab > /dev/lp0" in terminal from "lp0" to "lp10" and NOTHING!
for some "lp" devices i get "no such device" and for other just nothing. So, still nothing prints!!
i`ve got USB connected printer, so maybe i need something else instead of "lp0"??
 
Old 09-26-2005, 03:51 PM   #21
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Try /dev/usb/lp0 :}

But before you do that - what do you get from an
lsmod
and are there any messages related to your printer
in the output of
dmesg
? Try dmesg | less to page through it.


Cheers,
Tink
 
Old 09-27-2005, 11:37 AM   #22
chstani
Member
 
Registered: Aug 2005
Posts: 42

Original Poster
Rep: Reputation: 15
i typed "lsmod" in terminal and got this:
Quote:
Module Size Used by Not tainted
snd-pcm-oss 36704 0 (unused)
snd-mixer-oss 12152 0 [snd-pcm-oss]
printer 7648 0
yenta_socket 10436 0
pcmcia_core 39172 0 [yenta_socket]
uhci 24284 0 (unused)
usbcore 58860 1 [printer uhci]
snd-es1968 14432 0
gameport 1420 0 [snd-es1968]
snd-ac97-codec 52472 0 [snd-es1968]
snd-pcm 54504 0 [snd-pcm-oss snd-es1968 snd-ac97-codec]
snd-timer 13412 0 [snd-pcm]
snd-mpu401-uart 3200 0 [snd-es1968]
snd-rawmidi 12320 0 [snd-mpu401-uart]
snd-seq-device 3812 0 [snd-rawmidi]
snd 31268 0 [snd-pcm-oss snd-mixer-oss snd-es1968 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc 4712 0 [snd-mixer-oss snd-es1968 snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
soundcore 3396 5 [snd]
eepro100 18836 1
mii 2272 0 [eepro100]
ide-scsi 9392 0
agpgart 45092 0 (unused)

typed "dmesg" and got this:
Quote:
Linux version 2.4.29 (root@midas) (gcc version 3.3.4) #8 Thu Jan 20 16:36:28 PST 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000007ff0000 (usable)
BIOS-e820: 0000000007ff0000 - 0000000007ff3800 (reserved)
BIOS-e820: 0000000007ff3800 - 0000000008000000 (ACPI NVS)
127MB LOWMEM available.
On node 0 totalpages: 32752
zone(0): 4096 pages.
zone(1): 28656 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 COMPAQ ) @ 0x000f9970
ACPI: RSDT (v001 COMPAQ RSDB130 0x00000001 CPQ 0x00000001) @ 0x07ff4800
ACPI: FADT (v001 COMPAQ CPQB10F 0x20020315 CPQ 0x00000001) @ 0x07ff4828
ACPI: DSDT (v001 COMPAQ ARMADAE7 0x00010000 MSFT 0x0100000c) @ 0x00000000
Kernel command line: auto BOOT_IMAGE=Linux ro root=301
Initializing CPU#0
Detected 696.956 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1389.36 BogoMIPS
Memory: 126168k/131008k available (1959k kernel code, 4452k reserved, 649k data, 132k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After generic, caps: 0383f9ff 00000000 00000000 00000000
CPU: Common caps: 0383f9ff 00000000 00000000 00000000
CPU: Intel Pentium III (Coppermine) stepping 03
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ACPI: IRQ9 SCI: Edge set to Level Trigger.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20040326
PCI: PCI BIOS revision 2.10 entry at 0xf0478, last bus=1
PCI: Using configuration type 1
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: System [ACPI] (supports S0 S1 S3 S4bios S4 S5)
ACPI: PCI Root Bridge [C005] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.C005._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.C005.C012._PRT]
ACPI: Power Resource [C13C] (on)
ACPI: Power Resource [C0E5] (on)
ACPI: PCI Interrupt Link [C187] (IRQs *11)
ACPI: PCI Interrupt Link [C18D] (IRQs 11) *0, disabled.
ACPI: PCI Interrupt Link [C18E] (IRQs *11)
ACPI: PCI Interrupt Link [C18F] (IRQs *11)
ACPI: Power Resource [C1A4] (off)
ACPI: Power Resource [C1A6] (off)
ACPI: Power Resource [C1A8] (off)
PCI: Probing PCI hardware
ACPI: PCI Interrupt Link [C187] enabled at IRQ 11
ACPI: PCI Interrupt Link [C18F] enabled at IRQ 11
ACPI: PCI Interrupt Link [C18E] enabled at IRQ 11
PCI: Using ACPI for IRQ routing
PCI: Cannot allocate resource region 4 of device 00:07.1
Limiting direct PCI/PCI transfers.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
ACPI: AC Adapter [C105] (on-line)
ACPI: Battery Slot [C10D] (battery absent)
ACPI: Battery Slot [C10E] (battery absent)
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (CM) [C057]
ACPI: Lid Switch [C1AE]
ACPI: Fan [C1A2] (off)
ACPI: Fan [C1A5] (off)
ACPI: Fan [C1A7] (off)
ACPI: Processor [C0BE] (supports C1 C2, 8 throttling states)
ACPI: Thermal Zone [C1A3] (40 C)
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS02 at 0x03e8 (irq = 4) is a 16550A
Redundant entry in serial pci_table. Please send the output of
lspci -vv, this message (11c1,0445,8086,2203)
and the manufacturer and name of serial board or modem board
to serial-pci-info@lists.sourceforge.net.
register_serial(): autoconfig failed
Real Time Clock Driver v1.10f
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1000-0x1007, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0x1008-0x100f, BIOS settings: hdcio, hddio
hda: HITACHI_DK23AA-12, ATA DISK drive
hdb: CD-224E, ATAPI CD/DVD-ROM drive
blk: queue c03dd8e0, I/O limit 4095Mb (mask 0xffffffff)
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 23579136 sectors (12073 MB) w/512KiB Cache, CHS=1559/240/63, UDMA(33)
hdb: attached ide-cdrom driver.
hdb: ATAPI 24X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 hda3
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 1153.600 MB/sec
32regs : 664.000 MB/sec
pIII_sse : 1406.000 MB/sec
pII_mmx : 1578.000 MB/sec
p5_mmx : 1647.200 MB/sec
raid5: using function: pIII_sse (1406.000 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.8(17/11/2003)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
FAT: bogus logical sector size 0
UMSDOS: msdos_read_super failed, mount aborted.
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,1)) ...
for (ide0(3,1))
ide0(3,1):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 132k freed
Adding Swap: 1958000k swap-space (priority -1)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 94M
agpgart: Detected Intel 440BX chipset
agpgart: AGP aperture is 64M @ 0x50000000
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
eth0: OEM i82557/i82558 10/100 Ethernet, 000:59:11:2C:69, IRQ 11.
Board assembly 98003c-000, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0xdbd8681d).
es1968: clocking to 48000
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
uhci.c: USB UHCI at I/O 0x4020, IRQ 11
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
Yenta ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000006
Yenta ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000006
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
hub.c: new USB device 00:07.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x4b8/0x5) is not claimed by any active driver.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
usb.c: registered new driver usblp
printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0005
printer.c: v0.13: USB Printer Device Class driver
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
lp0: using parport0 (polling).
WHAT SHOULD I SEE IN THAT ALL ??!

P.S.
Quote:
Try /dev/usb/lp0 :}
i tried that already, from lp0 to lp15.
 
Old 09-27-2005, 01:30 PM   #23
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
If that was the entire output from dmesg there's no reference to
a USB printer, only to a parallel port which you aren't using.

Was the printer plugged in and turned on at that boot? If not,
turn it on and run dmesg again, you should then see printer
related messages at the end.

What does lsusb give you?


Cheers,
Tink
 
Old 09-27-2005, 02:05 PM   #24
chstani
Member
 
Registered: Aug 2005
Posts: 42

Original Poster
Rep: Reputation: 15
yep, printer was plugged in and was on all the time (since i turned computer on).

lsusb gives me:
Quote:
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002: ID 04b8:0005 Seiko Epson Corp. Stylus Printer
 
Old 09-27-2005, 03:19 PM   #25
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
OK, so it WAS picked up. Now (having seen lsusbs output)
we can also locate the printer in dmesgs output.

Quote:
i tried that already, from lp0 to lp15.
You hadn't mentioned that.

Next thing to look at would be cups' logfiles, I suppose.
Stop cups.
Delete the logs.
Edit /etc/cups/cupsd.conf, increase the debug level to
debug2
Start cups. Try to print something using the lpr command
from previous posts, look at cups' webinterface (does it
know about your printer?).
Stop cups.
Copy the newly created logs to some other place.
Undo the debuig-level in cupsd.conf and start cups
again.

Look at the saved logs to find out whether there's any
errors.


Cheers,
Tink
 
Old 09-27-2005, 04:46 PM   #26
chstani
Member
 
Registered: Aug 2005
Posts: 42

Original Poster
Rep: Reputation: 15
i`m newbie, i don`t know how to stop CUPS. so i deleted 2 log files from /var/log/cups.
then in /etc/cups/cupsd.conf i didn`t find line "debug level", but i find "LogLevel info", so i changed it to "LogLevel debug2".
then i tried to use command lpr, and i got this:
Quote:
bash-3.00# lpr -P1 /etc/fstab
lpr: error - unable to print file: client-error-not-found
and at the same time in /var/log/cups file error_log is creted. (should i post it, it is huge?!)

using CUPS control center (at KDE controls or in Firefox) - CUPS finds my printer, it`s running, i`m trying to print test page in CUPS control center, is says that "Test page successfully send to printer" and that all, i`m waited a lot, but printer does not print!!
is there a way i can test my printer with this computer, because it will be hard to get Windows CD and resize harddisk and than install it??
 
Old 09-27-2005, 05:26 PM   #27
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You're using vector, right? Since it's a slackware-spawn
chances are that starting/stopping cups can be done using
this:
/etc/rc.d/rc.cups stop
/etc/rc.d/rc.cups start

Posting the entire Log probably wouldn't make sense, look for
lines that begin with an e

egrep -C 3 -i "^e " /var/log/cups/error_log


You can probably post the result of that quite safely.


Cheers,
Tink
 
Old 09-27-2005, 05:53 PM   #28
chstani
Member
 
Registered: Aug 2005
Posts: 42

Original Poster
Rep: Reputation: 15
i`m using Pocketlinux (Slackware based too) with KDE light.

this is part of log (from /var/log/cups/error_log), lines that start with e,
in /etc/cups/cupsd.conf i`ve got "LogLevel debug2"
and after i tried to print text file with command lpr
Quote:
E [28/Sep/2005:01:33:59 +0000] print_job: resource name '/printers/1' no good!
this is part of log (from /var/log/cups/error_log), lines that start with e,
in /etc/cups/cupsd.conf i`ve got "LogLevel info"
and after i tried to print text file with command lpr
Quote:
E [28/Sep/2005:01:36:44 +0000] print_job: resource name '/printers/1' no good!
command lpr:
Quote:
bash-3.00# lpr -P1 /etc/fstab
lpr: error - unable to print file: client-error-not-found
and i did that all as root!

Last edited by chstani; 09-27-2005 at 05:57 PM.
 
Old 09-27-2005, 06:06 PM   #29
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Please do the steps described above again, stop CUPS, up the
loglevel to debug2, start CUPS, run test, ...


Cheers,
Tink
 
Old 09-27-2005, 06:20 PM   #30
chstani
Member
 
Registered: Aug 2005
Posts: 42

Original Poster
Rep: Reputation: 15
i did so!
stopped CUPS, changed to debug2, started CUPS, lpr command
i did all like you said or not ........?
 
  


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
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 04:15 PM
HP PS7150: text doesn't print in OOO and Abiword!, but I can print test page & w MzFF gabba Mandriva 6 10-31-2005 11:10 AM
Can't print to print server (RH8 + LPRng) ivanscheers Linux - Networking 1 10-08-2004 06:37 AM
OfficeJet G85, CUPS Web based Admin test print works, lpr/lp dose not. ptal-print OK. NLR Linux - Hardware 2 09-20-2004 02:59 PM
Mozilla problems: Print/print preview doesn't work, not recording sites in history... andy_g_gray Linux - Software 3 01-23-2004 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:10 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