VOGONS


First post, by Dule_eluD

User metadata
Rank Newbie
Rank
Newbie

Printing (sigh!)

Before I post this, I followed the instructions on that thread, but no luck 🙁

My program supports only LPT1 so I put this line in the config:
parallel1=file dev:LPT1

next, I put in this line in cmd, before launching MB6:
net use lpt1 \\PCName\PrinterName /persistent:yes

but it didn't work, it just issued instructions on how the command works...
Any idea on why that is happening? I'm on win7

and one last Q, is there any way to automate the second line? DosBox doesn't ever recognize the command.

Reply 1 of 8, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

That part is more a Windows problem than a DOSBox one.

Last Q: the /persistent:yes tells it to always map the printer that way at system start.

1+1=10

Reply 2 of 8, by Dule_eluD

User metadata
Rank Newbie
Rank
Newbie

So any other ideas how to print with an USB printer ?
Is dosprn any usefull? it works if I open the program with cmd, but I need it to be fullscreen.

Reply 4 of 8, by Dule_eluD

User metadata
Rank Newbie
Rank
Newbie

Yeah, I thought of that, but unfortunately it ain't an option...

Reply 5 of 8, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
Dule_eluD wrote:

net use lpt1 \\PCName\PrinterName /persistent:yes

but it didn't work, it just issued instructions on how the command works...

This is indeed more of a Windows problem. Maybe you're mistyping something somehow? Is there a line at the top of the instructions saying "the syntax is unknown" ? What do you get if you just type "net use" ?

Reply 6 of 8, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

If you are running XP you need the "sharing folders and printers" service under network configuration.

Reply 7 of 8, by Dule_eluD

User metadata
Rank Newbie
Rank
Newbie

If I was running XP I wouldn't hae this problem...
Would've ran the app from cmd...

Reply 8 of 8, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

Can you try a workaround? Printing to a file (PCL or Postscript or whatever PDL your printer supports [or to a bitmap format, but you will need to convert it to PDL]) and then sending that file to your physical printer using GoPlot Plus

GoPlot Plus is free, btw.