Results 1 to 2 of 2

Thread: Net Use LPT1: command - Help!

  1. #1
    Eric Guest

    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


  2. #2
    Alan Morris [MSFT] Guest

    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
    >




Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,145,517.57609 seconds with 17 queries