space in printer name

Forum Windows XP : Windows XP General Discussion - space in printer name

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

 

Hi,

I am trying to capture a printer port in windows xp. I am using the
command
NET USE LPT1: \\SERVER\EPSON COLOUR /PERSISTENT:YES
However, it doesn't like the space in the printer name, does anyone
know how to alter this command so that it can handle the space?

thanks in advance,
Ian

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

 

Ian,

> NET USE LPT1: \\SERVER\EPSON COLOUR /PERSISTENT:YES

simply "quote" it.

NET USE LPT1: "\\SERVER\EPSON COLOUR" /PERSISTENT:YES

Kind regards,
Davide Guolo
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.guolo.com/printfil
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.guolo.com/odbc4all
--------------------------------------------------------------

Reply to Anonymous

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

 

Or you can rename the printer so as to remove the space.


"Davide Guolo" <guolo.NOSPAM.davide@libero.it> wrote in message
news:N7TNd.21389$lB4.580172@twister1.libero.it...
> Ian,
>
>> NET USE LPT1: \\SERVER\EPSON COLOUR /PERSISTENT:YES
>
> simply "quote" it.
>
> NET USE LPT1: "\\SERVER\EPSON COLOUR" /PERSISTENT:YES
>
> Kind regards,
> Davide Guolo
> --------------------------------------------------------------
> Printfil - Windows Printing System for Applications
> http://www.guolo.com/printfil
> Odbc4All - Connection to ODBC Data Sources for any Application
> http://www.guolo.com/odbc4all
> --------------------------------------------------------------
>
>
>

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > space in printer name
Go to:

There are 1076 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them