How to activate Canon Printer (ir3225) for Solaris 9

jgourlay
jgourlay used Ask the Experts™
on
used command "lpadmin -p khccf2pr2 -o protocol=bsd,dest=khccf2pr2 -v /dev/null   -  /usr/lib/lp/model/netstandard -T hplaser -I any"  to configure printing to above printer.

the printer is accepting requests according to solaris but not printing
root@bunna: /> lpstat -t|grep  khccf2pr2
device for khccf2pr2: /dev/null
khccf2pr2 accepting requests since Thu Oct 15 11:13:21 2009
printer khccf2pr2 is idle. enabled since Thu Oct 15 14:06:02 2009. available.
root@bunna: />

the advice received from Canon was configure in same way as our existing HP printers  
(ie. above command)

any advice would be appreciated

 
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
nociSoftware Engineer
Distinguished Expert 2018

Commented:
can you ping to the printer?
Any error messages in lpd logging or in /var/log/* files (=syslog output)?

Author

Commented:
root@bunna: /var/log> more /etc/testprint|lp -d khccf2pr3
request id is khccf2pr3-23663 (standard input)
root@bunna: /var/log> ping khccf2pr2
khccf2pr2 is alive
root@bunna: /var/log>
nociSoftware Engineer
Distinguished Expert 2018

Commented:
in /var/log there is a bunch of files...

 grep lpd *
or
 grep khccf2pr2 *

might reveal more, printing a file from /etc there doesn't show a lot.
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Author

Commented:
no reference to khccf2pr2 in /var/log

more /etc/testprint | lp -d khccf2pr2 is method used to send testprint to any printer
nociSoftware Engineer
Distinguished Expert 2018

Commented:
I understand, btw that should be the same as:    

'lp -d khccf2pr2 /etc/testprint'

Just to be sure:
 grep khccf2pr2 /var/log/*
and
 grep lp /var/log/*

both show up empty? are there any files in /var/log
ls -latr /var/log

At the bottom of that list are the recent files, any output in those w.r.t. to to command just given?



Author

Commented:
no entries relating to print command in syslog
nociSoftware Engineer
Distinguished Expert 2018

Commented:
is there any entry in the /etc/syslog.conf for lpr?

if not you might first need to add:

lpr.info             /var/log/lpr-err
or
lpr.*                 /var/log/lpr-err

(if needed for now: lpr.debug)

(*.info also counts at lpr.info)

Author

Commented:
have now managed to get test print printing however not printing as text
Software Engineer
Distinguished Expert 2018
Commented:
Does the printer maybe expect some PCL in front of the job?
The -I any means all files sent blind through the printing system.

Is the printer setup to print as text when in doubt?

Author

Commented:
was able to configure pcl by browsing to printer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial