Jump to content
Muxe Inc Forums
Sign in to follow this  
Avchent

Print file (send to network printer) ?

Recommended Posts

Avchent    0

Hi there!

 

How can I send text file to network printer ?

Is it possible to print text file with F5 - copy file to PRN or LPT1 or something like that?

 

I saw NDN has "Ctlr+F9print" combination. I pressed that but nothing happend.

Share this post


Link to post
Share on other sites

hi av!

 

partial answer: http://forums.muxe.com/index.php?showtopic=625

 

i don't know if LPT1 or PRN works, as i never used that

(NUL doesn't work)

 

try it and let me know if it works

(no need to post if it doesn't work)

 

Stefan / AH

 

PS: LPT1/PRN should be supported, i think it once worked before in an older version too

and there's code in the file copy code for this too

but i have never tested it

Share this post


Link to post
Share on other sites
ve2    0

What about printing raw data (files) to network printers under win32?

I'm testing v2.30.6882 (08-09-2007) on windows xp. Printing still not work!

 

This is very useful feature! No other windows application give ability to send raw file to network printer.

(I know only FAR manager with this support, but FAR is not FreeWare since 1.61 version).

I think, most DND users use one on Windows platform today, and printing is very necessary operation.

 

Why W32 printing still not implemented?

 

Share this post


Link to post
Share on other sites

Hi!

 

From the todo:

 

W32/D32/LNX/OS2/VIRTUAL PASCAL COMPATIBILITIES:

* LNX/W32: printing

 

Why?

Because I never used it and it is no critical operation.

And I don't have a printer.

 

If the demand for this is big enough I could give it a try for the next release(s).

 

Stefan / AH

Share this post


Link to post
Share on other sites
Zaimskih    0
Hi there!

 

How can I send text file to network printer ?

Is it possible to print text file with F5 - copy file to PRN or LPT1 or something like that?

 

I saw NDN has "Ctlr+F9print" combination. I pressed that but nothing happend.

 

Look at my NDN.MNU file (_PORTR1.PRN, _PORTR2.PRN, _ALBOM1.PRN, _ALBOM2.PRN, _EPSON.PRN are files with printer's control symbols)

(I can not upload: Upload failed. Please ask the administrator to ensure the uploads directory is available):

 

; Dos Navigator Menu file

 

>1 Print File

>2 LPT1

>3 Single Side

>4 "Portrate " █

COPY /b C:\NDN\_PORTR1.PRN + "!:!\!.!" LPT1

>4 "Landscape" ▄▄

COPY /b C:\NDN\_ALBOM1.PRN + "!:!\!.!" LPT1

>3 Duplex

>4 "Portrate " █

COPY /b C:\NDN\_PORTR2.PRN + "!:!\!.!" LPT1

>4 "Landscape" ▄▄

COPY /b C:\NDN\_ALBOM2.PRN + "!:!\!.!" LPT1

>2 LPT2

>3 Room 103

>4 Single Side

>5 "Portrate " █

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1039\HP1300_103 /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_PORTR1.PRN + "!:!\!.!" LPT2

>5 "Landscape" ▄▄

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1039\HP1300_103 /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_ALBOM1.PRN + "!:!\!.!" LPT2

>4 Duplex

>5 "Portrate " █

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1039\HP1300_103 /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_PORTR2.PRN + "!:!\!.!" LPT2

>5 "Landscape" ▄▄

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1039\HP1300_103 /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_ALBOM2.PRN + "!:!\!.!" LPT2

>3 Room 104

>4 Single Side

>5 "Portrate " █

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1047\HPLaserJ /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_PORTR1.PRN + "!:!\!.!" LPT2

>5 "Landscape" ▄▄

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1047\HPLaserJ /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_ALBOM1.PRN + "!:!\!.!" LPT2

>4 Duplex

>5 "Portrate " █

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1047\HPLaserJ /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_PORTR2.PRN + "!:!\!.!" LPT2

>5 "Landscape" ▄▄

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1047\HPLaserJ /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_ALBOM2.PRN + "!:!\!.!" LPT2

>3 Room 105

>4 Single Side

>5 "Portrate " █

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1051\HPLaserJ /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_PORTR1.PRN + "!:!\!.!" LPT2

>5 "Landscape" ▄▄

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1051\HPLaserJ /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_ALBOM1.PRN + "!:!\!.!" LPT2

>4 Duplex

>5 "Portrate " █

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1051\HPLaserJ /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_PORTR2.PRN + "!:!\!.!" LPT2

>5 "Landscape" ▄▄

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1051\HPLaserJ /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_ALBOM2.PRN + "!:!\!.!" LPT2

>3 Room 137

>4 Single Side

>5 "Portrate " █

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\ASU-SERV\Laser_RO /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_PORTR1.PRN + "!:!\!.!" LPT2

>5 "Landscape" ▄▄

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\ASU-SERV\Laser_RO /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_ALBOM1.PRN + "!:!\!.!" LPT2

>4 Duplex

>5 "Portrate " █

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\ASU-SERV\Laser_RO /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_PORTR2.PRN + "!:!\!.!" LPT2

>5 "Landscape" ▄▄

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\ASU-SERV\Laser_RO /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_ALBOM2.PRN + "!:!\!.!" LPT2

>3 Room 141

>4 Single Side

>5 "Portrate " █

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1411\HPLaserJDOS /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_PORTR1.PRN + "!:!\!.!" LPT2

>5 "Landscape" ▄▄

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1411\HPLaserJDOS /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_ALBOM1.PRN + "!:!\!.!" LPT2

>4 Duplex

>5 "Portrate " █

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1411\HPLaserJDOS /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_PORTR2.PRN + "!:!\!.!" LPT2

>5 "Landscape" ▄▄

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\WS1411\HPLaserJDOS /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_ALBOM2.PRN + "!:!\!.!" LPT2

>3 Room 143

>4 Single Side

>5 "Portrate " █

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\ASU-SERV\Laser_MO /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_PORTR1.PRN + "!:!\!.!" LPT2

>5 "Landscape" ▄▄

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\ASU-SERV\Laser_MO /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_ALBOM1.PRN + "!:!\!.!" LPT2

>4 Duplex

>5 "Portrate " █

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\ASU-SERV\Laser_MO /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_PORTR2.PRN + "!:!\!.!" LPT2

>5 "Landscape" ▄▄

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\ASU-SERV\Laser_MO /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_ALBOM2.PRN + "!:!\!.!" LPT2

>3 Room 205

>4 Single Side

>5 "Portrate " █

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\ASU-SERV\LaserASU /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_PORTR1.PRN + "!:!\!.!" LPT2

>5 "Landscape" ▄▄

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\ASU-SERV\LaserASU /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_ALBOM1.PRN + "!:!\!.!" LPT2

>4 Duplex

>5 "Portrate " █

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\ASU-SERV\LaserASU /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_PORTR2.PRN + "!:!\!.!" LPT2

>5 "Landscape" ▄▄

@CLS

@NET USE LPT2 /Delete

@NET USE LPT2 \\ASU-SERV\LaserASU /Persistent:Yes

@NET USE LPT2

COPY /b C:\NDN\_ALBOM2.PRN + "!:!\!.!" LPT2

>2 LPT3

>3 Matrix Printer :▓▓:

COPY /b C:\NDN\_EPSON.PRN + "!:!\!.!" LPT3

>3 Single Side

>4 "Portrate " █

COPY /b C:\NDN\_PORTR1.PRN + "!:!\!.!" LPT3

>4 "Landscape" ▄▄

COPY /b C:\NDN\_ALBOM1.PRN + "!:!\!.!" LPT3

>3 Duplex

>4 "Portrate " █

COPY /b C:\NDN\_PORTR2.PRN + "!:!\!.!" LPT3

>4 "Landscape" ▄▄

COPY /b C:\NDN\_ALBOM2.PRN + "!:!\!.!" LPT3

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×