LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-16-2005, 11:17 AM   #1
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
HP LaserJet 1320 - jobs get cancelled



STATUS: solved (by me)
Solution: I read /var/log/cups/error_log; it suggested I install ESP ghostscript; I search synaptic for "ESP ghostscript", find gs-esp, install it. Still not working, hm.... Here's an idea: /etc/init.d/cupsys restart. That worked; it printed the invoice for my printer (finally ).


Hi.

My shiny new HP LaserJet 1320 (which linuxprinting.org said should "work perfectly"--not that I'm mistaking it for "out of the box") won't print

hrmf.

More precisely, whenever I try to print, say, the test page w. cups, the job shows up as cancelled about the same time I begin it (same symptom for gpdf). I tried printing from Ubuntu Live, too (normally using debian), but no luck.

By accident, I found out that pushing the green button on the printer prints the test page too, and that works (i.e. it's (probably) not a hardware problem).

hpoj manages to detect in when probing usb ports but not on parport, hotplug (I think; in any case something during bootup) managed to find it on the parport.

Since all {usb,parallel} ports are unused save for the printer, I'm quite indifferent to which port I'll end up using.

I have the following ppd: /etc/cups/ppd/LaserJet-Series.ppd (which also happens to be the cups name of the printer). You can read it on http://jonaskoelker.homeunix.org/~jo...Jet-Series.ppd

What can I do to diagnose and cure the problem?

Thanks for your consideration --Jonas

$ uname --all
Linux jonaskoelker.homeunix.org 2.6.8-1-686 #1 Thu Nov 25 04:34:30 UTC 2004 i686 GNU/Linux

$ lsmod
Module Size Used by
usblp 13088 1
parport_pc 36900 1
lp 11176 0
parport 41832 2 parport_pc,lp
ipv6 264612 10
af_packet 22600 2
ide_cd 42656 0
cdrom 40732 1 ide_cd
floppy 61200 0
rtc 12760 0
snd_ens1371 24932 0
8139cp 20672 0
snd_intel8x0 36460 3
snd_ac97_codec 70020 2 snd_ens1371,snd_intel8x0
snd_pcm_oss 55048 0
snd_mixer_oss 20096 1 snd_pcm_oss
snd_pcm 98728 4 snd_ens1371,snd_intel8x0,snd_pcm_oss
snd_timer 25668 2 snd_pcm
snd_page_alloc 11752 2 snd_intel8x0,snd_pcm
snd_mpu401_uart 7968 1 snd_intel8x0
snd_rawmidi 25156 2 snd_ens1371,snd_mpu401_uart
snd_seq_device 8200 1 snd_rawmidi
snd 57156 14 snd_ens1371,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart, snd_rawmidi,snd_seq_device
hw_random 5460 0
ehci_hcd 32004 0
uhci_hcd 33136 0
usbcore 119012 6 usblp,ehci_hcd,uhci_hcd
pciehp 99084 0
shpchp 101996 0
pci_hotplug 34640 2 pciehp,shpchp
intel_mch_agp 10608 0
intel_agp 22816 1
agpgart 34696 2 intel_mch_agp,intel_agp
dm_mod 59804 0
capability 4520 0
commoncap 7232 1 capability
pcspkr 3592 0
8139too 26112 0
mii 5120 2 8139cp,8139too
crc32 4320 2 8139cp,8139too
evdev 9600 0
tsdev 7392 0
mousedev 10476 1
psmouse 20360 0
e1000 85860 0
analog 11968 0
es1371 37440 1
soundcore 10336 3 snd,es1371
gameport 4704 4 snd_ens1371,snd_intel8x0,analog,es1371
ac97_codec 18956 1 es1371
cpuid 3268 0
msdos 9696 0
ntfs 101940 0
reiserfs 247760 6
isofs 37240 0
vfat 14656 0
fat 46784 2 msdos,vfat
ext2 71848 0
ext3 127240 0
jbd 62616 1 ext3
mbcache 9348 2 ext2,ext3
ide_generic 1408 0
ide_disk 19296 8
piix 13440 1
ide_core 139908 4 ide_cd,ide_generic,ide_disk,piix
sd_mod 21696 0
ata_piix 8164 0
libata 41700 1 ata_piix
scsi_mod 125196 2 sd_mod,libata
unix 28692 533
font 8320 0
vesafb 6656 0
cfbcopyarea 3840 1 vesafb
cfbimgblt 3040 1 vesafb
cfbfillrect 3776 1 vesafb

Last edited by jonaskoelker; 08-21-2005 at 06:27 AM.
 
Old 08-16-2005, 08:02 PM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Original Poster
Rep: Reputation: 46
follow-up:

it turns out that lpr will happily send a file to the printer.

I tried a python script--i.e. ascii-only plaintext--as "lpr foo.py"; newlines were treated as vertical tabs (the way they act on microsoft systems), not <carriage-return + vertical tab> (i.e. a proper unix newline).

I also tried sending a .pdf (lpr printer_invoice.pdf), the result was that the paper in the tray was run through the printer, but nothing was printed.

Hmm...

Since I'm new to printing on unix, I haven't got the faintest clue about what info to post; but give me a list, and I'll work on it. If you're curious, I *am* reading the manual, but it's quite a mouthful, and sorting out what's relevant isn't easy for me. If you know of any good highlevel explanation of the key concepts of unix printing, please provide a pointer.

In any case, my original problem hasn't been solved, so any help is still (very much) appreciated.

--Jonas

EDIT: I forgot to mention that I noticed "Hello World from the X11 printing system" written (in bold, italic, non-courier letters) on a recycled test page. I noticed it in connection to printing the python script, but I figure it wasn't part of that job. That tells me that *something* is working right...

Last edited by jonaskoelker; 08-16-2005 at 08:10 PM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing my printer under CUPS - All print jobs get cancelled immediately lowpro2k3 Slackware 6 10-31-2005 02:09 PM
Longhorn Cancelled mickeyboa General 38 07-28-2005 07:16 AM
Laserjet 1320 and samba skota Linux - Hardware 1 06-01-2005 10:00 PM
Printing to Laserjet 1320 via ethernet skota Linux - Hardware 1 05-11-2005 10:55 PM
HP LaserJet Series CUPS v.1.1 - Jobs never print Sloppyunderfoot Red Hat 1 04-29-2005 01:46 AM


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