[geeks] Add a Logical printer?
jjj at io.com
Thu Jun 10 18:41:24 CDT 2010
On Jun 10, 2010, at 3:14 PM, gsm at mendelson.com wrote:
> On Thu, Jun 10, 2010 at 02:39:59PM -0700, Jon Gilbert wrote:
>> On XP how do you add a logical printer from the command line? Thanks,
> net use lpt1 \\server\queue (usual options)
> It does not have to be lpt1, and the colon is optional as in lpt2:
> or lpt3.
> I think it only works with SMB printers. Note that the Home versions
> of Windows accept user names on the command line and ignore them.
> Only the Professional versions use them. That's why samba has the
> smbusers file.
> you could try an IPP printer but I don't think it works, as in:
> net use lpt1: http://server:631/printers/printername/.printer or
> net use lpt1: ipp://server:631/printers/printername/.printer or
So for a USB printer sub in usb1: for lpt1:
Also I am guessing that you substitute "server" with the machine's name?
Also can you list current logical printers from cmd line? Thanks alot!
More information about the geeks