Changes in / [7009a01:ba4e2fe]
- Location:
- client/bin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
client/bin/gbq
r0d02eca r9fdf4a1 37 37 my $printer = $cups->getDestination("$queue"); 38 38 39 unless( $printer){ 40 print "Cannot access queue $q...do you have network connectivity and permission to view the queue?\n"; 41 exit 1; 42 } 39 43 print "Queue listing for queue '$queue' on '$host'\n\n"; 40 44 print "Job ID\t\tOwner\t\tTitle\n"; -
client/bin/gbr
r0d02eca r9fdf4a1 38 38 $cups->setServer("$host"); 39 39 my $printer = $cups->getDestination("$queue"); 40 unless( $printer){ 41 print "Cannot access queue $q...do you have network connectivity and permission to view the queue?\n"; 42 exit 1; 43 } 40 44 my ($jobid, $title); 41 45 … … 52 56 my $magic = $fileinfo->{FileType}; 53 57 54 if ($magic ) {58 if ($magic && exists($fileinfo->{Title}) && exists($fileinfo->{Artist}) && exists($fileinfo->{Album})) { 55 59 $title = $fileinfo->{'Title'}." - ".$fileinfo->{'Artist'}." - ".$fileinfo->{'Album'}; 56 60 } -
client/bin/gbrm
r0d02eca r9fdf4a1 37 37 $cups->setServer("$host"); 38 38 my $printer = $cups->getDestination("$queue"); 39 unless( $printer){ 40 print "Cannot access queue $q...do you have network connectivity and permission to view the queue?\n"; 41 exit 1; 42 } 39 43 my @jobs = $printer->getJobs(0, 0); 40 44
Note: See TracChangeset
for help on using the changeset viewer.