Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fetch Remote Print Queue - Windows server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cyberjun
Apprentice
Apprentice


Joined: 06 Nov 2005
Posts: 293

PostPosted: Wed Apr 06, 2011 4:19 am    Post subject: Fetch Remote Print Queue - Windows server Reply with quote

Hi,
I have successfully configured CUPS to use smb backend to print to a Windows domain printer. However while viewing list of completed jobs, it shows only local print jobs submitted by me. Is there any way to see the real print queue (from all users), just like one gets to see when accessing the same printer from within Windows box.

Thanks a lot.

--cyberjun
Back to top
View user's profile Send private message
cyberjun
Apprentice
Apprentice


Joined: 06 Nov 2005
Posts: 293

PostPosted: Mon Apr 18, 2011 5:58 am    Post subject: Reply with quote

Hi,
The rpcclient utility can be used to extract remote job queue information. The following command works:
Quote:
rpcclient -c "enumjobs Printer" -U Domain\\Username PrintServer


In case the printer name contains <SPACE>, use backslash (\) to escape it.

Hope it will be useful for others. It would be great if this command could somehow be integrated with system-config-printer-gnome. Then one will be able to fetch the "real" completed jobs list from remote Windows connected printers.

--cyberjun
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum