Go Back   TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Net Use LPT1: command - Help!

Windows XP Support


Reply
 
Thread Tools Search this Thread
  #1  
Old 17-01-2008
Eric
 
Posts: n/a
Net Use LPT1: command - Help!

We are mapping a DOS program to use LPT1 printing from a windows XP
workstation through a Windows 2003 server. The mapping is working, the print
jobs are going through to the printer from the server. We are using the
generic/text driver and in the "Begin Print Job" field putting in the PCL
code for a tray call. When sending a Test Page down to the printer from the
driver on the server the test page prints from the correct tray. After
mapping the LPT port using NET USE LPT1: \\servername\printername
/persistent:yes the dos program prints to the device but does not pull from
the correct tray. It pulls the paper from the default tray designated in the
printer. Does the NET USE command bypass the driver settings all together or
is it possible for the print job to use the Driver Default settings...both
under the "Printing Preferences" and under the advanced tab "printing
defaults" all have been selected to go to the correct tray when using the
PCL5e driver and that did not fix it either..thanks


Reply With Quote
  #2  
Old 18-01-2008
Alan Morris [MSFT]
 
Posts: n/a
Re: Net Use LPT1: command - Help!

Your just sending raw data from the DOS application. It's not using any
windows driver settings.

There might be a 3rd party application that could send this data. There's
someone who regular posts information about printing from DOS applications.
Check some of the other posts for information about that product. Unsure
what it does or if it would meet your needs.

You do not have to have any printers nor print drivers installed to send
data to a mapped LPT port.
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/search/?adv=1

This posting is provided "AS IS" with no warranties, and confers no rights.

"Eric" <Eric@discussions.microsoft.com> wrote in message
news:1664C272-F369-4C09-9E5D-0AE4B29E6697@microsoft.com...
> We are mapping a DOS program to use LPT1 printing from a windows XP
> workstation through a Windows 2003 server. The mapping is working, the
> print
> jobs are going through to the printer from the server. We are using the
> generic/text driver and in the "Begin Print Job" field putting in the PCL
> code for a tray call. When sending a Test Page down to the printer from
> the
> driver on the server the test page prints from the correct tray. After
> mapping the LPT port using NET USE LPT1: \\servername\printername
> /persistent:yes the dos program prints to the device but does not pull
> from
> the correct tray. It pulls the paper from the default tray designated in
> the
> printer. Does the NET USE command bypass the driver settings all together
> or
> is it possible for the print job to use the Driver Default settings...both
> under the "Printing Preferences" and under the advanced tab "printing
> defaults" all have been selected to go to the correct tray when using the
> PCL5e driver and that did not fix it either..thanks
>



Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Net Use LPT1: command - Help!"
Thread Thread Starter Forum Replies Last Post
How to remap LPT1 for HP Printer on Windows 7 UselessGuy Portable Devices 5 24-12-2010 08:13 AM
Dongle Problem with windows XP SP2 using LPT1 serial port Rafftar Hardware Peripherals 3 15-10-2010 02:47 AM
USB to 25pin LPT1 adpater? Bora Bora Hardware Peripherals 3 10-03-2009 03:05 PM
Printing - Port Capture of LPT1 Nadeem Windows XP Support 4 05-02-2009 07:18 AM
Using Net use LPT1 command Hasit Windows XP Support 1 17-01-2008 05:24 AM


All times are GMT +5.5. The time now is 10:44 PM.