Main Menu

KB#00502-Printer alias lines are restricted to writes only

Title:

Printer alias lines are restricted to writes only

Description:

Printer alias lines are restricted to writes only--PRO/5 cannot open an alias to the printer and then read and write to the printer. If it is necessary to read from the printer, the channel must be opened to the device itself instead of the alias that refers to the device. 

For example: 
>open(1)"LP" 
>read(1)a$ <= this will give an error 13 

- but - 

>open(1)"/dev/lpt1" 
>read(1)a$ <= this will work as long as the printer will report information back 



Last Modified: 02/23/2004 Product: PRO/5 Operating System: All platforms

BASIS structures five components of their technology into the BBx Generations.

View BASIS LinkedIN Profile Visit our Twitter Feed Check out our Facebook Public Profile Click to View the BASIS youTube channel