Announcement

Collapse
No announcement yet.

PB DOS and Printer with Windopws xp

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

  • PB DOS and Printer with Windopws xp

    Hello!
    I have to print from PB DOS programs (.EXE-files) under Windows.
    It was possible with Windows 98/ME/NT.. but it is not possible
    with Windows XP.

    The statements:
    OPEN "O", #1, "LPT1:"
    PRINT #1, " ......ASCII-Zeichen"
    ....
    CLOSE

    Can I get any help?
    Thank you.

    ------------------
    Klaus

  • #2
    Check out Lance's DOSPRINT library. It should do what you want.
    I believe there is a demo that can be downloaded from www.dosprint.com If Lance is listening, I am sure he can give
    many more details.

    Tnx,
    Gary Stout

    ------------------
    Thanks,
    Gary Stout
    gary at sce4u dot com

    Comment


    • #3
      Thanks for the plug Gary!

      In a nut shell, DOSPRINT works by translating Epson Escape codes into a real Windows print job (Windows 95 or better must be running), enabling a DOS application to be able to print to any printer that has a printer driver installed, regardless of whether it is a Windows-only, PCL, ESP, STar, IBM, Parallet, USB, Serial, network, or something elase completely.

      With DOSPRINT, your program only needs to use ESC/P or ESC/P2 escape codes to print to virtually any printer...

      A complete functional demo can be obtained from the web site at www.dosprint.com

      I hope this helps!

      PS: Your Windows XP problem (assuming the printer is DOS-compatible) sounds like you might just need to capture the LPT port using the command-line NET command:
      Code:
      NET USE LPT1 \\networkname\printername /persistent:yes
      However, if your printer is not DOS-compatible, then give DOSPRINT a try... you might be surprised how easy it can be.

      Did I mention that DOSPRINT includes a Print Preview mode too?

      Thanks!

      Regards,
      Lance
      www.dosprint.com
      Lance
      mailto:[email protected]

      Comment


      • #4
        Hello Gary, hello Lance,

        thank you for the massages. I have downloaded the demo of
        PRINTDOS and it works very well.
        I think that may be the solution for my problem.

        Thanks!


        ------------------
        Klaus

        Comment


        • #5
          You could use the "RGH Printing System" by Roland G. Hülsmannwhich can be downloaded for free at Roland's homepage www.profan.de .
          You can find an app example with QBasic on my own homepage www.qbasic.de following "Download -> Sonstiges" .

          Goss Success

          ------------------
          +++ www.qbasic.de - Hottest QBasic Stuff on Earth +++

          Comment

          Working...
          X