Finding default printer's base port

From: Jerry Allaric (dummy.mail_at_microsoft.com)
Date: 11/20/03

  • Next message: Jens.Toerring_at_physik.fu-berlin.de: "Re: Finding default printer's base port"
    Date: Thu, 20 Nov 2003 14:10:57 -0500
    
    

    Hello,

    In old DOS days, one could find the base port address of the default printer
    at memory location 0x408. For instance, the content would be one of 0x378,
    0x278, etc.

    Is there a possibility to read low/bios memory location from within an
    application?
    Is there a Linux specific function to find the default printer base port?

    Thanks.

    PS: I can live without, by harcoding a value into the program, but I was
    curios


  • Next message: Jens.Toerring_at_physik.fu-berlin.de: "Re: Finding default printer's base port"

    Relevant Pages

    • Re: HELP::Redirecting DOS display output to memory location
      ... | redirect dos display output to memory location. ... So you might do better with graphic mode and hooking INT10h, ...
      (alt.lang.asm)
    • Re: Finding default printers base port
      ... > In old DOS days, one could find the base port address of the default printer ... int fd, i; ... Josef Möllers ...
      (comp.os.linux.development.apps)
    • Re: Finding default printers base port
      ... > In old DOS days, one could find the base port address of the default printer ... > Is there a Linux specific function to find the default printer base port? ... If you're writing your own kernel module there's parport_enumerate ... In both cases you can look at the 'base' member of the parport ...
      (comp.os.linux.development.apps)