C
cyber sana
Dear all,
I use the same statement and can find printservice in windows.
However I cannot find any printer/printservice when use the same code
in Centos
PrintService[] pservices =
PrintServiceLookup.lookupPrintServices(null, null);
System.out.println("pservices.length: " + pservices.length);
-> the pservices.length return zero in centos
but i already added two printer (same physical printer) in centos and
can printout something.
device for HP3010Local: smb://ABC.COM/192.168.5.10/HPLJ3010
Any method to trace why there is no printservice exist ?
Thanks.
I use the same statement and can find printservice in windows.
However I cannot find any printer/printservice when use the same code
in Centos
PrintService[] pservices =
PrintServiceLookup.lookupPrintServices(null, null);
System.out.println("pservices.length: " + pservices.length);
-> the pservices.length return zero in centos
but i already added two printer (same physical printer) in centos and
can printout something.
device for HP3010: smb://ABC.COM/HP_Server/HPLJ3010/usr/bin/lpstat -v
device for HP3010Local: smb://ABC.COM/192.168.5.10/HPLJ3010
Any method to trace why there is no printservice exist ?
Thanks.