Announcement

Collapse
No announcement yet.

DOS not working in Windows XP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DOS not working in Windows XP

    I have upgraded to Windows XP and all the print programs do not work.
    I was using Windows 98 when it all worked...
    My code has: open LPT1 for output as #2 and then I write to #2.
    Is there a special coding that I need to use with Windows XP ????
    I hope someone can give me an answer to this because I have a lot of these programs....

    ------------------

  • #2
    I believe printing is not going to start until at least you close the file; and IIRC perhaps not until the process ends.

    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      Try the following:

      NET USE LPT1: \\<server>\<printer>

      (example: NET USE LPT1: \\IO\HP_8000DN_12B56)

      Now try to print to LPT1:, I think you'll see an improvement.

      When you set up a printer under NT (NT/W2K/XP), it asks if you
      want to let DOS programs print to the printer, You should answer
      "YES".

      Comment


      • #4
        Originally posted by John McWilliams:
        When you set up a printer under NT (NT/W2K/XP), it asks if you
        want to let DOS programs print to the printer, You should answer
        "YES".
        FYI, Windows 2000 does not offer that option, so you generally have to use the command-line NET USE method. I'm not sure if XP offers that option either (I'll double-check shortly).




        ------------------
        Lance
        PowerBASIC Support
        mailto:[email protected][email protected]</A>
        Lance
        mailto:[email protected]

        Comment


        • #5
          As per NET USE /? on a WinXP machine I get:

          Code:
          NET USE
          [devicename | *] [\\computername\sharename[\volume] [password | *]]
                  [/USER:[domainname\]username]
                  [/USER:[dotted domain name\]username]
                  [/USER:[[email protected] domain name]
                  [/SMARTCARD]
                  [/SAVECRED]
                  [[/DELETE] | [/PERSISTENT:{YES | NO}]]
          
          NET USE {devicename | *} [password | *] /HOME
          
          NET USE [/PERSISTENT:{YES | NO}]
          So it would appear it would still work.

          ------------------
          Every day I try to learn one thing new,
          but new things to learn are increasing exponentially.
          At this rate I’m becoming an idiot faster and faster !!!
          ------------------
          George W. Bleck
          Lead Computer Systems Engineer
          KeySpan Corporation
          My Email
          <b>George W. Bleck</b>
          <img src='http://www.blecktech.com/myemail.gif'>

          Comment


          • #6
            Confirmed...XP/Pro does not offer the "Allow DOS applications to print with this printer" option either.

            ------------------
            Lance
            PowerBASIC Support
            mailto:[email protected][email protected]</A>
            Lance
            mailto:[email protected]

            Comment

            Working...
            X