It sounds like it might be trying to contact a remote print server. Do
you have any remote queues configured in /etc/printers.conf or
~/.printers ? You might try turning on 'lpr.debug' in the syslog and
looking at the log, though I don't recall that there is a whole lot of
logging in the commands.

-Norm

Yandong Yao wrote:
> Hi guys,
>
> I just configure my HP photosmart c7188 printer(I have not found PPD
> for c7188, so I use another one), and it works (can print ASCII, ps),
> but when I just type 'lpstat' in the terminal, it will not terminate
> for very long time until I kill it. Is there any way to know what
> lpstat is doing except truss?
>
> Besides 'lpstat -p queue -l 2' can work successfully.
>
> *[root at yydzero:ppd]$* lpstat -d
> system default printer: hpc7188
> *[root at yydzero:ppd]$* lpstat -p hpc7188 -l 2
> printer hpc7188 idle. enabled since Mon Aug 27 15:57:41 2007. available.
>
> printer-name=hpc7188
> printer-uri-supported=lpsched://localhost/printers/hpc7188
> job-sheets-supported=none
> document-format-supported=application/postscript
> printer-info=test for hp c7188
> device-uri=/dev/null
> lpsched-interface-script=/usr/lib/lp/model/netstandard_foomatic
> lpsched-login-term=false
> lpsched-daisy=false
> lpsched-options=dest=192.168.1.103:9100,protocol=tcp
> lpsched-printer-type=unknown
> lpsched-fault-alert-command=write root
> lpsched-fault-alert-threshold=1
> lpsched-fault-alert-interval=0
> lpsched-cpi-value=0
> lpsched-cpi-unit=0
> lpsched-lpi-value=0
> lpsched-lpi-unit=0
> lpsched-plen-value=0
> lpsched-plen-unit=0
> lpsched-pwid-value=0
> lpsched-pwid-unit=0
> ppd-file-uri=file://yydzero/etc/lp/ppd/hpc7188.ppd
> lpsched-printer-configure-ppd-uri=file://yydzero/usr/share/ppd/SUNWfoomatic/HP/HP-LaserJet_6-hpijs.ppd.gz
> lpsched-ppd-source-path=/usr/share/ppd/SUNWfoomatic/HP/HP-LaserJet_6-hpijs.ppd.gz
> printer-make="HP"
> printer-model="HP LaserJet 6"
> printer-make-and-model="HP LaserJet 6 hpijs"
> PrintoutMode-default=Normal
> PrintoutMode-supported=Draft,Normal,High
> media-default=Letter
> media-supported=Letter,A4,Photo,3x5,5x8,A5,A6,B5JIS,Env10,EnvC5,EnvC6,EnvDL,EnvISOB5,EnvMonarch,Executive,FLSA,Hagaki,Legal,Oufuku,w558h774,w612h935
> PageRegion-default=Letter
> PageRegion-supported=Letter,A4,Photo,3x5,5x8,A5,A6,B5JIS,Env10,EnvC5,EnvC6,EnvDL,EnvISOB5,EnvMonarch,Executive,FLSA,Hagaki,Legal,Oufuku,w558h774,w612h935
> lpsched-disable-reason=new printer
> lpsched-disable-date=Mon Aug 27 15:57:41 CST 2007
> lpsched-reject-reason=new destination
> lpsched-reject-date=Mon Aug 27 15:57:41 CST 2007
> printer-current-time=Mon Aug 27 18:01:24 CST 2007
> printer-up-time=1188208884
> printer-state=3
> printer-is-accepting-jobs=true
> printer-is-processing-jobs=true
> printer-state-reasons=none
> multiple-document-jobs-supported=true
> multiple-document-handling-supported=seperate-documents-colated-copies
> pdl-override-supported=not-attempted
> job-priority-supported=40
> job-priority-default=20
> copies-supported=1-65535
> copies-default=1
> page-ranges-supported=true
> number-up-supported=1
> number-up-default=1
> job-hold-until-supported=no-hold,indefinite
> job-hold-until-default=no-hold
> document-format-default=application/octet-stream
>
> *[root at yydzero:ppd]$*
>
>
> Thank you in advance.
>
> Regards,
> Yandong
> ------------------------------------------------------------------------
>
> _______________________________________________
> printing-discuss mailing list
> printing-discuss at opensolaris.org
>   


Reply via email to