[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to print? (Xerox DocuPrint C15)



Hi,

(please, Cc: the answer to me as I'm not on the list)

just got this new brand printer, and I'm trying to get something printed
with it, but never configured a printer before now.

The printer is recognized, as advertised by the relevant parts of dmesg:

  parport0: PC-style at 0x378 [SPP,ECP,ECPEPP,ECPPS2]
  parport0: detected irq 7; use procfs to enable interrupt-driven
  operation.
  parport0: Printer, Xerox DocuPrint C15
  
  lp0: using parport0 (polling).


I had lpr installed, and have just installed several other programs
(Aladdin Ghostscript).  Then went to read the relevant howtos, but I
can't see it clear enough.

I've tried to print a postscript file from 'gv', and also tried a
simpler 'man man | col -b | lpr', but all I get is those jobs in the
spool:

$ lpq
waiting for lp to become ready (offline ?)
Rank   Owner      Job  Files                                 Total Size
1st    horacio    2    /home/horacio/tmp/phakic.ps           496596 bytes
2nd    horacio    5    (standard input)                      23645 bytes

and the status is:

$ lpc status
lp:
	queuing is enabled
	printing is enabled
	2 entries in spool area
	waiting for lp to become ready (offline ?)

Ok, so there must be something I haven't done... sure, I haven't set the
environment variable in .profile.  According to the howtos this should
be set as:

  PRINTER="printer_name"; export PRINTER

Ah, but what's printer_name?  Is it perhaps that I have to make a
symlink in /dev/ to /dev/lp0 (say, /dev/xerox -> /dev/lp0), and then:

PRINTER="xerox"; export PRINTER

or?

Also, I didn't apply any changes to /etc/printcap, so the only
uncommented lines are:

lp|Generic dot-matrix printer entry:\
        :lp=/dev/lp1:\
        :sd=/var/spool/lpd/lp:\
        :df=/etc/filter.ps:\
        :tf=/etc/filter.pcl:\
        :af=/var/log/lp-acct:\
        :lf=/var/log/lp-errs:\
        :pl#66:\
        :pw#80:\
        :pc#150:\
        :mx#0:\
        :sh:

should I then change "Generic" by "xerox"?  And how about the
"dot-matrix" stuff?  My printer is a deskjet!

In case it's of any importance, my /var/spool/lpd/lp/ dir looks:


total 520
   1 drwxrwxr-x   2 root     lp           1024 jul 10 17:47 ./
   1 drwxrwxr-x   5 root     lp           1024 jul 10 16:08 ../
   1 -rw-r----x   1 root     lp              4 jul 10 17:47 .seq
   1 -rw-rw----   1 daemon   lp            102 jul 10 17:15 cfA002AL6s9Ty
   1 -rw-rw----   1 daemon   lp             72 jul 10 17:47 cfA005An49Sei
 488 -rw-rw----   1 horacio  lp         496596 jul 10 17:15 dfA002AL6s9Ty
  25 -rw-rw----   1 horacio  lp          23645 jul 10 17:47 dfA005An49Sei
   1 -rw-r--r--   1 root     root            4 jul 10 17:15 lock
   1 -rw-rw-r--   1 root     root           43 jul 10 17:15 status


where the file lock is a number... meaning?


*Please, send me a Cc: as I am not subscribed*


TIA

-- 
Horacio					Anno MMDCCLIII A.U.C.
hacho@crosswinds.net			Valencia - ESPAÑA
--------------------------------------------------------------------
Key fingerprint = F4EE AE5E 2F01 0DB3 62F2  A9F4 AD31 7093 4233 7AE6


-- 
Horacio					Anno MMDCCLIII A.U.C.
hacho@crosswinds.net			Valencia - ESPAÑA
--------------------------------------------------------------------
Key fingerprint = F4EE AE5E 2F01 0DB3 62F2  A9F4 AD31 7093 4233 7AE6



Reply to: